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
This commit is contained in:
Fernando Nasser 2004-01-19 17:32:29 +00:00 committed by Fernando Nasser
parent 2194d8219f
commit 8f9f8d71c7
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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();
}
});