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 370 with SDK: Product: javafx-1.0dev, Platform: windows-i586, Build-Number: 742, Build-ID: 2008-10-14_19-32-24 on NB6.5: Product Version: NetBeans IDE Dev (Build 200810130704) 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) In preview the Frame contained a text field with font information. This was removed after they changed everything. This should now be put back: font: Font { size: 24 }
Fixed.
I use the promoted build #62 31-Oct-2008 03:01:09 - Drag and drop Text component to the editor: The result is ------------------------------------- import javafx.scene.text.Text; import javafx.scene.text.Font; Text { size: 24 x: 10, y: 30 content: "HelloWorld" } ------------------------------------- JavaFXApplication3\src\javafxapplication3\Main.fx:13: cannot find symbol symbol : variable size location: class javafx.scene.text.Text size: 24 1 error
This is actually two different issues. The original issue is that a newly created project has Stage{ title: "Application title" width: 250 height: 80 scene: Scene{ content: Text { x: 10, y: 30 content: "Application content" } } } But it should also have: font: Font { size: 24 } The other issue is that when you DND a text Basic Shape from the palette you get: Text { size: 24 x: 10, y: 30 content: "HelloWorld" } and size is no longer a supported api for Text. This second issue HAS to be fixed and the first one is just a nice to have. I have separted this second issue as: http://www.netbeans.org/issues/show_bug.cgi?id=152009 I have downgraded this issue.
The code now shows: Font { size : 24 } When it should show font: Font { size : 24 } Continuous build #493 contains SDK 46 (768) Product Version: NetBeans IDE 6.5 RC2 (Build 200810270001) Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Fixed again :)
Continuous build #498 contains SDK 47 (772) Product Version: NetBeans IDE 6.5 RC2 (Build 200810270001) Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)