Article View: borland.public.jbuilder.java.swing
Article #10778Re: disabling maximize in JFrame
From: Jonathan
Date: Tue, 10 Aug 1999 00:00
Date: Tue, 10 Aug 1999 00:00
22 lines
1176 bytes
1176 bytes
if I was you, I would add a listener for Max/Min events and override them, this won't disable the buttons, but I don't think you can in a Frame, so implement a listener another thing you could do is create your own frame if you don't want to display min/Max buttons, by extending JWindow if you need more help just ask G.Vishweshwar wrote in message <7on07j$80p4@forums.borland.com>... >Hi, >is there any way to disable to maximize/minimize buttons in JFrame(like the >properties closeable,maximizable in JInternalFrame).Alternatively I can >catch the events and set it back but it will not have the effect of >disabling. >Thanks for any help >Vishu > >
Technical Details
Message-ID:
<7op2lm$9ui5@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7on07j$80p4@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,59b0b934f1f5a617 X-Google-Attributes: gid111d45,public From: "Jonathan" <plaskowj@logica.com> Subject: Re: disabling maximize in JFrame Date: 1999/08/10 Message-ID: <7op2lm$9ui5@forums.borland.com> X-Deja-AN: 511014890 References: <7on07j$80p4@forums.borland.com> Organization: Another Netscape Collabra Server User X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Newsgroups: borland.public.jbuilder.java.swing