From 656dbd097576f1c851a9ac2b8491540e58cff942 Mon Sep 17 00:00:00 2001 From: Downforce Agent Date: Fri, 12 Jul 2024 13:16:27 -0500 Subject: [PATCH] ernie tweaks --- firestar/src/main/java/Ernie.form | 37 ++++++++++++++++++++++++++----- firestar/src/main/java/Ernie.java | 2 ++ firestar/src/main/java/Main.java | 2 +- 3 files changed, 35 insertions(+), 6 deletions(-) diff --git a/firestar/src/main/java/Ernie.form b/firestar/src/main/java/Ernie.form index 53fe2b9..c58f948 100644 --- a/firestar/src/main/java/Ernie.form +++ b/firestar/src/main/java/Ernie.form @@ -1,11 +1,14 @@
- + - + + + + @@ -13,6 +16,8 @@ + + @@ -21,7 +26,9 @@ - + + + @@ -29,7 +36,9 @@ - + + + @@ -41,6 +50,11 @@ + + + + + @@ -53,6 +67,11 @@ + + + + + @@ -68,6 +87,8 @@ + + @@ -76,6 +97,8 @@ + + @@ -90,7 +113,11 @@ - + + + + + diff --git a/firestar/src/main/java/Ernie.java b/firestar/src/main/java/Ernie.java index 0de61f2..dd0095c 100644 --- a/firestar/src/main/java/Ernie.java +++ b/firestar/src/main/java/Ernie.java @@ -71,6 +71,7 @@ public class Ernie implements ActionListener, Runnable { surebtn.addActionListener(this); changelogDisplay.setEditable(false); changelogDisplay.setPage(changelog); + changelogDisplay.putClientProperty(JEditorPane.HONOR_DISPLAY_PROPERTIES, Boolean.TRUE); // makes text smaller than joe biden's windmill if font set manually. wtf?? frame.setTitle("An update is available!"); frame.setSize(450, 400); @@ -95,6 +96,7 @@ public class Ernie implements ActionListener, Runnable { String releasepage = "https://git.worlio.com/bonkmaykr/firestar/releases"; try { Desktop.getDesktop().browse(new URI(releasepage)); + frame.dispose(); } catch (Exception ex) { JOptionPane.showMessageDialog(frame, "Couldn't open your web browser!\nYou can check out the latest release at the URL below:\n"+releasepage, "Error", JOptionPane.ERROR_MESSAGE); } diff --git a/firestar/src/main/java/Main.java b/firestar/src/main/java/Main.java index aaf33d0..5fed180 100644 --- a/firestar/src/main/java/Main.java +++ b/firestar/src/main/java/Main.java @@ -31,7 +31,7 @@ public class Main { // Build Information public static final String vstr = "Release 1.3"; public static final String vcode = "Tetsuo"; - public static final String vtag = "tetsuo-1.3"; + public static final String vtag = "dekka-1.1"; //tetsuo-1.3 public static final int vint = 1; // User Settings