This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Hi, When opening an existing maven project, the File/New command does not propose to create new visual form. However, existing forms in the project can be openend by the matisse plugin without any problem. Cheers! Hironico.
I am sorry, I am not able to reproduce this issue. Could you, please, provide more details? What version of NetBeans do you use? Does it happen with all maven projects (including newly created) or with just some specific one? Could you, please, attach a screenshot of the File > New File ... dialog?
Sure! I'm using NB 6.7.1. What I'm doing: - I've an existing pom.xml file that has not been created using NB. Therefore it does not contain the Application Framework dependencies that are added when using the NB wizard for a new GUI project but it's not needed since it's plain swing application. - I use the File / Open project command. - The project loads correctly. - In the source tree, there are some .form files created using matisse for MyEclipse, opening and modifying these files works fine. The corresponding Java class is changed correctly. - However, doing file/new does not show the 'Swing GUI form' category. I've added a nb-configuration.xml file as well as the required dependencies (swingx, appframework) to the pom.xml file, but nothing changes. Do I miss something ? Attached is a screenshot of the file/new dialog.
Created attachment 86077 [details] Screenshot of the File/New dialog that does not show 'GUI form' category.
Finally found it ! The packaging in the POM.xml of the project should be JAR and NOT EJB. Doing so enabled the file/new dialog to show up the GUI form category. This is correct behaviour since EJB packaging should not contain GUI forms. Thanks for spending some time for this. best regards, Hironico.