Skip to content

Commit

Permalink
Icon Changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Asyfero committed Dec 8, 2021
1 parent 5c1bd47 commit 6ecc24e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
Binary file not shown.
File renamed without changes.
Binary file not shown.
6 changes: 5 additions & 1 deletion src/fr/asyfero/gui/utilities/app.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,14 @@ public class app extends JFrame implements ActionListener {

public void start() {
// Create the gui/app
frame = new JFrame("App");
frame = new JFrame("Swinger");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setSize(300, 300);

// Put Icon
ImageIcon img = new ImageIcon("C:\\Users\\hp\\IdeaProjects\\Gui\\icon\\icon.png");
frame.setIconImage(img.getImage());

// Change the theme
try {
IntelliJTheme.setup(app.class.getResourceAsStream("/darcula_sombre.theme.json"));
Expand Down

0 comments on commit 6ecc24e

Please sign in to comment.