₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,329,300 members, 8,439,821 topics. Date: Monday, 06 July 2026 at 05:02 AM

Toggle theme

Make Your Jframe Irresizable - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingMake Your Jframe Irresizable (1017 Views)

1 Reply

Make Your Jframe Irresizable by SayoMarvel(op): 12:53pm On Dec 11, 2007
The code to make it impossible to resize your JFrame is:

JFrame frame = new JFrame("Frame Title"wink;
frame.setResizable(false);

I searched for it on google.

Note: The above snipet hides the maximize and minimize buttons of the frame.
I need something that makes them visible but still deactivates the miximize button.
Re: Make Your Jframe Irresizable by SayoMarvel(op): 5:23pm On Dec 27, 2007
i've discovered that it is on jdk 1.2 that the buttons get hidden. try jdk 1.5. its cool. only the maximize button gets deactivated (not hidden).
1 Reply

Continuation Of The GUI Jframe Java ProgramHow To Create A Small Gui(graphical User Interface) Using Jframe In Java ProgramHelp Me With Code To Disable The Maximize Button On My Jframe (java).234

Post Your Vb .net Problems HereCalling On All Programmers A Brother Needs AdvicePiratebay.org A Good Place For Programmers