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.setBackground(new Color(225, 225, 225));
ButtonRight.setFont(new Font("Segoe UI", Font.PLAIN, 11)); ButtonRight.setFont(new Font("Segoe UI", Font.PLAIN, 11));
ButtonRight.setFocusable(false); 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)); ButtonRight.addActionListener(e -> ButtonMove_Click(e));
// //
// ButtonDown // ButtonDown
@ -118,7 +118,7 @@ public class BomberForm extends JFrame
ButtonDown.setBackground(new Color(225, 225, 225)); ButtonDown.setBackground(new Color(225, 225, 225));
ButtonDown.setFont(new Font("Segoe UI", Font.PLAIN, 11)); ButtonDown.setFont(new Font("Segoe UI", Font.PLAIN, 11));
ButtonDown.setFocusable(false); 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)); ButtonDown.addActionListener(e -> ButtonMove_Click(e));
// //
// ButtonLeft // ButtonLeft
@ -128,7 +128,7 @@ public class BomberForm extends JFrame
ButtonLeft.setBackground(new Color(225, 225, 225)); ButtonLeft.setBackground(new Color(225, 225, 225));
ButtonLeft.setFont(new Font("Segoe UI", Font.PLAIN, 11)); ButtonLeft.setFont(new Font("Segoe UI", Font.PLAIN, 11));
ButtonLeft.setFocusable(false); 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)); ButtonLeft.addActionListener(e -> ButtonMove_Click(e));
// //
// ButtonUp // ButtonUp
@ -138,7 +138,7 @@ public class BomberForm extends JFrame
ButtonUp.setBackground(new Color(225, 225, 225)); ButtonUp.setBackground(new Color(225, 225, 225));
ButtonUp.setFont(new Font("Segoe UI", Font.PLAIN, 11)); ButtonUp.setFont(new Font("Segoe UI", Font.PLAIN, 11));
ButtonUp.setFocusable(false); 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)); ButtonUp.addActionListener(e -> ButtonMove_Click(e));
// //
// BomberForm // BomberForm