Article View: borland.public.jbuilder.java.swing
Article #599Re: How to disable system menu
From: John McGrath [TeamB]
Date: Tue, 15 Mar 2005 05:21
Date: Tue, 15 Mar 2005 05:21
18 lines
1656 bytes
1656 bytes
On 3/14/2005 at 10:50:34 PM, Eric Orilla wrote:
> In both windows and linux platform, how do you remove the system menu in
> JFrame and JDialog, those buttons in the upper right corner which allows
> you to close, minimize the form? And totally remove that area occupying
> those buttons where the frame title is also showing.
You can remove all of the decorations (title bar, system buttons, resizing
frame) with frame.setUndecorated(true).
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<xn0dzrmp45gt76s003@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!fr.ip.ndsoftware.net!textfeed1.on.meganewsservers.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.usenet.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<42365b8a$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,ab0e278318024bb9 X-Google-Attributes: gid111d45,public X-Google-Language: ENGLISH,ASCII-7-bit From: "John McGrath [TeamB]" <ng-b@JPMcGrath.net> Subject: Re: How to disable system menu Newsgroups: borland.public.jbuilder.java.swing References: <42365b8a$1@newsgroups.borland.com> User-Agent: XanaNews/1.17.2.7 Message-ID: <xn0dzrmp45gt76s003@newsgroups.borland.com> X-Ref: newsgroups.borland.com ~XNS:00000293 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 NNTP-Posting-Host: 151.201.155.159 Date: 14 Mar 2005 21:21:14 -0800 X-Trace: newsgroups.borland.com 1110864074 151.201.155.159 (14 Mar 2005 21:21:14 -0800) Lines: 18 X-Authenticated-User: jpmcgrath Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!fr.ip.ndsoftware.net!textfeed1.on.meganewsservers.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.usenet.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail