|
Re: Setting dialog title [message #774509 is a reply to message #772387] |
Wed, 04 January 2012 03:54 |
|
I think if you try a different approach like this it might work: instead setting the text, and minimum size in the AccountDialog() constructor first create a new instance like this myAccountDlg = new AccountDialog(Display.getCurrent().getDisplay()); then you need to call first myAccountDlg.create() once you do that to set the dialog window text which I think you are trying to do you can call myAccountDlg.getShell().setText("Create Account") and do the same for setMinimuimSize() the key part is calling create() method first. Try that, hope it helps. - Duncan
[Updated on: Wed, 04 January 2012 03:55] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03416 seconds