• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

signal generator.

 
Greenhorn
Posts: 22
Chrome Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is supposed to look like the attachment that I included.

Basically, my problem is that when I ran the program, it is not at all the way I would like it. How do I layout my buttons so that it looks like the picture? I understand that I I can use .WEST, .CENTER, .LEFT, but even that doesnt work for me.
I'm not asking you to do this for me, but at least point me in the right direction.
Thanks.
Untitled.png
[Thumbnail for Untitled.png]
 
Sheriff
Posts: 7125
184
Eclipse IDE Postgres Database VI Editor Chrome Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Let's move this to the Swing/AWT forum.
 
Rancher
Posts: 1093
29
Netbeans IDE Oracle MySQL Database Tomcat Server C++ Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can set your layout manager to null or Absolute--either is VERY poor practice as you lose your resize options--Take it from one that started out doing just that, and it really does come around to bite you, and it's usually very severe when it does.

Laying out a GUI has to be done in layers--think multiple layouts and probably multiple panels. Once you get that idea going, things become a lot more simple to make complex GUI's that don't have that box and column look.
 
And then we all jump out and yell "surprise! we got you this tiny ad!"
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic