Re: Lockable JFrames?



Chase Preuninger wrote:
myFrame.setResizable(false);

What I want to know, is there a way to set a max/min size for a frame?

AFAIK the best you can do is catch resizing events and if the new size is outside your bounds, resize the frame to bring it back within bounds. This looks a bit odd to the user.

--
RGB
.



Relevant Pages

  • Re: [opensuse] Way Way Way OT
    ... But this is a wild ... guess without backing. ... AFAIK it's an interleaved drawing for faster ... Progressive scan draws each frame ...
    (SuSE)
  • Re: Chicken Little Digital 3D Report
    ... any glasses-filtering that leaks even slightly. ... Only way to avoid it, afaik, would be to frame no large dark areas compositionally adjacent to even small bright ones. ...
    (rec.arts.movies.tech)
  • Re: Blaxxun SDK
    ... We got a new version fixing the window size problem there was afaik. ... the chat-client part (the frame tha'st usually below) that requires ...
    (comp.lang.vrml)
  • Re: Qualia Question
    ... screen while the next frame is moved into position. ... OTOH, on a TV screen, half the image is changed every 1/60th of second, as alternate lines are "painted" onto the scree, The TV screen never goes dark. ... This may entail that the "subjective experience" of viewing movies and TV are different, but AFAIK there's no conclusive evidence on this. ...
    (comp.ai.philosophy)
  • Re: USB HID output performance
    ... How can I queue several output reports, so a OUT transaction is issued in every frame? ... AFAIK you can feed it with overlapped writes. ...
    (microsoft.public.development.device.drivers)