NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

problem with layouts

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
princezhm



Joined: 09 Aug 2012
Posts: 4

PostPosted: Thu Aug 09, 2012 4:26 pm    Post subject: problem with layouts Reply with quote

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

PostPosted: Fri Aug 10, 2012 5:46 pm    Post subject: Re: problem with layouts Reply with quote

This is the wrong forum for GUI based questions, please use the
Back to top
princezhm



Joined: 09 Aug 2012
Posts: 4

PostPosted: Fri Aug 10, 2012 7:52 pm    Post subject: Re: problem with layouts Reply with quote

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.





PostPosted: Fri Aug 10, 2012 8:27 pm    Post subject: Re: problem with layouts Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo