|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Java Layout Manager Help
I'm making a game for a class of mine, and i need to know the correct way to do something.
I have a big panel that is supposed to contain 5 other panels inside of it. I need 4 panels at the top set in the center to allow the user to click on them and do something. Then one giant panel in the center of the panel underneath the other 4. So it should look like this: Main Panel: =============================================== |********* |000| |000| |000| |000| |********* |000| |000| |000| |000| | |********* ------------------------ |********* |0000000000000000000000 | |********* |0000000000000000000000 | |********* |0000000000000000000000 | |********* |0000000000000000000000 | |********* |0000000000000000000000 | |********* |0000000000000000000000 | |********* ------------------------- =============================================== And i need this all to be in one panel. Right now i have 4 lined up in the center at the top, but i can't get it to force a line break and line up the large one after that in the center a line below. Any help would be appreciated. -Kyle |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Java Development > Java Layout Manager Help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|