JFrame Resize Issues
- From: casey.lutz@xxxxxxxxx
- Date: 29 Jun 2005 13:23:43 -0700
My java application currently checks frame resizing and if necessary
resizes the frame in order to keep an aspect ratio. Testing this on
Windows with undecorated frames works perfectly, as the user can resize
the frame to their heart's content, and then once they release the
mouse the frame will resize to an aspect ratio. However, when I set
the JFrames to "Decorated" the user has to battle their resizing with
the automatic aspect ratio resizer.
My application needs to be able to run in all sorts of window managers
and behave the same way, so I'm wondering if I'm missing something in
how to control the resizing behavior.
My code for checking resize is simply:
public void componentResized( ComponentEvent evt ) {
resizeVideo();
}
Any help you could give would be greatly appreciated, Thanks.
.
- Follow-Ups:
- Re: JFrame Resize Issues
- From: Joan
- Re: JFrame Resize Issues
- Prev by Date: Re: speeding up a program
- Next by Date: Re: Defining a constructor in an Interface
- Previous by thread: Defining a constructor in an Interface
- Next by thread: Re: JFrame Resize Issues
- Index(es):
Relevant Pages
|