🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

JLayeredPanel primer?

#11936
From: Alex B. Humphreys
Date: Tue, 16 Mar 1999 00:00
13 lines
977 bytes
Does anyone know of a good example of JLayeredPanel that I can use?
I've been trying to use it to get a button to appear at certain times in
my program, and haven't managed to get it working yet.

My questions:
    1) do I need to assign the all the components in my contentPane (my
base screen) to the default layer of the JLayeredPanel?
    2) how do I position a component within a layer?  the
JLayeredPanel.add method doesn't seem to give that ability.

Thanks.

Alex
Technical Details
Message-ID: <36EE8152.16ECAC3C@sema4.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,f58ae3f7e022c3e0,start
X-Google-Attributes: gid111d45,public
From: "Alex B. Humphreys" <ahumphreys@sema4.com>
Subject: JLayeredPanel primer?
Date: 1999/03/16
Message-ID: <36EE8152.16ECAC3C@sema4.com>
X-Deja-AN: 455665628
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Semaphore, Inc.
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing