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:
@@ -1,15 +1,30 @@
|
||||
|
||||
import javax.swing.UIManager;
|
||||
import javax.swing.*;
|
||||
|
||||
import CognitiveModel.ModelFiles.*;
|
||||
import Visualizer.Screen;
|
||||
import Visualizer.ScreenFrame;
|
||||
import Visualizer.ScreenManager;
|
||||
import Visualizer.visualizer;
|
||||
|
||||
import java.awt.*;
|
||||
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
|
||||
// Encapsulation (or lack thereof) Test
|
||||
Model m = new Model();
|
||||
testprocess1 tp1 = new testprocess1(m, null);
|
||||
testprocess1 tp1 = new testprocess1();
|
||||
tp1.runProcess();
|
||||
|
||||
// Screen s2 = new Screen(new GridLayout(1,2));
|
||||
// s2.add(t3);
|
||||
// s2.add(t4);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// testprocess2 tp2 = new testprocess2(m, null);
|
||||
// tp2.runProcess();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user