File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes how to disable resize Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to disable resize" Watch "how to disable resize" New topic

how to disable resize

madhu cm

Joined: Jun 26, 2005
Posts: 22
i have a jframe and jdialog and i want to disable resize for thoes.....
so that, the components will be in fixed in their position.
wise owen
Ranch Hand

Joined: Feb 02, 2006
Posts: 2023
frame.setResizable( false );
please check this article.
I agree. Here's the link:
subject: how to disable resize
It's not a secret anymore!