Task #256648 - Shortly after creating Setuptools project, Netbeans terminates with no explanation or log entry
authorLou Dasaro <mr_lou_d@netbeans.org>
Wed, 18 Nov 2015 14:23:53 -0600
changeset 183500d708f410e23
parent 18349 64287cb42f3a
child 18351 4516e1646b0b
Task #256648 - Shortly after creating Setuptools project, Netbeans terminates with no explanation or log entry
Removed unsightly popup message that also appeared when Cancel was pressed on Windows
python.project2/src/org/netbeans/modules/python/project2/templates/EmptyPythonProjectPanelVisual.java
     1.1 --- a/python.project2/src/org/netbeans/modules/python/project2/templates/EmptyPythonProjectPanelVisual.java	Tue Nov 17 12:10:19 2015 -0600
     1.2 +++ b/python.project2/src/org/netbeans/modules/python/project2/templates/EmptyPythonProjectPanelVisual.java	Wed Nov 18 14:23:53 2015 -0600
     1.3 @@ -11,8 +11,6 @@
     1.4  import javax.swing.event.DocumentListener;
     1.5  import javax.swing.text.Document;
     1.6  import org.netbeans.spi.project.ui.support.ProjectChooser;
     1.7 -import org.openide.DialogDisplayer;
     1.8 -import org.openide.NotifyDescriptor;
     1.9  import org.openide.WizardDescriptor;
    1.10  import org.openide.WizardValidationException;
    1.11  import org.openide.filesystems.FileUtil;
    1.12 @@ -25,13 +23,6 @@
    1.13  
    1.14      public EmptyPythonProjectPanelVisual(PanelConfigureProject panel) {
    1.15          
    1.16 -        boolean bIsWindows = Utilities.isWindows();
    1.17 -        if( bIsWindows) {
    1.18 -            NotifyDescriptor message = new NotifyDescriptor.Message(
    1.19 -                    "Cannot create setuptools project for Windows. Press Cancel",
    1.20 -                    NotifyDescriptor.ERROR_MESSAGE); // invalid
    1.21 -            DialogDisplayer.getDefault().notify(message);            
    1.22 -        } 
    1.23          initComponents();
    1.24          this.panel = panel;
    1.25          // Register listener on the textFields to make the automatic updates