java - Trying to add multiple JPanel to JFrame -


i want have 9 jpanel components on jframe , have 4 jbutton components on each panel. after adding 9 panels, 8 of them disappear.

anyone can me correct this?

jframe uses borderlayout default, may wish consider using different ones, compounding them achieve desired results. see laying out components within container more details.


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -