jframe

hii need to disable the closing event of my frame..what should i do ..help
[102 byte] By [deepak_cuceka] at [2007-11-27 3:11:19]
# 1
i write the code like thisframe.setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);but an error occured can not find symbol DO_NOTHING_ON_CLOSEis there any thing i need to import
deepak_cuceka at 2007-7-12 8:13:46 > top of Java-index,Desktop,Core GUI APIs...
# 2
Try thisframe.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);Satanduvel
Satanduvela at 2007-7-12 8:13:46 > top of Java-index,Desktop,Core GUI APIs...