Fixed some problems with popup window not been hidden if another frame is shown.

This commit is contained in:
LevelX2 2017-05-27 14:35:50 +02:00
parent ac4c1a795f
commit bd9b11fc49
6 changed files with 229 additions and 236 deletions

View file

@ -24,7 +24,7 @@ public class MageRoundPane extends JPanel {
private int X_OFFSET = 30;
private int Y_OFFSET = 30;
private final Color defaultBackgroundColor = new Color(141, 130, 112, 200);
private final Color defaultBackgroundColor = new Color(141, 130, 112, 200); // color of the frame of the popup window
private Color backgroundColor = defaultBackgroundColor;
private static final int alpha = 0;
private static final Map<ShadowKey, BufferedImage> SHADOW_IMAGE_CACHE;