diff --git a/ProjectAntiAircraftGun/src/FormAntiAircraftGun.java b/ProjectAntiAircraftGun/src/FormAntiAircraftGun.java index 053a582..5d4fd1a 100644 --- a/ProjectAntiAircraftGun/src/FormAntiAircraftGun.java +++ b/ProjectAntiAircraftGun/src/FormAntiAircraftGun.java @@ -11,7 +11,7 @@ public class FormAntiAircraftGun extends JFrame { private Dimension dimension; private int Width, Height; private CanvasAntiAircraftGun canvasAntiAircraftGun = new CanvasAntiAircraftGun(); - private JButton CreateButton = new JButton("Create");; + private JButton CreateButton = new JButton("Создать");; private JButton UpButton = new JButton(); private JButton DownButton = new JButton();; private JButton LeftButton = new JButton();; @@ -28,17 +28,17 @@ public class FormAntiAircraftGun extends JFrame { Height = getHeight() - 35; CreateButton.setName("CREATE"); - Icon iconUp = new ImageIcon("src\\images\\up.jpg"); + Icon iconUp = new ImageIcon("src/images/up.jpg"); UpButton.setIcon(iconUp); UpButton.setName("UP"); DownButton.setName("DOWN"); - Icon iconDown = new ImageIcon("src\\images\\down.jpg"); + Icon iconDown = new ImageIcon("src/images/down.jpg"); DownButton.setIcon(iconDown); LeftButton.setName("LEFT"); - Icon iconLeft = new ImageIcon("src\\images\\left.jpg"); + Icon iconLeft = new ImageIcon("src/images/left.jpg"); LeftButton.setIcon(iconLeft); RightButton.setName("RIGHT"); - Icon iconRight = new ImageIcon("src\\images\\right.jpg"); + Icon iconRight = new ImageIcon("src/images/right.jpg"); RightButton.setIcon(iconRight); CreateButton.addActionListener(new ActionListener() {