• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Any way to stop NetBeans 6.5 from resizing some components?

 
Greenhorn
Posts: 22
Opera Windows XP
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've been trying to design a GUI program with NetBeans, but the stupid IDE keeps resizing all my objects when I change the size of a single one of them. I'll change the size of a combo box or even label within a pane and it'll go and move around and resize every single pane on the entire form. It's to the point where I can't even try putting things in a slightly different position for fear of NetBeans rearranging things and it taking 10 minutes to get everything back to how it was - either that or I'll have to save after each and every single change (a bit more tedious than I'd like).

So, is there any way to tell NetBeans to NOT move something and have it listen? The GUI builder is pretty much useless for anything complicated with it moving things around willy-nilly all the time. Or, failing that, is there another Java GUI builder around somewhere, preferably one that could read what I already have? I'd really like to make some cross-platform GUI Java apps, but this behavior from NetBeans is unacceptable. Makes me want to go back to good ol' Visual Basic 4 where GUI elements actually stayed where you put them.

I realize the resizing is supposed to be so it looks better across systems, but if you can't design it in the first place, what's the point? And as I'm planning to set the Metal style for my program everywhere, I'd rather have absolute positioning and have it not be a nightmare to make the GUI. Sure it might not look perfect on every OS, but if it's that bad to get the GUI to stick I might just not program it at all.
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Thomas Kiersted wrote:I've been trying to design a GUI program with NetBeans, but the stupid IDE keeps resizing all my objects when I change the size of a single one of them.



Is that the IDE, or is it the Java GUI mechanism? JFrame/JPanel will make those decisions for you and it has little or nothing to do with the IDE as far as I know.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic