remove background from "program" icon or replace icon #3435
This commit is contained in:
parent
16bd017852
commit
18658d847c
|
@ -108,7 +108,7 @@ public class ECUEditorToolBar extends JToolBar {
|
||||||
public void updateIcons() {
|
public void updateIcons() {
|
||||||
int iconScale = getSettings().getEditorIconScale();
|
int iconScale = getSettings().getEditorIconScale();
|
||||||
// saveImage.setIcon(rescaleImageIcon(new ImageIcon(getClass().getResource("/graphics/icon-save.png")), iconScale));
|
// saveImage.setIcon(rescaleImageIcon(new ImageIcon(getClass().getResource("/graphics/icon-save.png")), iconScale));
|
||||||
uploadImage.setIcon(rescaleImageIcon(new ImageIcon(getClass().getResource( "/upload48.jpg" )), iconScale));
|
uploadImage.setIcon(rescaleImageIcon(new ImageIcon(getClass().getResource( "/upload48.png" )), iconScale));
|
||||||
downloadImage.setIcon(rescaleImageIcon(new ImageIcon(getClass().getResource( "/download48.jpg" )), iconScale));
|
downloadImage.setIcon(rescaleImageIcon(new ImageIcon(getClass().getResource( "/download48.jpg" )), iconScale));
|
||||||
burnImage.setIcon(rescaleImageIcon(new ImageIcon(getClass().getResource( "/writeconfig48.jpg" )), iconScale));
|
burnImage.setIcon(rescaleImageIcon(new ImageIcon(getClass().getResource( "/writeconfig48.jpg" )), iconScale));
|
||||||
// closeImage.setIcon(rescaleImageIcon(new ImageIcon( getClass().getResource("/graphics/icon-close.png")), iconScale));
|
// closeImage.setIcon(rescaleImageIcon(new ImageIcon( getClass().getResource("/graphics/icon-close.png")), iconScale));
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.6 KiB |
|
@ -41,7 +41,7 @@ public class ProgramSelector {
|
||||||
mode.setSelectedItem(persistedMode);
|
mode.setSelectedItem(persistedMode);
|
||||||
|
|
||||||
JButton updateFirmware = new JButton("Update Firmware",
|
JButton updateFirmware = new JButton("Update Firmware",
|
||||||
AutoupdateUtil.loadIcon("upload48.jpg"));
|
AutoupdateUtil.loadIcon("upload48.png"));
|
||||||
controls.add(updateFirmware);
|
controls.add(updateFirmware);
|
||||||
|
|
||||||
updateFirmware.addActionListener(new ActionListener() {
|
updateFirmware.addActionListener(new ActionListener() {
|
||||||
|
|
Loading…
Reference in New Issue