Cache jarVersion and let it complain only once
This commit is contained in:
committed by
Sheepit Renderfarm
parent
ba1f865316
commit
27d992f485
@@ -141,7 +141,7 @@ public class Settings implements Activity {
|
||||
|
||||
Graphics gph = watermark.getGraphics();
|
||||
gph.setFont(gph.getFont().deriveFont(12f));
|
||||
gph.drawString("v" + config.getJarVersion(), 335, 120);
|
||||
gph.drawString("v" + Configuration.jarVersion, 335, 120);
|
||||
gph.dispose();
|
||||
|
||||
labelImage = new JLabel(new ImageIcon(watermark));
|
||||
|
||||
Reference in New Issue
Block a user