Thread: SWT login form
View Single Post
  #5 (permalink)  
Old 09-07-2009, 04:14 PM
Alexandra Alexandra is offline
Member
 
Join Date: Sep 2009
Posts: 1
Rep Power: 0
Alexandra is on a distinguished road
Post You only need one line of code for...
For having the "login" button as the default button you need just this line:
Code:
shell.setDefaultButton(loginButton);
Greetings
Alexandra.
Reply With Quote