matthiasblaesing commented on pull request #3433:
URL: https://github.com/apache/netbeans/pull/3433#issuecomment-1013485125


   Oh - and if you want to test the code, I used this code from the "unittest" 
folder:
   
   ```java
   import javax.swing.SwingUtilities;
   import org.netbeans.modules.nativeexecution.api.ExecutionEnvironment;
   import org.netbeans.modules.nativeexecution.api.ExecutionEnvironmentFactory;
   import org.netbeans.modules.remote.api.ui.FileChooserBuilder;
   
   public class Main {
   
       public static void main(String[] args) {
           SwingUtilities.invokeLater(new Runnable() {
               @Override
               public void run() {
                   ExecutionEnvironment ee = 
ExecutionEnvironmentFactory.getLocal();
                   FileChooserBuilder fcb = new FileChooserBuilder(ee);
                   fcb.createFileChooser().showOpenDialog(null);
               }
           });
   
       }
   }
   ```
   
   Not sure if that is the intended usage, but it brings up the dialog and hits 
the right code paths.


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