Hi. I have a JPopupMenu instance which is showing window decorations. Does anyone have any idea how I can remove them or how I can access the parent component to turn decorations off? getParent() returns null. Thanks.
Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.
posted 8 years ago
Strangely, my JPopupMenu is now showing window decorations. When it was part of a JFrame, it did not show decorations. Same code now in a JApplet, shows window decorations. I will try to post some code.
Beware the other head of science - it bites! Nibble on this message: