This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 20
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.
It is sorta covered in the JavaRanch Style Guide.
subject: how to disable resize
Similar Threads
How to Disable the resize button in a window ?
Disabling the close and maximize icons.....
window resize
_new and maximization
Disable resize option