View Single Post
  #1 (permalink)  
Old 12-21-2007, 11:04 PM
Mindhunter74 Mindhunter74 is offline
Member
 
Join Date: Dec 2007
Posts: 3
Mindhunter74 is on a distinguished road
JFrame Question ?
Hi.

I want some help in the following case

I'm creating a frame F1.
Also I've created another frame F2.

F2 is used to input something for F1. for exapmle F2 will display a list of available options and when the user click the submit button I'll simply dispose F2 after I get the selected options as an input to some function in F1.

The problem is that when I launch F2 while F1 is displayed , They are displayed concurrentl, but I want , when F2 is displayed , F1 is disapled. Just like when I show a JOptionPane MessageDialog or InputDialog.

How can I do this with F1, F2 ?

PLease help me with a coded example.

Thanks in advance.
Reply With Quote
Sponsored Links