Article View: comp.lang.java.gui
Article #106Sv: BufferedImage painting over the Menu -- need help - (Additional)
From: Thomas Due
Date: Tue, 21 Mar 2000 00:00
Date: Tue, 21 Mar 2000 00:00
39 lines
2251 bytes
2251 bytes
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. Sorry, Thomas Thomas Due <tduexx@students.aabc.dk> skrev i en nyhedsmeddelelse:8b79ir$mjg$1@news.net.uni-c.dk... > 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:
<8b7a4e$n8g$1@news.net.uni-c.dk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<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: 113ae9,a07346870af71b34 X-Google-Attributes: gid113ae9,public X-Google-Thread: 10a146,a07346870af71b34 X-Google-Attributes: gid10a146,public X-Google-Thread: 10fd6d,a07346870af71b34 X-Google-Attributes: gid10fd6d,public From: "Thomas Due" <tduexx@students.aabc.dk> Subject: Sv: BufferedImage painting over the Menu -- need help - (Additional) Date: 2000/03/21 Message-ID: <8b7a4e$n8g$1@news.net.uni-c.dk> X-Deja-AN: 600304039 References: <8b79ir$mjg$1@news.net.uni-c.dk> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: usenet@news.net.uni-c.dk X-Trace: news.net.uni-c.dk 953625550 23824 194.182.205.3 (21 Mar 2000 07:59:10 GMT) Organization: UNI-C X-MSMail-Priority: Normal NNTP-Posting-Date: 21 Mar 2000 07:59:10 GMT Newsgroups: comp.lang.java.gui,comp.lang.java.help,comp.lang.java.programmer,dk.edb.programmering.java