๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Sv: BufferedImage painting over the Menu -- need help - (Additional)

#107
From: Roger Lindsj|
Date: Tue, 21 Mar 2000 00:00
13 lines
1468 bytes
In article <8b7a4e$n8g$1@news.net.uni-c.dk>,
Thomas Due <tduexx@students.aabc.dk> wrote:
>I forgot to say that the BufferedImage is not contained directly in the
>JPanel.
>I have a class which extends canvas, and THAT class contains the
>BufferedImage,
>and are contained in a JPanel.

And that is where your problem is. You should not mix light-weight
(swing) components with heavy-weight (AWT) components. Try using a
lightweight component instead of a Canvas.

Roger Lindsj๏ฟฝ
Technical Details
Message-ID: <8b7bk6$8k1$1@nyheter.chalmers.se>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8b79ir$mjg$1@news.net.uni-c.dk> <8b7a4e$n8g$1@news.net.uni-c.dk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f9a23,a07346870af71b34
X-Google-Attributes: gidf9a23,public
X-Google-Thread: 10fd6d,a07346870af71b34
X-Google-Attributes: gid10fd6d,public
X-Google-Thread: 10a146,a07346870af71b34
X-Google-Attributes: gid10a146,public
X-Google-Thread: 113ae9,a07346870af71b34
X-Google-Attributes: gid113ae9,public
From: d97roli@dtek.chalmers.se (Roger Lindsj|)
Subject: Re: Sv: BufferedImage painting over the Menu -- need help - (Additional)
Date: 2000/03/21
Message-ID: <8b7bk6$8k1$1@nyheter.chalmers.se>
X-Deja-AN: 600308825
References: <8b79ir$mjg$1@news.net.uni-c.dk> <8b7a4e$n8g$1@news.net.uni-c.dk>
X-Complaints-To: abuse@chalmers.se
X-Trace: nyheter.chalmers.se 953627078 8833 129.16.30.52 (21 Mar 2000 08:24:38 GMT)
Organization: Chalmers University of Technology
NNTP-Posting-Date: 21 Mar 2000 08:24:38 GMT
Newsgroups: comp.lang.java.gui,comp.lang.java.help,comp.lang.java.programmer,dk.edb.programmering.java