How to lock the frame.

I have two frames, one outer one and one on it.
if i click on inner one outer one goes off.
What to be done in code.
Who is Participating?
CEHJConnect With a Mentor Commented:
Generally speaking, an application should have one frame only. If you need to show additional ones, they should normally be JDialog subclasses
searchsanjaysharmaAuthor Commented:
ya  i know, but i want to achieve it with this only,
searchsanjaysharmaAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.