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.
Tested using FX Cont trunk build 258 with SDK: Product: javafx-1.0dev Platform: windows-i586 Build-Number: 443 Build-ID: 2008-09-29_05-10-40 on NB6.5: Product Version: NetBeans IDE Dev (Build 20080922) Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) Palette > Applications > Frame has invalid source 1. DnD of Frame onto editor gives: import javafx.stage.Frame; import javafx.scene.Scene; Frame { title: "MyApplication" width: 200 height: 200 closeAction: function() { java.lang.System.exit( 0 ); } visible: true scene: Scene { content: [] } } It should now be: import javafx.stage.Stage; import javafx.stage.Decoration; import javafx.scene.Scene; Stage { decoration: Decoration { title: "MyApplication"} width: 200 height: 200 visible: true scene: Scene { content: [] } } Note, that I'm gray on closeAction so I removed it closeAction: function() { java.lang.System.exit( 0 ); } Since it doesn't have a equivalent in Stage, but there should be a FX.exit(), FX.addShutdownActions() and FX.removeShutdownActions() equivalent somewhere.
Fixed.
verified in 2008-09-30_13-16-37.zip