|
1 | | -package the.bytecode.club.jda; |
| 1 | +package club.bytecode.the.jda; |
2 | 2 |
|
3 | 3 | import org.imgscalr.Scalr; |
4 | 4 |
|
|
15 | 15 | */ |
16 | 16 |
|
17 | 17 | public class Resources { |
18 | | - public static ImageIcon nextIcon = new ImageIcon(Resources.class.getClass().getResource("/the/bytecode/club/jda/images/nextIcon.png")); |
19 | | - public static ImageIcon prevIcon = new ImageIcon(Resources.class.getClass().getResource("/the/bytecode/club/jda/images/prevIcon.png")); |
20 | | - public static ImageIcon busyIcon = new ImageIcon(Resources.class.getClass().getResource("/the/bytecode/club/jda/images/1.gif")); |
21 | | - public static ImageIcon busyB64Icon = new ImageIcon(Resources.class.getClass().getResource("/the/bytecode/club/jda/images/busyIcon2.gif")); |
22 | | - public static ImageIcon batIcon = new ImageIcon(Resources.class.getClass().getResource("/the/bytecode/club/jda/images/bat.png")); |
23 | | - public static ImageIcon shIcon = new ImageIcon(Resources.class.getClass().getResource("/the/bytecode/club/jda/images/sh.png")); |
24 | | - public static ImageIcon csharpIcon = new ImageIcon(Resources.class.getClass().getResource("/the/bytecode/club/jda/images/c#.png")); |
25 | | - public static ImageIcon cplusplusIcon = new ImageIcon(Resources.class.getClass().getResource("/the/bytecode/club/jda/images/c++.png")); |
26 | | - public static ImageIcon configIcon = new ImageIcon(Resources.class.getClass().getResource("/the/bytecode/club/jda/images/config.png")); |
27 | | - public static ImageIcon jarIcon = new ImageIcon(Resources.class.getClass().getResource("/the/bytecode/club/jda/images/jar.png")); |
28 | | - public static ImageIcon zipIcon = new ImageIcon(Resources.class.getClass().getResource("/the/bytecode/club/jda/images/zip.png")); |
29 | | - public static ImageIcon packagesIcon = new ImageIcon(Resources.class.getClass().getResource("/the/bytecode/club/jda/images/package.png")); |
30 | | - public static ImageIcon folderIcon = new ImageIcon(Resources.class.getClass().getResource("/the/bytecode/club/jda/images/folder.png")); |
31 | | - public static ImageIcon fileIcon = new ImageIcon(Resources.class.getClass().getResource("/the/bytecode/club/jda/images/file.png")); |
32 | | - public static ImageIcon textIcon = new ImageIcon(Resources.class.getClass().getResource("/the/bytecode/club/jda/images/text.png")); |
33 | | - public static ImageIcon classIcon = new ImageIcon(Resources.class.getClass().getResource("/the/bytecode/club/jda/images/class.png")); |
34 | | - public static ImageIcon imageIcon = new ImageIcon(Resources.class.getClass().getResource("/the/bytecode/club/jda/images/image.png")); |
35 | | - public static ImageIcon decodedIcon = new ImageIcon(Resources.class.getClass().getResource("/the/bytecode/club/jda/images/decoded.png")); |
36 | | - public static ImageIcon javaIcon = new ImageIcon(Resources.class.getClass().getResource("/the/bytecode/club/jda/images/java.png")); |
37 | | - |
38 | | - public static ImageIcon fileNavigatorIcon = new ImageIcon(Resources.class.getClass().getResource("/the/bytecode/club/jda/images/icon.png")); |
| 18 | + public static ImageIcon nextIcon = new ImageIcon(Resources.class.getClass().getResource("/club/bytecode/the/jda/images/nextIcon.png")); |
| 19 | + public static ImageIcon prevIcon = new ImageIcon(Resources.class.getClass().getResource("/club/bytecode/the/jda/images/prevIcon.png")); |
| 20 | + public static ImageIcon busyIcon = new ImageIcon(Resources.class.getClass().getResource("/club/bytecode/the/jda/images/1.gif")); |
| 21 | + public static ImageIcon busyB64Icon = new ImageIcon(Resources.class.getClass().getResource("/club/bytecode/the/jda/images/busyIcon2.gif")); |
| 22 | + public static ImageIcon batIcon = new ImageIcon(Resources.class.getClass().getResource("/club/bytecode/the/jda/images/bat.png")); |
| 23 | + public static ImageIcon shIcon = new ImageIcon(Resources.class.getClass().getResource("/club/bytecode/the/jda/images/sh.png")); |
| 24 | + public static ImageIcon csharpIcon = new ImageIcon(Resources.class.getClass().getResource("/club/bytecode/the/jda/images/c#.png")); |
| 25 | + public static ImageIcon cplusplusIcon = new ImageIcon(Resources.class.getClass().getResource("/club/bytecode/the/jda/images/c++.png")); |
| 26 | + public static ImageIcon configIcon = new ImageIcon(Resources.class.getClass().getResource("/club/bytecode/the/jda/images/config.png")); |
| 27 | + public static ImageIcon jarIcon = new ImageIcon(Resources.class.getClass().getResource("/club/bytecode/the/jda/images/jar.png")); |
| 28 | + public static ImageIcon zipIcon = new ImageIcon(Resources.class.getClass().getResource("/club/bytecode/the/jda/images/zip.png")); |
| 29 | + public static ImageIcon packagesIcon = new ImageIcon(Resources.class.getClass().getResource("/club/bytecode/the/jda/images/package.png")); |
| 30 | + public static ImageIcon folderIcon = new ImageIcon(Resources.class.getClass().getResource("/club/bytecode/the/jda/images/folder.png")); |
| 31 | + public static ImageIcon fileIcon = new ImageIcon(Resources.class.getClass().getResource("/club/bytecode/the/jda/images/file.png")); |
| 32 | + public static ImageIcon textIcon = new ImageIcon(Resources.class.getClass().getResource("/club/bytecode/the/jda/images/text.png")); |
| 33 | + public static ImageIcon classIcon = new ImageIcon(Resources.class.getClass().getResource("/club/bytecode/the/jda/images/class.png")); |
| 34 | + public static ImageIcon imageIcon = new ImageIcon(Resources.class.getClass().getResource("/club/bytecode/the/jda/images/image.png")); |
| 35 | + public static ImageIcon decodedIcon = new ImageIcon(Resources.class.getClass().getResource("/club/bytecode/the/jda/images/decoded.png")); |
| 36 | + public static ImageIcon javaIcon = new ImageIcon(Resources.class.getClass().getResource("/club/bytecode/the/jda/images/java.png")); |
| 37 | + |
| 38 | + public static ImageIcon fileNavigatorIcon = new ImageIcon(Resources.class.getClass().getResource("/club/bytecode/the/jda/images/icon.png")); |
39 | 39 |
|
40 | 40 | public static ArrayList<BufferedImage> iconList; |
41 | 41 | public static BufferedImage icon; |
42 | 42 |
|
43 | 43 | static { |
44 | 44 | try { |
45 | | - icon = ImageIO.read(Resources.class.getClass().getResourceAsStream("/the/bytecode/club/jda/images/icon.png")); |
| 45 | + icon = ImageIO.read(Resources.class.getClass().getResourceAsStream("/club/bytecode/the/jda/images/icon.png")); |
46 | 46 | } catch (IOException e) { |
47 | 47 | System.err.println("Failed to load program icon:"); |
48 | 48 | e.printStackTrace(); |
|
0 commit comments