Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » listener : solved
listener : solved [message #49715] Sat, 09 April 2005 07:14
Eclipse UserFriend
Originally posted by: problem.solved.forNow

hi-

i used this code. now i can run any query against any db in the database
entering sql in a text control and displaying the result in a table control
after i push a button.
i am scamming this code and will give credit to the author(s).
once in awhile i have to make a change here or there.

final Button testButton = new Button(shell,SWT.PUSH);
testButton.addSelectionListener(new SelectionListener(){
public void widgetSelected(SelectionEvent e){
System.out.println("go to bed");

}
public void widgetDefaultSelected(SelectionEvent e){

}
});


i found this link someone else posted and it is a huge help.
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-
home/dev.html#snippets


thanks everyone,
jim
Previous Topic:error message with listener
Next Topic:Improve C# Plugin, how to supply command line parameters to Mono mcs.exe
Goto Forum:
  


Current Time: Fri Dec 27 02:05:24 GMT 2024

Powered by FUDForum. Page generated in 0.07306 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top