Skip to content

Commit

Permalink
Add JD icons
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanue1 committed Apr 11, 2019
1 parent d0fdb21 commit ee820d1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/main/java/org/jd/gui/view/MainView.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import java.awt.event.*;
import java.io.*;
import java.net.URI;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.function.Consumer;
Expand Down Expand Up @@ -83,7 +84,7 @@ public MainView(
// Build GUI
invokeLater(() -> {
mainFrame = new JFrame("Java Decompiler");
mainFrame.setIconImage(getImage("/org/jd/gui/images/jd_icon_128.png"));
mainFrame.setIconImages(Arrays.asList(getImage("/org/jd/gui/images/jd_icon_16.png"), getImage("/org/jd/gui/images/jd_icon_32.png"), getImage("/org/jd/gui/images/jd_icon_64.png"), getImage("/org/jd/gui/images/jd_icon_128.png")));
mainFrame.setMinimumSize(new Dimension(Constants.MINIMAL_WIDTH, Constants.MINIMAL_HEIGHT));
mainFrame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ee820d1

Please sign in to comment.