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