Установка правильных названий.

This commit is contained in:
Programmist73 2022-11-05 20:56:34 +04:00
parent 08ea99c93e
commit 98cf530e89
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="FormAirbus"> <form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="FormPlane">
<grid id="27dc6" binding="MainPanel" layout-manager="GridLayoutManager" row-count="3" column-count="7" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1"> <grid id="27dc6" binding="MainPanel" layout-manager="GridLayoutManager" row-count="3" column-count="7" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="0" left="0" bottom="0" right="0"/> <margin top="0" left="0" bottom="0" right="0"/>
<constraints> <constraints>

View File

@ -7,7 +7,7 @@ import java.awt.event.ComponentAdapter;
import java.awt.event.ComponentEvent; import java.awt.event.ComponentEvent;
import java.util.Random; import java.util.Random;
public class FormAirbus public class FormPlane
{ {
protected DrawingPlane plane; protected DrawingPlane plane;
@ -23,7 +23,7 @@ public class FormAirbus
private JLabel LabelWeight = new JLabel(); private JLabel LabelWeight = new JLabel();
private JLabel LabelColor = new JLabel(); private JLabel LabelColor = new JLabel();
public FormAirbus() public FormPlane()
{ {
//создание строки отображения скорости, веса и цвета объекта //создание строки отображения скорости, веса и цвета объекта
Box LableBox = Box.createHorizontalBox(); Box LableBox = Box.createHorizontalBox();