wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes default button in swt dialogs always to the right Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "default button in swt dialogs always to the right" Watch "default button in swt dialogs always to the right" New topic
Author

default button in swt dialogs always to the right

sathya tej
Greenhorn

Joined: Dec 08, 2011
Posts: 2
Why is it that the default button(say OK / CANCEL) in swt dialogs are always shown on the rightmost part of the dialog?
can this behaviour be overridden?
can we align the interchange the button positions?
sathya tej
Greenhorn

Joined: Dec 08, 2011
Posts: 2
This happens on solaris and linux platforms. Its fine on windows.
Someone kindly suggest any workaround for this behaviour.
Thanks.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: default button in swt dialogs always to the right