*
The moose likes Swing / AWT / SWT and the fly likes my little problem on netbeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "my little problem on netbeans" Watch "my little problem on netbeans" New topic
Author

my little problem on netbeans

Roldan Baldo
Ranch Hand

Joined: Aug 11, 2009
Posts: 99
i use netbeans, but i have difficulty in GUI design, not the codes. i mean, when i making a Graphical User Interface, sometimes the panels are moving,
then i place it back again. unlike VB6.0 when you place the panel/frame the other frame/panel/objects don't move. but i don't like VB6.0
i prefer java. but when i use absolute layout on a panel, it wont move the other panels inside it but i am not confident the panels are arranged
using absolute layout. is there any solution regarding GUI design in netbeans? because it consumes time when im placing the panels/buttons
back to their original place, it is more annoying when you have more panels/buttons/textfields in that design, then it scramble/not arranged
according to what suites my taste.

any help would be much appreciated. thanks
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37943
    
  22
What do you mean about "moves"? Do you mean that when the window is resized, all its child components resize themselves similarly? If so, that is the intended behaviour for Swing GUIs.
Roldan Baldo
Ranch Hand

Joined: Aug 11, 2009
Posts: 99
no, the frame size is still the same. i mean, when im reordering the panels/buttons/textfields. some components move..
pete stein
Bartender

Joined: Feb 23, 2007
Posts: 1561
This isn't really a Swing question but rather an IDE question of how to use NetBeans Matisse GUI builder. My recommendation would be to put Matisse to the side and learn to create Swing code by hand using a combination of coder-friendly layout managers.
Roldan Baldo
Ranch Hand

Joined: Aug 11, 2009
Posts: 99
im trying to use that ide, so that i can finish my application in the time frame. thats the reason.
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

Roldan Baldo wrote:im trying to use that ide, so that i can finish my application in the time frame. thats the reason.

Sorry but

It takes far less time to learn to hand-code a simple GUI (and don't flatter yourself that your GUI is overly complex) than it takes to master a GUI builder. Moreover, it takes understanding of the code to use a builder effectively and efficiently.


luck, db
There are no new questions, but there may be new answers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: my little problem on netbeans
 
Similar Threads
sharing Panel between frames
Resizing Layout with change in Screen Resolution
ide
Issue in Displaying panel
component layout on panel