Доработал кнопки передвижения

This commit is contained in:
gettterot 2024-05-15 06:22:43 +04:00
parent 5929ff30b4
commit e8368ccba9
9 changed files with 5 additions and 2 deletions

View File

@ -29,14 +29,17 @@ public class FormLiner extends JFrame {
Width = getWidth() - 15; Width = getWidth() - 15;
Height = getHeight() - 35; Height = getHeight() - 35;
Dimension dimen = new Dimension(50, 50);
CreateButton.setName("CREATE"); CreateButton.setName("CREATE");
Icon iconUp = new ImageIcon( Icon iconUp = new ImageIcon(
"E:\\Проекты\\ООП Java\\Pibd_13_Fathutdinov.A.I_Hard\\ProjectLiner\\src\\images\\top.png"); "E:\\Проекты\\ООП Java\\Pibd_13_Fathutdinov.A.I_Hard\\ProjectLiner\\src\\images\\up.png");
UpButton.setIcon(iconUp); UpButton.setIcon(iconUp);
UpButton.setName("UP"); UpButton.setName("UP");
UpButton.setPreferredSize(dimen);
DownButton.setName("DOWN"); DownButton.setName("DOWN");
Icon iconDown = new ImageIcon( Icon iconDown = new ImageIcon(
"E:\\Проекты\\ООП Java\\Pibd_13_Fathutdinov.A.I_Hard\\ProjectLiner\\src\\images\\bottom.png"); "E:\\Проекты\\ООП Java\\Pibd_13_Fathutdinov.A.I_Hard\\ProjectLiner\\src\\images\\down.png");
DownButton.setIcon(iconDown); DownButton.setIcon(iconDown);
LeftButton.setName("LEFT"); LeftButton.setName("LEFT");
Icon iconLeft = new ImageIcon( Icon iconLeft = new ImageIcon(

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 285 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 282 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 B