Implementing absolute positioning for JPanels in java/netbeans JPanels applied through CardLayout!
Posted on 2011-10-13
I have a few JPanels stacked under a mainPanel via CardLayout under Netbeans 7. Now for some weird reason I can't get any of these JPanels to maintain a setPreferredSize of [600,400] and most annoyingly I can't get the associated components to be placed right on where they're supposed to be positioned on their associated JPanel. Please note that I'm using Netbeans 7 properties menu to set these parameters. I even have set up the minimum and maximum size parameters.