|
How to make a modal JFrame?
hi friends,
I have 2 jFrame one is the main jFrame and the other one is the sub jFrame. What im trying to do is when i show the sub jFrame, the user cannot do anything in the main jFrame(e.g. the user cannot click any button).I think it can be done in jDialog and by using the setModal method however i want to know if this is possible in jFrame.Awaiting for your prompt reply.thanks.
|