🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java.gui
Article #31

Re: Creating my own toolbar

#31
From: Arnaud Berger
Date: Wed, 28 Nov 2001 10:38
29 lines
1932 bytes
Hi !

1)  JWindow is much like JFrame, it is a top-level Component, so it
can't be considered "floatable".
You'll probably have to use some mouseListener to manage
some "draggable" feature by yourself.

2) The "title bar" you want will be some JPanel of yours, probably
placed at the NORTH location of a BorderLayout (in your toolbar).

@rn@ud))���




"Sherif Dessouki" <shd1@dcs.qmul.ac.uk> a �crit dans le message news:
9tumtk$3h8$1@plutonium.btinternet.com...
> I am creating my own toolbar with JWindow, but I found that there is no
> method to set JWindow to be floatable. Any idea on how to do it?
> Also how can i add a title bar to a JWindow without having the maximize
[],
> minize_, close X buttons
>
>                                     Thanks
>
> --
> Sherif
>
>
Technical Details
Message-ID: <9u2hco$kms$2@hermes.esplanade3000.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!isdnet!195.115.0.4.MISMATCH!esplande3000.net!dt-cegetel!not-for-mail
References: <9tumtk$3h8$1@plutonium.btinternet.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,eacad4d9c28c264b
X-Google-Attributes: gid111d45,public
X-Google-Thread: f5d71,eacad4d9c28c264b
X-Google-Attributes: gidf5d71,public
X-Google-Thread: fecd1,eacad4d9c28c264b
X-Google-Attributes: gidfecd1,public
X-Google-Thread: 10fd6d,eacad4d9c28c264b
X-Google-Attributes: gid10fd6d,public
X-Google-ArrivalTime: 2001-11-28 03:20:49 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!isdnet!195.115.0.4.MISMATCH!esplande3000.net!dt-cegetel!not-for-mail
From: "Arnaud Berger" <arnaud.berger@dmic.fr>
Newsgroups: comp.lang.java.gui,comp.lang.java.api,borland.public.jbuilder.java.swing,comp.lang.java
Subject: Re: Creating my own toolbar
Date: Wed, 28 Nov 2001 11:38:11 +0100
Organization: Cegetel-Entreprises NewsFeed
Lines: 31
Message-ID: <9u2hco$kms$2@hermes.esplanade3000.net>
References: <9tumtk$3h8$1@plutonium.btinternet.com>
NNTP-Posting-Host: 195.115.92.230
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700