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:
11
Java/ProjectModels/Visualizer/Screen.java
Normal file
11
Java/ProjectModels/Visualizer/Screen.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package Visualizer;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
|
||||
public class Screen extends JPanel {
|
||||
public Screen(LayoutManager l) {
|
||||
this.setLayout(l);
|
||||
this.setVisible(true);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user