Fix icons

This commit is contained in:
ShabOl 2023-11-28 21:24:07 +04:00
parent c24b588223
commit f16efd49cd

View File

@ -108,7 +108,7 @@ public class BomberForm extends JFrame
ButtonRight.setBackground(new Color(225, 225, 225));
ButtonRight.setFont(new Font("Segoe UI", Font.PLAIN, 11));
ButtonRight.setFocusable(false);
ButtonRight.setIcon(new ImageIcon("src/Resources/ArrowRight.png"));
ButtonRight.setIcon(new ImageIcon("src/AirBomber/Resources/ArrowRight.png"));
ButtonRight.addActionListener(e -> ButtonMove_Click(e));
//
// ButtonDown
@ -118,7 +118,7 @@ public class BomberForm extends JFrame
ButtonDown.setBackground(new Color(225, 225, 225));
ButtonDown.setFont(new Font("Segoe UI", Font.PLAIN, 11));
ButtonDown.setFocusable(false);
ButtonDown.setIcon(new ImageIcon("src/Resources/ArrowDown.png"));
ButtonDown.setIcon(new ImageIcon("src/AirBomber/Resources/ArrowDown.png"));
ButtonDown.addActionListener(e -> ButtonMove_Click(e));
//
// ButtonLeft
@ -128,7 +128,7 @@ public class BomberForm extends JFrame
ButtonLeft.setBackground(new Color(225, 225, 225));
ButtonLeft.setFont(new Font("Segoe UI", Font.PLAIN, 11));
ButtonLeft.setFocusable(false);
ButtonLeft.setIcon(new ImageIcon("src/Resources/ArrowLeft.png"));
ButtonLeft.setIcon(new ImageIcon("src/AirBomber/Resources/ArrowLeft.png"));
ButtonLeft.addActionListener(e -> ButtonMove_Click(e));
//
// ButtonUp
@ -138,7 +138,7 @@ public class BomberForm extends JFrame
ButtonUp.setBackground(new Color(225, 225, 225));
ButtonUp.setFont(new Font("Segoe UI", Font.PLAIN, 11));
ButtonUp.setFocusable(false);
ButtonUp.setIcon(new ImageIcon("src/Resources/ArrowUp.png"));
ButtonUp.setIcon(new ImageIcon("src/AirBomber/Resources/ArrowUp.png"));
ButtonUp.addActionListener(e -> ButtonMove_Click(e));
//
// BomberForm