diff --git a/src/net/agspace/Main.java b/src/net/agspace/Main.java index 2816e7c..11f874a 100644 --- a/src/net/agspace/Main.java +++ b/src/net/agspace/Main.java @@ -13,9 +13,11 @@ import java.awt.*; public class Main { public static final String TITLE = "Tengwar Typewriter"; + public static final String ICON_PATH = "resources/icon.png"; public static void main(String[] args){ JFrame f = new JFrame(TITLE); + f.setIconImage(Toolkit.getDefaultToolkit().createImage(ClassLoader.getSystemResource(ICON_PATH))); f.setContentPane(new Window().getMainPanel()); f.pack(); f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); diff --git a/src/net/agspace/Window.form b/src/net/agspace/Window.form index 1b130e4..3ec58f2 100644 --- a/src/net/agspace/Window.form +++ b/src/net/agspace/Window.form @@ -3,7 +3,7 @@ - + @@ -140,8 +140,9 @@ - @@ -150,8 +151,9 @@ - @@ -169,8 +171,9 @@ - diff --git a/src/resources/clear.png b/src/resources/clear.png new file mode 100644 index 0000000..ab30f2c Binary files /dev/null and b/src/resources/clear.png differ diff --git a/src/resources/toEnglish.png b/src/resources/toEnglish.png new file mode 100644 index 0000000..6ab6501 Binary files /dev/null and b/src/resources/toEnglish.png differ diff --git a/src/resources/toTengwar.png b/src/resources/toTengwar.png new file mode 100644 index 0000000..d6b7276 Binary files /dev/null and b/src/resources/toTengwar.png differ