mirror of
https://github.com/FatttSnake/ClassroomInteraction.git
synced 2026-04-06 05:01:27 +08:00
Optimize project structure, add log4j2.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package com.cfive.classroom.student;
|
||||
|
||||
import com.cfive.classroom.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.library.net.Test.run();
|
||||
Test.run();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user