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:
parent
2194d8219f
commit
8f9f8d71c7
@ -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
|
||||
|
@ -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();
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user