Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #81 from tiwiz/update-ui-proguard
Browse files Browse the repository at this point in the history
Adds Proguard mapping icon
  • Loading branch information
borisf committed Apr 17, 2016
2 parents b71466e + 50bec81 commit e8f3492
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ public class IconSchemes {
public static final String NEXT_ICON_PATH = ROOT_PATH + "ic_next" + EXTENSION;
public static final String OPEN_ICON_PATH = ROOT_PATH + "ic_open" + EXTENSION;
public static final String EXPORT_ICON_PATH = ROOT_PATH + "ic_export" + EXTENSION;
public static final String MAPPING_ICON_PATH = ROOT_PATH + "ic_mappings" + EXTENSION;
}
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public void actionPerformed(ActionEvent e) {
private JButton buildMappingsButton() {

JButton result =
new JButton(new ImageIcon(getClass().getResource(IconSchemes.EXPORT_ICON_PATH)));
new JButton(new ImageIcon(getClass().getResource(IconSchemes.MAPPING_ICON_PATH)));

result.addActionListener(new ActionListener() {
@Override
Expand All @@ -211,7 +211,7 @@ public void actionPerformed(ActionEvent e) {
}
});

result.setToolTipText("Mappings");
result.setToolTipText("Import Proguard mapping file");
result.setBorderPainted(false);
result.setEnabled(true);

Expand Down
Binary file added ClassySharkWS/src/resources/ic_mappings.png
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 e8f3492

Please sign in to comment.