Hi Every one,
I am trying to add some panels to my main Jpanel . I have three simple class as below. Every thing works fine except that I can not set the sub JPanels(pan1,pan2,pan3) size!
I tried the setPreferredSize() method as well, but it did not work! Could you please let me know what I am doing wrong!?