Hi,
I would like to ask is it possible to change the position and size of JTabbedPane? Just like JPanel dose that I always use :
panel.setLayout(null); panel.setBounds(x,y,h,w);
to set position and size. But when I use:
tabbedpane.setLayout(null);
[ java.lang.ArrayIndexOutOfBoundsException: 0 ] exception caught. Same thing happening when I try to use GridLayout.
I want to make the JTabbedPane about 1/3 height of JFrame and then place it at the middle with other Panels at top and bottom.
Is there any other approach? Such as separate JFrame into 3 parts or using other Layout.
Thank you very much.
Best regards,
Philip