Java no response from other classes
问题 I have this GUI program where I'm trying to basically copy windows CMD. Since I have lots of features in this program, I decided to put parts of the code in different classes. But it doesn't respond. if(command.size()<2 && command.size()>0) { switch(command.get(0)) { case "dt": getDateTime a = new getDateTime(); a.Start(); break; // other case(s) down below } } Here is the geDateTime class public class getDateTime { public static void Start() { Terminal t = new Terminal(); try { DateFormat