GUI Test erstellt

This commit is contained in:
Michelle Angorn 2021-11-09 11:07:55 +01:00
parent 2f2bc370d9
commit 8fcee3f4e7
2 changed files with 27 additions and 3 deletions

View File

@ -1,13 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="TetrisTest">
<grid id="27dc6" row-count="1" column-count="1" layout-manager="GridLayoutManager">
<grid id="27dc6" binding="panel1" default-binding="true" layout-manager="GridLayoutManager" row-count="1" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="0" left="0" bottom="0" right="0"/>
<constraints>
<xy x="20" y="20" width="500" height="400"/>
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
</constraints>
<properties/>
<border type="none"/>
<children/>
<children>
<grid id="2d778" layout-manager="GridLayoutManager" row-count="1" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="0" left="0" bottom="0" right="0"/>
<constraints>
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<background color="-14728954"/>
</properties>
<border type="none"/>
<children>
<component id="86903" class="javax.swing.JLabel">
<constraints>
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="1" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<font name="72 Black" size="36" style="1"/>
<text value="TETRIS"/>
</properties>
</component>
</children>
</grid>
</children>
</grid>
</form>

View File

@ -1,2 +1,5 @@
import javax.swing.*;
public class TetrisTest {
private JPanel panel1;
}