posted 20 years ago
I am trying to create a small program that will allow me to adjust the program options. It should open up a new JFrame when the option is clicked from the JMenu. Like most settings options that window will be open, and you can not switch back to the main window unless you click close or cancel from that new window you just opened. I was just wondering how you do this? Do you manipulate the "focus" somehow, or is there a better way to do it.
i.e. In IE, if you clicked on Tools->Internet Options, an Internet Options Window will appear, and you can not go back to your main IE window until you close or cancel the Internet Options window (but you can go to other programs). That is the functionality I am trying to mimic.