You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The approach the Sim Control Panel takes to display error messages is a little scattered. In some places, there is a JOptionPane popup, while, in others, it prints the message directly to the status message pane. Also, with the latter method, there is a possibility that the error will be printed to standard output. I see no reason why there should be two methods, with a possible third, when we can consolidate it into one. I've included examples of both instances below.
The approach the Sim Control Panel takes to display error messages is a little scattered. In some places, there is a JOptionPane popup, while, in others, it prints the message directly to the status message pane. Also, with the latter method, there is a possibility that the error will be printed to standard output. I see no reason why there should be two methods, with a possible third, when we can consolidate it into one. I've included examples of both instances below.
trick/trick_source/java/src/main/java/trick/simcontrol/SimControlApplication.java
Lines 373 to 375 in 6bbd4ea
trick/trick_source/java/src/main/java/trick/simcontrol/SimControlApplication.java
Lines 621 to 623 in 6bbd4ea
trick/trick_source/java/src/main/java/trick/simcontrol/SimControlApplication.java
Lines 350 to 354 in 6bbd4ea
trick/trick_source/java/src/main/java/trick/simcontrol/SimControlApplication.java
Lines 361 to 365 in 6bbd4ea
The text was updated successfully, but these errors were encountered: