Skip to content

Commit 67dc5b4

Browse files
committed
U move all resources to resources folder
1 parent 70cbcf7 commit 67dc5b4

File tree

16 files changed

+4
-4
lines changed

16 files changed

+4
-4
lines changed

src/main/java/fvarrui/makinito/config/Config.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
public class Config {
66

7-
private static final ResourceBundle BUNDLE = ResourceBundle.getBundle("fvarrui.makinito.config.config");
7+
private static final ResourceBundle BUNDLE = ResourceBundle.getBundle("config/config");
88

99
public static String getVersion() {
1010
return BUNDLE.getString("makinito.version");

src/main/java/fvarrui/makinito/hardware/Decoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*/
2626
public class Decoder extends Component {
2727

28-
private static final String INSTRUCTION_SET_FILE = "/fvarrui/makinito/hardware/microcode/microcode.xml";
28+
private static final String INSTRUCTION_SET_FILE = "/microcode/microcode.xml";
2929

3030
private FlagRegister flagsRegister; // registro de estado
3131
private Register decoderInstructionRegister; // registro de instrucción del decodificador

src/main/java/fvarrui/makinito/i18n/Messages.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*/
1414
public class Messages {
1515

16-
private static final ResourceBundle BUNDLE = ResourceBundle.getBundle("fvarrui.makinito.i18n.messages");
16+
private static final ResourceBundle BUNDLE = ResourceBundle.getBundle("i18n/messages");
1717

1818
public static String getString(String key) {
1919
try {

src/main/java/fvarrui/makinito/ui/resources/Icons.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class Icons {
1616
public static final ImageIcon RELOAD = loadIcon("reload-24.png");
1717

1818
public static ImageIcon loadIcon(String name) {
19-
return new ImageIcon(Icons.class.getResource(name));
19+
return new ImageIcon(Icons.class.getResource("/icons/" + name));
2020
}
2121

2222
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)