NetBeans Forums

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

how to make this with layouts

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



Joined: 09 Aug 2012
Posts: 4

PostPosted: Thu Aug 09, 2012 9:31 pm    Post subject: how to make this with layouts Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform 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