🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #9584

Re: adding a button to the titlebar of a JFrame

#9584
From: Paul Furbacher
Date: Wed, 01 Mar 2000 00:00
19 lines
1280 bytes
Akber Datoo wrote:

> I wanted to add  extra button to the top of a JFrame, in addition to the
> minimise, maximise and close buttons that are already there. Is this
> possible? If so, how?

Don't we all want to do something like this?!  And get rid of those 
min/max buttons, AND implement WindowShade on WinOS to replace 
it's "fill the bloody screen on double-click" behavior!

These are hacks into the operating system which just aren't
possible with ordinary Java.  What you need to do is write the hacks
for each platform as a part of a native code library, install the 
library, and then call the hacks.  Not an enviable task.

Have fun.


Paul Furbacher (TeamB)
Technical Details
Message-ID: <38BD7689.CEB05B81@home.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <89j822$lid9@bornews.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,b37801ded125357d
X-Google-Attributes: gid111d45,public
From: Paul Furbacher <pnf@home.com>
Subject: Re: adding a button to the titlebar of a JFrame
Date: 2000/03/01
Message-ID: <38BD7689.CEB05B81@home.com>
X-Deja-AN: 591895698
Content-Transfer-Encoding: 7bit
References: <89j822$lid9@bornews.borland.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Reply-To: pnf@home.com
Newsgroups: borland.public.jbuilder.java.swing