1 |
/* GtkDialogPeer.java -- Implements DialogPeer with GTK |
/* GtkDialogPeer.java -- Implements DialogPeer with GTK |
2 |
Copyright (C) 1998, 1999 Free Software Foundation, Inc. |
Copyright (C) 1998, 1999, 2002 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
67 |
|
|
68 |
public void handleEvent (AWTEvent event) |
public void handleEvent (AWTEvent event) |
69 |
{ |
{ |
70 |
int id = event.getID(); |
// int id = event.getID(); |
71 |
|
|
72 |
if (id == WindowEvent.WINDOW_CLOSING) |
// if (id == WindowEvent.WINDOW_CLOSING) |
73 |
System.out.println ("got a closing event"); |
// System.out.println ("got a closing event"); |
74 |
} |
} |
75 |
|
|
76 |
} |
} |