今天在大牛jim weaver的blog上看到他对Javafx1.0发布以一篇文章,其中的想法,正和我的感觉一样,呵呵。
[quote]Although it doesn't begin with javafx.scene, the javafx.ext.swing package contains UI controls (such as SwingButton and SwingSlider) that subclass Node. Many of the Swing "components" are available in this package, and [b]because these components are actually nodes, any of the transforms and other capabilities of Node are available with these classes[/b]. Also, any Swing components that aren't in this package may be used in JavaFX by wrapping them with the wrap function of the SwingComponent class.
[b]The javafx.scene.control package is the way that UI controls in JavaFX are headed[/b]. In the JavaFX SDK 1.0 there is just one control -- the TextBox class, but future versions will have more. Each UI control will have the ability to be skinned, and styled via CSS.[/quote]
[quote]Although it doesn't begin with javafx.scene, the javafx.ext.swing package contains UI controls (such as SwingButton and SwingSlider) that subclass Node. Many of the Swing "components" are available in this package, and [b]because these components are actually nodes, any of the transforms and other capabilities of Node are available with these classes[/b]. Also, any Swing components that aren't in this package may be used in JavaFX by wrapping them with the wrap function of the SwingComponent class.
[b]The javafx.scene.control package is the way that UI controls in JavaFX are headed[/b]. In the JavaFX SDK 1.0 there is just one control -- the TextBox class, but future versions will have more. Each UI control will have the ability to be skinned, and styled via CSS.[/quote]