добавил картинки на слайды
This commit is contained in:
parent
88f057c2fa
commit
435ed2cad9
@ -14,10 +14,14 @@ public class Main {
|
||||
AirplaneWithRadarFrame.setResizable(false);
|
||||
DrawningAirplaneWithRadar DrawningEntityAirplaneWithRadar = new DrawningAirplaneWithRadar();
|
||||
AirplaneWithRadarPanel.setLayout(null);
|
||||
JButton RightButton = new JButton("→");
|
||||
JButton LeftButton = new JButton("←");
|
||||
JButton UpButton = new JButton("↑");
|
||||
JButton DownButton = new JButton("↓");
|
||||
BufferedImage RightIcon = ImageIO.read(new File("RightButton.png"));
|
||||
BufferedImage LeftIcon = ImageIO.read(new File("LeftButton.png"));
|
||||
BufferedImage UpIcon = ImageIO.read(new File("UpButton.png"));
|
||||
BufferedImage DownIcon = ImageIO.read(new File("DownButton.png"));
|
||||
JButton RightButton = new JButton(new ImageIcon(RightIcon));
|
||||
JButton LeftButton = new JButton(new ImageIcon(LeftIcon));
|
||||
JButton UpButton = new JButton(new ImageIcon(UpIcon));
|
||||
JButton DownButton = new JButton(new ImageIcon(DownIcon));
|
||||
JButton CreateButton = new JButton();
|
||||
CreateButton.setText("Создать");
|
||||
CreateButton.setBounds(12, 401, 90, 40);
|
||||
|
Loading…
Reference in New Issue
Block a user