Fixed Git ignore and added icon
This commit is contained in:
parent
33673a05e8
commit
736f7ef2f8
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,3 +9,4 @@ build
|
|||||||
/data
|
/data
|
||||||
/backup
|
/backup
|
||||||
/output
|
/output
|
||||||
|
*.zip
|
@ -83,6 +83,7 @@ public class MapPanel extends JPanel {
|
|||||||
public static void main(String...args) {
|
public static void main(String...args) {
|
||||||
Toolkit.getDefaultToolkit().setDynamicLayout(false);
|
Toolkit.getDefaultToolkit().setDynamicLayout(false);
|
||||||
JFrame frame = new JFrame();
|
JFrame frame = new JFrame();
|
||||||
|
frame.setIconImage(new ImageIcon(MapPanel.class.getResource("/assets/images/icon.png")).getImage());
|
||||||
frame.setLayout(new BorderLayout());
|
frame.setLayout(new BorderLayout());
|
||||||
frame.setBounds(0, 0, 800, 600);
|
frame.setBounds(0, 0, 800, 600);
|
||||||
frame.setTitle("Mario Kart World Progress Tracker");
|
frame.setTitle("Mario Kart World Progress Tracker");
|
||||||
|
BIN
src/main/resources/assets/images/icon.png
Normal file
BIN
src/main/resources/assets/images/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.0 MiB |
Loading…
x
Reference in New Issue
Block a user