I'm porting an application originally written to use swing and I have a problem with modal dialogs.
This will create my dialog window inherited from com.smartgwt.client.widgets.Window
Is there any possibility to wait until buttton is pressed before go forward and assign the "result"? The original app has lots of such calls and it will be too painfull to rewrite the logic to be based on events.
thanks before
Code:
String result = String.valueOf(MOptionPane.showMessageDialog(null, "Show message test", "Title Test", MOptionPane.INFO_TYPE, MOptionPane.YES_NO_CANCEL_BUTTONS));
Is there any possibility to wait until buttton is pressed before go forward and assign the "result"? The original app has lots of such calls and it will be too painfull to rewrite the logic to be based on events.
thanks before
Comment