This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
When inserting comongnets within a JPanel (JFrame -> JDialog -> JTabbedPane -> JPanel) what has to be done to ensure the Componenets do not appear out of position when the screen resolution is switched? In my previous attempts. components positioned within the centre would either appear on the far right or diaappear off screen altogther when screen resolution is changed. How do I prevent this from happening?