This week's book giveaway is in the OCAJP forum. We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen 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?