Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

textfields are squished in gui

 
Alan Shiers
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

I need a little help with a JDialog box I'm working on. In my init() method I load up all the components for the JDialog. The labels show just fine, but the JTextFields and JTextArea are all squished. I've set the setPreferredSize(...) method on each text component but it doesn't seem to make any difference when the whole thing renders. I need another pair of eyes to show me where I went wrong. Can you tell from my code what's wrong?

Alan

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic