NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
princezhm
Joined: 09 Aug 2012 Posts: 4
|
Posted: Thu Aug 09, 2012 9:31 pm Post subject: how to make this with layouts |
|
|
i posted this on Java EE forum, but i didnt get an answer maybe that is not the right forum to post it.
hello, i'm working on a project in netbeas with java, i want to do something, but first i'll show you some pictures and i'll explain what i want.
IMG1
IMG2
IMG3
i'm working in a MDI interface, so i have (in this example just one, but i'll add more after i solve this) this button centred in my window (IMG1) when i press this button it opens a new window inside the main window (IMG2), but when i maximize the main window, the button isnt centred anymore(IMG3), i want to keep it centred, or keep my buttons (i'll have like 5 or 6), and another thing, when i maximize the main window, if a second window is active i want it to maximize too, i tryed to do it with Grid Bag Layouts, but i couldnt make it work, maybe i can do it if i can put a layout inside the JDesktopPane, but i dont really know if this is possible.
my english is not the best, i'll thank every tip you can give me.
thanks for reading me. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|