mbien commented on code in PR #9303:
URL: https://github.com/apache/netbeans/pull/9303#discussion_r3018020501


##########
platform/core.startup/src/org/netbeans/core/startup/Splash.java:
##########
@@ -265,17 +284,91 @@ public void flushCaches(DataOutputStream os) throws 
IOException {
     @Override
     public void cacheReady() {
     }
+    
+    private static void onEDT(Runnable edtAction) {
+        if (SwingUtilities.isEventDispatchThread()) {
+            edtAction.run();
+        } else {
+            SwingUtilities.invokeLater(edtAction);
+        }
+    }
+
+    private static class Progress {

Review Comment:
   its state is mutable. so record would be difficult to use here.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to