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.

Bug 202400 - Add "New FX Application with FXML" to New Project JavaFX Category
Summary: Add "New FX Application with FXML" to New Project JavaFX Category
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Platform (show other bugs)
Version: 7.1
Hardware: PC Other
: P1 normal (vote)
Assignee: Anton Chechel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-21 09:36 UTC by Petr Somol
Modified: 2011-09-27 09:24 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Somol 2011-09-21 09:36:23 UTC
Currently there is the option to create new FXML file with controller class using New File. There is the demand to enable this directly from New Project dialog to promote usage of FXML. This new option would replicate the functionality of "New FX Application" plus create a template FXML file and controller class.
Comment 1 Anton Chechel 2011-09-24 13:09:13 UTC
fixed
http://hg.netbeans.org/jet-main/rev/714e74976915
Comment 2 Stepan Zebra 2011-09-24 16:39:34 UTC
(In reply to comment #1)
> fixed
> http://hg.netbeans.org/jet-main/rev/714e74976915

I have trouble running html a jnlp files generated from projects which uses fxml files. Following message is shown on the top of the stack trace:
java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessDeclaredMembers")

Anton, does this happens to you?

Also I think, that I actually never tried these files generated from projects which uses fxml before. So if it's a bug, it could have been there for a while.
Comment 3 Anton Chechel 2011-09-24 19:57:12 UTC
Yes, I have the same problem. But this is deployment issue not related to this bug.
Comment 4 Stepan Zebra 2011-09-24 20:14:17 UTC
(In reply to comment #3)
> Yes, I have the same problem. But this is deployment issue not related to this
> bug.

Agreed. Separate issue will be created.

(In reply to comment #1)
> fixed
> http://hg.netbeans.org/jet-main/rev/714e74976915

This fix was successfully verified in trunk. Please integrate into Beta.
Comment 5 Petr Somol 2011-09-25 06:32:53 UTC
714e74976915 transplanted to e8a442ddf09c in beta
Comment 6 Quality Engineering 2011-09-25 14:06:01 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/714e74976915
User: Anton Chechel <manowar@netbeans.org>
Log: #202400: New FX Application with FXML
Comment 7 Stepan Zebra 2011-09-27 09:24:07 UTC
verified in 7.1 Beta (201109252201)