Thanks for your suggestions guys, but i found an easier solution in JTabbedPane. I'll just stick with that! thanks though.
Type: Posts; User: aknessy
Thanks for your suggestions guys, but i found an easier solution in JTabbedPane. I'll just stick with that! thanks though.
Ok lets say you have a JFrame with a mainPanel that is initially empty (that is; it has no components by default) and then you want to add a component to it - like another JPanel - by clicking a...
:confused: Please am trying to understand how to insert a standalone JPanel (viewPanel) that doesn't extend a JFrame into another JPanel (mainPanel) that is in a JFrame. Would have posted the code,...