Ive written medium sized program with a sizeable GUI and am having problems scoping my JOptionPanes to appear in the confines of my main JFrame. This has become a big problem for me and i have tried lots of things to solve it but nothing has worked. The Dialogs that im having trouble with all reside in actionListeners and then some reside in if statements once in the actionlistener method etc. For example:
All the optionpanes im having problem with are in bold. The options below all compile but do not move the JOptionPanes anywhere. I need them within the confines of the main frame.