🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: BufferedImage painting over the Menu -- need help

#108
From: Marcus Biervliet
Date: Tue, 21 Mar 2000 00:00
30 lines
2100 bytes
I ask the same question a week ago and got no reply.
I start reading documents and mine is now working!!
Good luck reading


Thomas Due wrote:

> I am currently writing an application which is composed like this:
>
> A JFrame containing a MenuBar and a JPanel, which in turn contains
> a BufferedImage. The image is using doubled-buffering to present graphics
> fast.
>
> There is nothing special about the menu, it contains among others a menu
> named "File", which contains items named "New", "Open", "Save", etc.
>
> My problem is that the BufferedImage is painting over the menu when they
> pull down. In other words it looks like the menus pull down BEHIND the
> BufferedImage.
>
> All components are added correctly to the frame using the ContentPane etc.
>
> Does anyone have any idea about what I do to get the menu to show properly,
> or to prevent the BufferedImage from painting over the menu?
>
> If you have a solution, I prefer respons by e-mail: tduexx@students.aabc.dk
>
> Thank you in advance,
>
> Thomas Due
Technical Details
Message-ID: <38D7BA13.8663179@quicknet.nl>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8b79ir$mjg$1@news.net.uni-c.dk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f9a23,a07346870af71b34
X-Google-Attributes: gidf9a23,public
X-Google-Thread: 10a146,a07346870af71b34
X-Google-Attributes: gid10a146,public
X-Google-Thread: 10fd6d,a07346870af71b34
X-Google-Attributes: gid10fd6d,public
X-Google-Thread: 113ae9,a07346870af71b34
X-Google-Attributes: gid113ae9,public
From: Marcus Biervliet <Marcus.Biervliet@quicknet.nl>
Subject: Re: BufferedImage painting over the Menu -- need help
Date: 2000/03/21
Message-ID: <38D7BA13.8663179@quicknet.nl>
X-Deja-AN: 600493292
Content-Transfer-Encoding: 7bit
References: <8b79ir$mjg$1@news.net.uni-c.dk>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@quicknet.nl
X-Trace: amoeba1.soneraplaza.nl 953661922 212.127.147.224 (Tue, 21 Mar 2000 19:05:22 MET)
Organization: Sonera Quicknet
MIME-Version: 1.0
NNTP-Posting-Date: Tue, 21 Mar 2000 19:05:22 MET
Newsgroups: comp.lang.java.gui,comp.lang.java.help,comp.lang.java.programmer,dk.edb.programmering.java