NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
princezhm
Joined: 09 Aug 2012 Posts: 4
|
Posted: Thu Aug 09, 2012 4:26 pm Post subject: problem with layouts |
|
|
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 |
|
 |
jyeary
Joined: 21 Oct 2008 Posts: 606 Location: Simpsonville, SC
|
Posted: Fri Aug 10, 2012 5:46 pm Post subject: Re: problem with layouts |
|
|
| This is the wrong forum for GUI based questions, please use the |
|
| Back to top |
|
 |
princezhm
Joined: 09 Aug 2012 Posts: 4
|
Posted: Fri Aug 10, 2012 7:52 pm Post subject: Re: problem with layouts |
|
|
| jyeary wrote: | | This is the wrong forum for GUI based questions, please use the |
the? i dont know what forum can i use for the GUI, sorry |
|
| Back to top |
|
 |
Glenn Holmer Posted via mailing list.
|
Posted: Fri Aug 10, 2012 8:27 pm Post subject: Re: problem with layouts |
|
|
On Fri, 2012-08-10 at 15:52 -0400, princezhm wrote:
| Quote: | jyeary wrote:
| Quote: | This is the wrong forum for GUI based questions, please use the
|
the? i dont know what forum can i use for the GUI, sorry
|
Try nbusers instead of nbj2ee.
--
Glenn Holmer
Weyco Group, Inc.
phone: 414-908-1809
fax: 414-908-1601 |
|
| 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
|
|