icons fix
parent
f9fb48a3f4
commit
00a96494e6
Binary file not shown.
Binary file not shown.
|
@ -14,6 +14,7 @@ public class Main extends JFrame {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
Main main = new Main("35a75437476f12302f72e55d368485db");
|
Main main = new Main("35a75437476f12302f72e55d368485db");
|
||||||
}
|
}
|
||||||
|
|
||||||
private Application facade;
|
private Application facade;
|
||||||
|
|
||||||
private JFrame jframe;
|
private JFrame jframe;
|
||||||
|
@ -524,7 +525,7 @@ public class Main extends JFrame {
|
||||||
searchConfirmButton.setPreferredSize(new Dimension(150, 80));
|
searchConfirmButton.setPreferredSize(new Dimension(150, 80));
|
||||||
searchConfirmButton.setFocusable(false);
|
searchConfirmButton.setFocusable(false);
|
||||||
|
|
||||||
ImageIcon icon = png("/lupe.png", 20, 20);
|
ImageIcon icon = png("/magnifier.png", 20, 20);
|
||||||
searchConfirmButton.setIcon(icon);
|
searchConfirmButton.setIcon(icon);
|
||||||
searchConfirmButton.setText(" Suche");
|
searchConfirmButton.setText(" Suche");
|
||||||
searchConfirmButton.setIconTextGap(3);
|
searchConfirmButton.setIconTextGap(3);
|
||||||
|
@ -654,7 +655,7 @@ public class Main extends JFrame {
|
||||||
randDestinationsCarButton.setPreferredSize(new Dimension(150, 80));
|
randDestinationsCarButton.setPreferredSize(new Dimension(150, 80));
|
||||||
randDestinationsCarButton.setFocusable(false);
|
randDestinationsCarButton.setFocusable(false);
|
||||||
|
|
||||||
ImageIcon icon = png("/auto.png", 20, 20);
|
ImageIcon icon = png("/car.png", 20, 20);
|
||||||
randDestinationsCarButton.setIcon(icon);
|
randDestinationsCarButton.setIcon(icon);
|
||||||
randDestinationsCarButton.setText("Kurztrip");
|
randDestinationsCarButton.setText("Kurztrip");
|
||||||
randDestinationsCarButton.setIconTextGap(3);
|
randDestinationsCarButton.setIconTextGap(3);
|
||||||
|
@ -759,7 +760,7 @@ public class Main extends JFrame {
|
||||||
randDestinationsBikeButton.setPreferredSize(new Dimension(150, 80));
|
randDestinationsBikeButton.setPreferredSize(new Dimension(150, 80));
|
||||||
randDestinationsBikeButton.setFocusable(false);
|
randDestinationsBikeButton.setFocusable(false);
|
||||||
|
|
||||||
ImageIcon icon = png("/fahrrad.png", 20, 20);
|
ImageIcon icon = png("/bike.png", 20, 20);
|
||||||
randDestinationsBikeButton.setIcon(icon);
|
randDestinationsBikeButton.setIcon(icon);
|
||||||
randDestinationsBikeButton.setText("Kurztrip");
|
randDestinationsBikeButton.setText("Kurztrip");
|
||||||
randDestinationsBikeButton.setIconTextGap(3);
|
randDestinationsBikeButton.setIconTextGap(3);
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 7.5 KiB |
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
Binary file not shown.
After Width: | Height: | Size: 9.4 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.4 KiB |
Binary file not shown.
Before Width: | Height: | Size: 5.8 KiB |
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
Loading…
Reference in New Issue