Article View: borland.public.jbuilder.java.swing
Article #8505Re: Q: Disabling the Window Erase procedure with a GUI app ?
From: Joi Ellis
Date: Thu, 10 Aug 2000 00:00
Date: Thu, 10 Aug 2000 00:00
32 lines
1946 bytes
1946 bytes
Josha Munnik wrote:
>
> Hi,
>
> I've the following problem. I'm developing a GUI (for Windows NT using
> JBuilder 3 & Swing) app that uses a background image. So there is no need to
> erase the background. Althoug I setted every opaque I could find to true and
> even tried to replace the content pane, the window still first gets erased
> before the background image is painted. Anybody knows a solution to this
> problem ? I personally think maybe this also depends on the JVM and the
> handling of windows within Windows NT. Anybody knows something more about
> this ?
>
> Thanx in advance,
>
> Greets Josha.
I think setting Opaque to true means the components will paint over
the background. You want to set it to false on the components, which
will make the components transparent and allow your background to show
through. You may have to do that on the content pane of your main
window, too. It's worth checking.
--
Joi Ellis Software Engineer
Aravox Technologies joi@aravox.com, gyles19@visi.com
No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried. Anything
that kicks a monopoly in the pants has got to be good for something.
- Chris Johnson
Technical Details
Message-ID:
<3992D1F1.C83B825F@aravox.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<8mu5pc$o4d5@bornews.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,1a6624ba140f7759 X-Google-Attributes: gid111d45,public From: Joi Ellis <joi@aravox.com> Subject: Re: Q: Disabling the Window Erase procedure with a GUI app ? Date: 2000/08/10 Message-ID: <3992D1F1.C83B825F@aravox.com> X-Deja-AN: 656802300 Content-Transfer-Encoding: 7bit References: <8mu5pc$o4d5@bornews.borland.com> To: Josha Munnik <josha@remove.spam.casema.net> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Aravox Technologies Mime-Version: 1.0 Reply-To: joi@aravox.com Newsgroups: borland.public.jbuilder.java.swing