I have created one Jframe mainframe which size is fit to monitor size.
I have created another frame called subframe which size is 300,300 .
My problem is when i open the subframe from the mainframe iam not suppose to use mainframe without close the current frame . How can i achieve this please helpme........
bharath54321
0
Light Poster
Recommended Answers
Jump to PostUse a JDialog for the subframe - you can control its modality to block all input to other windows in your app while its open (and other variants)
Jump to PostPost your code for the JDialog. It definitely does work if you code it right.
All 8 Replies
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
bharath54321
0
Light Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
mKorbel
274
Veteran Poster
bharath54321
0
Light Poster
mKorbel
274
Veteran Poster
bharath54321
0
Light Poster
mKorbel
274
Veteran Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.