Svatopluk Dedic created NETBEANS-328:
----------------------------------------

             Summary: Platform's TemplateWizard shows wrong folder
                 Key: NETBEANS-328
                 URL: https://issues.apache.org/jira/browse/NETBEANS-328
             Project: NetBeans
          Issue Type: Bug
            Reporter: Svatopluk Dedic


In absence of project.ui module, the *_New_* action is implemented using 
{noformat}
org.openide.loaders.TemplateWizard{noformat}
In standard IDE distribution, the standard New action implementationis replaced 
by project.ui module with an advanced wizard that uses completely different 
implementation. The defect applies only to (applications on top of) NB platform 
*without* project support.

1/ the Wizard displays invalid target folder, if set in advance using 
{noformat}
TemplateWizard.setTargetFolder{noformat}
The textfield with the folder's name shows parent folder, the list of folders 
also shows parent folder's contents. It should display the target folder in 
"Look in", textfield and show the target folder's subfolders in the listing.

2/ The Wizard *freezes* the application, if
 * the target chooser is displayed
 * the user focuses the JFileChooser part (folder name, subfolder list)
 * presses ESC

The Wizard does not properly intercept ESC and waits indefinitely for files to 
be created.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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