Re: JFrame Resize Issues
- From: "Joan" <Joan@xxxxxxxxxxxxxx>
- Date: Wed, 29 Jun 2005 20:57:13 -0500
<casey.lutz@xxxxxxxxx> wrote in message
news:1120076622.953591.31300@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> 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.
layoutManager = null;
.
- Follow-Ups:
- Re: JFrame Resize Issues
- From: Thomas Weidenfeller
- Re: JFrame Resize Issues
- References:
- JFrame Resize Issues
- From: casey . lutz
- JFrame Resize Issues
- Prev by Date: Re: Default timezone changes out of nowhere?
- Next by Date: Re: A button close in JDialog
- Previous by thread: JFrame Resize Issues
- Next by thread: Re: JFrame Resize Issues
- Index(es):