Statdard is Lable When i am opening file JMenu, label is displaying in front of jmenu. It was happening because I was mixing AWT and swings. Instead of Label when i used JLabel It is working fine as expected.
Asked
Active
Viewed 569 times
2
-
can downvoter to share your whatever – mKorbel Oct 31 '12 at 07:43
-
Not downvoter, but some code would really help here. – Jim Garrison Oct 31 '12 at 07:48
-
1not there no code required, [this is booking example about](http://www.oracle.com/technetwork/articles/java/mixing-components-433992.html) – mKorbel Oct 31 '12 at 07:58
1 Answers
2
I was mixing AWT and swing. Sorry it was Label
not JLabel
. Found help from these two articles:
-
Please delete this and add the information to your original post. Use the "edit" link. – Jim Garrison Oct 31 '12 at 07:49
-
2that's one of the reasons to show an SSCCE: either you find the mix-up yourself quicker, or more eyes looking at it will :-) – kleopatra Oct 31 '12 at 11:12