Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JmenuBar pop up not "always on the top" problem

843806Mar 11 2008 — edited Mar 14 2008
Hi,
I have a menuBar with me and a Canvas/JPanel the popup from menuBar are always not visible since the canvas or JPanel overdraws it

I took help from the following discussion http://forum.java.sun.com/thread.jspa?threadID=728694&messageID=4195066
and changed the Canvas to JPanel but didn't help any idea ?

public class JCanvas extends Canvas {
}

to

public class JCanvas extends JPanel {
}

Also now after changing the class extension from Canvas to JPanel my scrollbars are not working ... doesn't throw any error just doesn't show it !!

Edited by: raven_roy on Mar 11, 2008 8:01 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 11 2008
Added on Mar 11 2008
20 comments
902 views