[Java-gnome-developer] dialog problem
Brought to you by:
afcowie
From: M. <li...@so...> - 2006-06-29 12:39:50
|
Hi, I've the following code, that displays an error dialog. The problem is that when OK is clicked nothing happens. My guess is that I somehow should connect a listener to the OK button but how ?? final MessageDialog dialog = new MessageDialog(window, DialogFlags.MODAL,MessageType.ERROR, ButtonsType.OK, text, true); dialog.setTitle("Error"); dialog.run(); /Soren |