Thanks a LOT for your help. However , it is not working.. I don't quite understand. So this is what I have done...
I have a JFrame, to which is added a JPanel(tsPanel). The Grid Layout of tsPanel is set, and I add some components to it. After each component, I add
JLabel test = new JLabel(" ");
So next, I open my frame, and I resize it to occupy the full screen(I am not yet using the Java APIs to set full screen mode). I find that my components have gone awry, that is the size and orientation that I had in my un-resized window is not maintained.
Any pointers? Would be much appreciated. Thanks