This is how I use OpenMap
public class SCSeaWatch {
public SCSeaWatch() {
MapHandler mapHandler = new MapHandler();
omFrame = new OpenMapFrame(p.getProperty("WINDOW_NAME"));
mapHandler.add(omFrame);
mapBean = new MapBean();
mapBean.setBorder(new BevelBorder(BevelBorder.LOWERED));
mapHandler.add(mapBean);
...
}
...
}
Which work fine, however I don't want the application to quit right away
when user click on the close (cross button). How can I achive this ? I try a
naughty way to edit the code of OpenMapFrame to insert a confirm dialog when
user click on "close", it bring up the confirm dialog, however if I choose
"No", the application still run (I see the process still run) but the window
disappear, so oviously there are code else where for the WindowEvent
Please help,
thanks
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Wed Aug 27 03:29:15 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:36 EDT