fix wizard popups background on macs

This commit is contained in:
Alexey Pegov
2010-08-11 16:25:49 +04:00
parent d7d34e02f7
commit 641be6fa1a
@@ -1025,6 +1025,10 @@ public class AbstractPopup implements JBPopup {
else {
setBorder(border);
}
if (drawMacCorner && UIUtil.isUnderAquaLookAndFeel()) {
setBackground(new Color(UIUtil.getPanelBackgound().getRGB()));
}
}
public void paint(Graphics g) {