ui: Final fields
This commit is contained in:
@@ -52,13 +52,13 @@ import org.pushingpixels.substance.internal.SubstanceSynapse;
|
||||
@Singleton
|
||||
public class RuneLiteSplashScreen
|
||||
{
|
||||
private RuneLiteProperties runeLiteProperties = new RuneLiteProperties();
|
||||
private final RuneLiteProperties runeLiteProperties = new RuneLiteProperties();
|
||||
|
||||
public JFrame frame;
|
||||
public JPanel panel = new JPanel();
|
||||
public final JPanel panel = new JPanel();
|
||||
private JLabel messageLabel;
|
||||
private JLabel subMessageLabel;
|
||||
private JProgressBar progressBar = new JProgressBar();
|
||||
private final JProgressBar progressBar = new JProgressBar();
|
||||
|
||||
/**
|
||||
* This is not done in the constructor in order to avoid processing in case the user chooses to not load
|
||||
|
||||
@@ -46,7 +46,7 @@ public class ColorPanel extends JPanel
|
||||
|
||||
private final int size;
|
||||
|
||||
private BufferedImage image;
|
||||
private final BufferedImage image;
|
||||
private Point targetPosition;
|
||||
private int selectedY;
|
||||
private boolean forceRedraw;
|
||||
|
||||
@@ -47,8 +47,8 @@ public class ColorValuePanel extends JPanel
|
||||
{
|
||||
private static final int DEFAULT_VALUE = ColorUtil.MAX_RGB_VALUE;
|
||||
|
||||
private ColorValueSlider slider = new ColorValueSlider();
|
||||
private JTextField input = new JTextField();
|
||||
private final ColorValueSlider slider = new ColorValueSlider();
|
||||
private final JTextField input = new JTextField();
|
||||
|
||||
private Consumer<Integer> onValueChanged;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user