All final strings became static - it will give a little perfomance boost, due to not instantiating same string every time

This commit is contained in:
vraskulin 2017-02-27 16:33:32 +03:00
parent 26ce8e0bcc
commit af3986df46
46 changed files with 56 additions and 56 deletions

View file

@ -22,7 +22,7 @@ public class DialogContainer extends JPanel {
private Color backgroundColor = new Color(0, 255, 255, 60);
private int alpha = 50;
private final boolean isGradient = false;
private static final boolean isGradient = false;
private final TexturePaint tp = null;
private final Image gradient = null;
private BufferedImage b;