Refactor + a few improvements to UI #8
|
@ -104,7 +104,7 @@ public class LoaderGui extends JFrame {
|
||||||
|
|
||||||
private static void exec(Consumer<LoaderGui> init, boolean keepRunning) {
|
private static void exec(Consumer<LoaderGui> init, boolean keepRunning) {
|
||||||
try {
|
try {
|
||||||
// UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
|
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
|
||||||
|
|
||||||
// calling countDown just once will resume execution on this thread
|
// calling countDown just once will resume execution on this thread
|
||||||
CountDownLatch latch = new CountDownLatch(1);
|
CountDownLatch latch = new CountDownLatch(1);
|
||||||
|
|
Loading…
Reference in a new issue