minor stuff
This commit is contained in:
parent
d5b962fe88
commit
83e879f6c1
|
@ -31,7 +31,7 @@ public class AuthTokenPanel {
|
||||||
authTokenTestField.setPreferredSize(new Dimension(200, 24));
|
authTokenTestField.setPreferredSize(new Dimension(200, 24));
|
||||||
|
|
||||||
String authToken = getAuthToken();
|
String authToken = getAuthToken();
|
||||||
System.out.println("Got from settings: " + authToken);
|
log.info("Auth token from settings: " + authToken);
|
||||||
|
|
||||||
authTokenTestField.getDocument().addDocumentListener(new DocumentListener() {
|
authTokenTestField.getDocument().addDocumentListener(new DocumentListener() {
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -72,7 +72,7 @@ public class VersionChecker {
|
||||||
String criticalUrl = map.get("critical_url");
|
String criticalUrl = map.get("critical_url");
|
||||||
if (criticalUrl != null && !criticalUrl.trim().isEmpty()) {
|
if (criticalUrl != null && !criticalUrl.trim().isEmpty()) {
|
||||||
JPanel panel = new JPanel(new BorderLayout());
|
JPanel panel = new JPanel(new BorderLayout());
|
||||||
panel.add(new JLabel("WARNING! CRITICAL ISSUE! Are you sure you want to run rusEfi?"), BorderLayout.NORTH);
|
panel.add(new JLabel("WARNING! CRITICAL ISSUE! Are you sure you want to run rusEFI?"), BorderLayout.NORTH);
|
||||||
panel.add(new URLLabel(criticalUrl, criticalUrl), BorderLayout.CENTER);
|
panel.add(new URLLabel(criticalUrl, criticalUrl), BorderLayout.CENTER);
|
||||||
JOptionPane.showMessageDialog(getPaneParent(), panel);
|
JOptionPane.showMessageDialog(getPaneParent(), panel);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue