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
2 changed files with 8 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue