Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

my little problem on netbeans

 
Roldan Baldo
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no, the frame size is still the same. i mean, when im reordering the panels/buttons/textfields. some components move..
 
pete stein
Bartender
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
im trying to use that ide, so that i can finish my application in the time frame. thats the reason.
 
Darryl Burke
Bartender
Posts: 5125
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic