Commit 8f9f8d71 by Fernando Nasser Committed by Fernando Nasser

TestAWT.java (DialogWindow): Make text not visible so that dialog can be reused.

        * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
        visible so that dialog can be reused.

From-SVN: r76160
parent 2194d821
2004-01-19 Fernando Nasser <fnasser@redhat.com>
* gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
visible so that dialog can be reused.
2004-01-19 Fernando Nasser <fnasser@redhat.com>
* java/awt/EventQueue.java (getCurrentEvent): Consider that system
events may be handled by any queue in the stack.
......
......@@ -272,6 +272,7 @@ class DialogWindow extends Dialog implements SubWindow
public void windowClosing (WindowEvent e)
{
System.out.println ("Window Closing");
text.setVisible (false);
hide ();
}
});
......@@ -305,7 +306,8 @@ class DialogWindow extends Dialog implements SubWindow
cb.addActionListener(new ActionListener () {
public void actionPerformed (ActionEvent e)
{
dispose();
text.setVisible (false);
hide();
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment