🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.swing
2 messages
2 total messages Started by Eric Orilla Tue, 15 Mar 2005 03:50
How to disable system menu
#598
Author: Eric Orilla
Date: Tue, 15 Mar 2005 03:50
4 lines
1267 bytes
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.

Thank you!
Re: How to disable system menu
#599
Author: John McGrath [TeamB]
Date: Tue, 15 Mar 2005 05:21
18 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads