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.
- Create a JavaFX Weather sample. The sample is not compiled. The same is for the Best Practice samples. -------- Original Message -------- Subject: Upcoming name / class change Date: Mon, 07 Jul 2008 15:09:57 -0400 From: Shannon Hickey Hello, Just a head's up on two changes that will be coming (in both trunk and preview) over the next day or so: 1) To avoid conflicts between the new Window/Frame/Dialog and the old Swing versions, the Swing versions will be renamed SwingWindow/SwingFrame/SwingDialog. 2) To move us closer to a fully node-based world, Application will no longer have a "Component" as content. Instead, it will have an attribute of type Stage. The new Stage class will have a writable attribute for the node-based content and will provide attributes to ascertain the usable width and height of the area on which content is drawn. For backward compatibility with old Applications that are Component based, we'll introduce SwingApplication for the time being. Please look for this in trunk first, followed by a merge into the branch. Thanks, Shannon
Here is a summary of what needs to be changed: Imports were: import javafx.ext.swing.Frame; import javafx.ext.swing.Canvas; Now should be: import javafx.application.Frame; import javafx.application.Stage; Frame use to start as : Frame { content : Canvas { background : Color.GRAY Should now start as: Frame { stage : Stage { fill : Color.GRAY Not all samples use background/fill.
Fixed.
verified