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


##########
java/java.hints/src/org/netbeans/modules/java/hints/introduce/IntroduceMethodPanel.java:
##########
@@ -254,6 +253,7 @@ private Preferences getPreferences() {
     
     public void setOkButton( JButton btn ) {
         this.btnOk = btn;
+        changeSupport.run();

Review Comment:
   so i debugged this and the whole panel initialization runs off-EDT(!), this 
call included ;)
   
   What I did though to not make it worse: I removed this call to `run()` 
again, and triggered (async)validation when the default value is set.



-- 
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