Ugly solution to JComboBox that makes draggable the whole windows in Mac

18 views
Skip to first unread message

Jesús

unread,
Jan 26, 2011, 11:44:28 AM1/26/11
to Sea Glass Look and Feel
I have experimented the same problem described in issue 53
http://code.google.com/p/seaglass/issues/detail?id=53.
I find a solution to this problem, only removing one line of
SeaGlassPopupMenu.
I think the problem is caused because fails setting non opaque the
content window.

This is de "bug" code:
Window window = SwingUtilities.getWindowAncestor(popupMenu);
if (PlatformUtils.isMac() && window != null) {
WindowUtils.makeWindowNonOpaque(window);

}
My modification:

Window window = SwingUtilities.getWindowAncestor(popupMenu);
if (PlatformUtils.isMac() && window != null) {
// WindowUtils.makeWindowNonOpaque(window);

}

Jesús

unread,
Jan 26, 2011, 11:46:41 AM1/26/11
to Sea Glass Look and Feel
Reply all
Reply to author
Forward
0 new messages