original commit
This commit is contained in:
17
src/View.java
Normal file
17
src/View.java
Normal file
@@ -0,0 +1,17 @@
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
import java.awt.event.MouseAdapter;
|
||||
|
||||
public class View extends JFrame {
|
||||
|
||||
public View(){
|
||||
setLocationRelativeTo(null);
|
||||
setSize(new Dimension(1920, 1080));
|
||||
CustomPanel p = new CustomPanel();
|
||||
CustomListener c = new CustomListener();
|
||||
|
||||
|
||||
add(p);
|
||||
setDefaultCloseOperation(EXIT_ON_CLOSE);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user