Skip to Main Content

Java SE (Java Platform, Standard Edition)

An image drawn by drawimage on top of Swing application flikers and not sta

902916Nov 30 2011 — edited Nov 30 2011
I have a Swing Java application, the interface consists of a mainframe, menuBar that contains many drop menus. At the top right corner, I draw a logo using drawImage(). the logo spans over the menuBar and the mainPanel as well.

When I open some(not all) components from the drop down menus in the menuBar, the logo starts to appear/disappear(flash).

The idea to put the logo as an icon for JLabel and add the JLabel to a panel does not work with me because I want the logo to span over the menubar and part of the mainpanel.
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 28 2011
Added on Nov 30 2011