mirror of
https://github.com/FatttSnake/ClassroomInteraction.git
synced 2026-04-06 03:31:26 +08:00
Init
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="com.cfive.classroom.interaction.student.MainWindow">
|
||||
<grid id="27dc6" binding="rootPanel" 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"/>
|
||||
</constraints>
|
||||
<properties/>
|
||||
<border type="none"/>
|
||||
<children/>
|
||||
</grid>
|
||||
</form>
|
||||
@@ -0,0 +1,21 @@
|
||||
package com.cfive.classroom.interaction.student;
|
||||
|
||||
import com.cfive.classroom.interaction.library.database.Test;
|
||||
|
||||
import javax.swing.*;
|
||||
|
||||
public class MainWindow {
|
||||
|
||||
private JPanel rootPanel;
|
||||
|
||||
public static void main(String[] args) {
|
||||
JFrame frame = new JFrame("MainWindow");
|
||||
frame.setContentPane(new MainWindow().rootPanel);
|
||||
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
frame.pack();
|
||||
frame.setVisible(true);
|
||||
|
||||
com.cfive.classroom.interaction.library.net.Test.run();
|
||||
Test.run();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user