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

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

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -