Commit 81c740ba by Fernando Nasser Committed by Fernando Nasser

TestAWT.java (DialogWindow): Add WindowAdapter to handle Window "Closing" events.

        * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
        to handle Window "Closing" events.

From-SVN: r75813
parent dfa849f3
2004-01-12 Fernando Nasser <fnasser@redhat.com>
* gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
to handle Window "Closing" events.
2004-01-13  David Jee  <djee@redhat.com>
* gnu/java/awt/peer/gtk/GtkContainerPeer.java
......
......@@ -266,6 +266,15 @@ class DialogWindow extends Dialog implements SubWindow
super (f, true);
this.parent = f;
addWindowListener (new WindowAdapter ()
{
public void windowClosing (WindowEvent e)
{
System.out.println ("Window Closing");
hide ();
}
});
}
public void setVisible (boolean visible)
......
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