JFrame Resize problem
From: Dave Oxtoby (d.oxtoby_at_lineone.net)
Date: 03/30/04
- Next message: Andrew Thompson: "Re: JFrame Resize problem"
- Previous message: Andrew Thompson: "Re: What's the swing equivalent for Canvas?"
- Next in thread: Andrew Thompson: "Re: JFrame Resize problem"
- Reply: Andrew Thompson: "Re: JFrame Resize problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Mar 2004 13:54:25 +0100
I am writing a Java UI and have a frame that initially is small but after
the user chooses the dimensions a table and some buttons are added. However
if i set the window to initially be small and then grow the new sized window
seems to use to old window size for displaying until i use the mouse to
resize the window, when the components then display themselves correctly. Is
there anyway of calling this resize method without actually manually
resizing?
Or is the problem with the JFrame not setting its new size correctly? As the
size it wants to paint the components to is the initial JFrame dimensions.
- Next message: Andrew Thompson: "Re: JFrame Resize problem"
- Previous message: Andrew Thompson: "Re: What's the swing equivalent for Canvas?"
- Next in thread: Andrew Thompson: "Re: JFrame Resize problem"
- Reply: Andrew Thompson: "Re: JFrame Resize problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]