Aggiunta la prima bozza di design con javaSwing
This commit is contained in:
parent
9452766525
commit
ab9cf96094
|
@ -0,0 +1,14 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="com.mrsl1d3r.wordle.grafica.designMain">
|
||||||
|
<grid id="27dc6" binding="panel1" default-binding="true" layout-manager="CardLayout" hgap="200" vgap="200">
|
||||||
|
<constraints>
|
||||||
|
<xy x="20" y="20" width="2048" height="1440"/>
|
||||||
|
</constraints>
|
||||||
|
<properties>
|
||||||
|
<background color="-1"/>
|
||||||
|
<enabled value="true"/>
|
||||||
|
</properties>
|
||||||
|
<border type="none"/>
|
||||||
|
<children/>
|
||||||
|
</grid>
|
||||||
|
</form>
|
|
@ -0,0 +1,16 @@
|
||||||
|
package com.mrsl1d3r.wordle.grafica;
|
||||||
|
|
||||||
|
import javax.swing.*;
|
||||||
|
import java.awt.*;
|
||||||
|
|
||||||
|
public class designMain extends JFrame {
|
||||||
|
private JPanel panel1;
|
||||||
|
|
||||||
|
public designMain() {
|
||||||
|
setTitle("Design Main");
|
||||||
|
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||||
|
setContentPane(panel1);
|
||||||
|
pack();
|
||||||
|
setLocationRelativeTo(null);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue