summaryrefslogtreecommitdiff
path: root/utils/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'utils/src/main/java')
-rw-r--r--utils/src/main/java/at/gv/egiz/updater/Constants.java (renamed from utils/src/main/java/at/gv/egiz/upater/Constants.java)2
-rw-r--r--utils/src/main/java/at/gv/egiz/updater/MoccaUpdater.java (renamed from utils/src/main/java/at/gv/egiz/upater/MoccaUpdater.java)2
-rw-r--r--utils/src/main/java/at/gv/egiz/updater/NewVersionDialog.java (renamed from utils/src/main/java/at/gv/egiz/upater/NewVersionDialog.java)5
-rw-r--r--utils/src/main/java/at/gv/egiz/updater/VersionComparator.java (renamed from utils/src/main/java/at/gv/egiz/upater/VersionComparator.java)2
4 files changed, 5 insertions, 6 deletions
diff --git a/utils/src/main/java/at/gv/egiz/upater/Constants.java b/utils/src/main/java/at/gv/egiz/updater/Constants.java
index 5a610039..e836bae7 100644
--- a/utils/src/main/java/at/gv/egiz/upater/Constants.java
+++ b/utils/src/main/java/at/gv/egiz/updater/Constants.java
@@ -1,4 +1,4 @@
-package at.gv.egiz.upater;
+package at.gv.egiz.updater;
public class Constants {
diff --git a/utils/src/main/java/at/gv/egiz/upater/MoccaUpdater.java b/utils/src/main/java/at/gv/egiz/updater/MoccaUpdater.java
index c6907acd..1e1bc6c6 100644
--- a/utils/src/main/java/at/gv/egiz/upater/MoccaUpdater.java
+++ b/utils/src/main/java/at/gv/egiz/updater/MoccaUpdater.java
@@ -1,4 +1,4 @@
-package at.gv.egiz.upater;
+package at.gv.egiz.updater;
import java.io.BufferedReader;
import java.io.IOException;
diff --git a/utils/src/main/java/at/gv/egiz/upater/NewVersionDialog.java b/utils/src/main/java/at/gv/egiz/updater/NewVersionDialog.java
index 2199b7f7..2765bc84 100644
--- a/utils/src/main/java/at/gv/egiz/upater/NewVersionDialog.java
+++ b/utils/src/main/java/at/gv/egiz/updater/NewVersionDialog.java
@@ -1,4 +1,4 @@
-package at.gv.egiz.upater;
+package at.gv.egiz.updater;
import java.awt.BorderLayout;
import java.awt.Desktop;
@@ -19,7 +19,6 @@ import javax.swing.JLabel;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.image.BufferedImage;
-import java.io.File;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
@@ -60,7 +59,7 @@ public class NewVersionDialog extends JDialog {
contentPanel.setBorder(new EmptyBorder(5, 5, 5, 5));
getContentPane().add(contentPanel, BorderLayout.CENTER);
contentPanel.setLayout(null);
- BufferedImage myPicture = ImageIO.read(new File("C:/Users/aabraham/Downloads/information-icon.png"));
+ BufferedImage myPicture = ImageIO.read(getClass().getResource("/at/gv/egiz/updater/information-icon.png"));
ImageIcon icon = new ImageIcon(myPicture.getScaledInstance(50, 50, Image.SCALE_SMOOTH));
{
JLabel lblNewVersion = new JLabel("New Mocca Version " + version + " available.");
diff --git a/utils/src/main/java/at/gv/egiz/upater/VersionComparator.java b/utils/src/main/java/at/gv/egiz/updater/VersionComparator.java
index c1196cf7..19a96a68 100644
--- a/utils/src/main/java/at/gv/egiz/upater/VersionComparator.java
+++ b/utils/src/main/java/at/gv/egiz/updater/VersionComparator.java
@@ -13,7 +13,7 @@
* See the Licence for the specific language governing permissions and
* limitations under the Licence.
*/
-package at.gv.egiz.upater;
+package at.gv.egiz.updater;
// Imports
import java.util.Comparator;