Article View: comp.lang.java.gui
Article #105BufferedImage painting over the Menu -- need help
From: Thomas Due
Date: Tue, 21 Mar 2000 00:00
Date: Tue, 21 Mar 2000 00:00
23 lines
1845 bytes
1845 bytes
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:
<8b79ir$mjg$1@news.net.uni-c.dk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9a23,a07346870af71b34,start X-Google-Attributes: gidf9a23,public X-Google-Thread: 10a146,a07346870af71b34,start X-Google-Attributes: gid10a146,public X-Google-Thread: 113ae9,a07346870af71b34,start X-Google-Attributes: gid113ae9,public X-Google-Thread: 10fd6d,a07346870af71b34,start X-Google-Attributes: gid10fd6d,public From: "Thomas Due" <tduexx@students.aabc.dk> Subject: BufferedImage painting over the Menu -- need help Date: 2000/03/21 Message-ID: <8b79ir$mjg$1@news.net.uni-c.dk> X-Deja-AN: 600301369 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 953624987 23152 194.182.205.3 (21 Mar 2000 07:49:47 GMT) Organization: UNI-C X-MSMail-Priority: Normal NNTP-Posting-Date: 21 Mar 2000 07:49:47 GMT Newsgroups: comp.lang.java.gui,comp.lang.java.help,comp.lang.java.programmer,dk.edb.programmering.java