IT AINT BROKEN NOW (jar still broken)
This commit is contained in:
21
src/main/java/org/bootcamp/TrafficLights/Sign.java
Normal file
21
src/main/java/org/bootcamp/TrafficLights/Sign.java
Normal file
@@ -0,0 +1,21 @@
|
||||
package org.bootcamp.TrafficLights;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Dimension;
|
||||
import java.awt.GridLayout;
|
||||
import javax.swing.JFrame;
|
||||
|
||||
/** Sign */
|
||||
public class Sign extends JFrame {
|
||||
Light TestLight;
|
||||
|
||||
Sign() {
|
||||
|
||||
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
this.setLayout(new GridLayout(4, 1));
|
||||
this.setPreferredSize(new Dimension(300, 300));
|
||||
this.setLocationRelativeTo(null);
|
||||
this.setVisible(true);
|
||||
this.setBackground(Color.BLACK);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user