The Artima Developer Community
Sponsored Link

Java Answers Forum
Problems with resizing JFrame

1 reply on 1 page. Most recent reply: Jun 18, 2002 10:29 AM by Charles Bell

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Lim S M

Posts: 1
Nickname: lsm
Registered: Jun, 2002

Problems with resizing JFrame Posted: Jun 18, 2002 4:05 AM
Reply to this message Reply
Advertisement
I've got a JFrame with a JList (in a JScrollPane) and a JTextArea. To control the layout, I'm using the GridBagLayout with the GridBagConstraints.

The problem comes when I resize the JFrame. The sizes of the aforementioned components change to rediculous proportions. Any suggestions?

I've screen captured my problem in the traditional "Before" and "After" pictures:

Before
http://www.geocities.com/xxwisp/images/before.gif

After
http://www.geocities.com/xxwisp/images/after.gif


Charles Bell

Posts: 519
Nickname: charles
Registered: Feb, 2002

Re: Problems with resizing JFrame Posted: Jun 18, 2002 10:29 AM
Reply to this message Reply
Your links give:
This page is not available.

Flat View: This topic has 1 reply on 1 page
Topic: JButtons help Previous Topic   Next Topic Topic: Radio button help

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use