Somehow fixed the problem with the timer activating too soon by changing the timer start to when it is in the "inner process" of the main method
This commit is contained in:
15
Java/ProjectModels/Visualizer/StartScreen.java
Normal file
15
Java/ProjectModels/Visualizer/StartScreen.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package Visualizer;
|
||||
|
||||
import javax.swing.*;
|
||||
|
||||
public class StartScreen extends JPanel {
|
||||
|
||||
public StartScreen() {
|
||||
JLabel l = new JLabel();
|
||||
l.setText("Hello");
|
||||
l.setVisible(true);
|
||||
this.add(l);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user