arusinha commented on a change in pull request #2015:
URL: https://github.com/apache/netbeans/pull/2015#discussion_r419448751



##########
File path: 
nbi/engine/src/org/netbeans/installer/wizard/containers/SwingFrameContainer.java
##########
@@ -418,23 +419,28 @@ public void actionPerformed(ActionEvent event) {
     
     private void initializeMacOS() {
         if (SystemUtils.isMacOS()) {
-            final Application application = Application.getApplication();
-            if(application == null) {
-                // e.g. running OpenJDK port via X11 on Mac OS X
-                return;
+            if 
(!initializeMacJDK("org.netbeans.installer.wizard.containers.initializeMacJDK8"))
 { // NOI18N

Review comment:
       If there is not much significant difference in look & feel UI , we can 
then  use Desktop class in JDk8 also instead of Application class.




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

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