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.
marina-netbeans-plugin: #202 Product Version = NetBeans IDE 6.7.1 RC (Build 200907101800) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.6.0_12-ea; Java HotSpot(TM) Client VM 11.2-b01; Sun Microsystems Inc. Steps to reproduce: - Create a JavaFX project - Copy the code to the Main file: --------------------------------------------- import javafx.stage.Stage; import javafx.scene.Scene; import javafx.ext.swing.SwingButton; Stage { title: "Application title" width: 250 height: 80 scene: Scene { content: [ SwingButton { text: "Swing Button" action: function() { } } ] } } --------------------------------------------- - Select the Mobile execution model The unsupported code marked as red Run the project The mobile emulator starts but shows nothing. The mobile emulator should not start if code contains errors.
Compilation and execution is JavaFX SDK responsibility. If the SDK configuration allows Mobile compilation even with Swing then it is a bug of SDK.
See the JIRA issue: http://javafx-jira.kenai.com/browse/RT-5851