To know more, check out-
http://www.forum.nokia.com
Ean
belajar java, pemula java, newbie java, java itu mudah
The JavaFX 1.2 SDK is a significant update to the JavaFX 1.1 SDK. The JavaFX 1.2 SDK includes changes to the APIs that are not forward compatible. Some classes, APIs, and variables have been removed from the JavaFX 1.1 SDK, while newer classes, APIs, and variables have been added to the JavaFX 1.2 SDK.
The JavaFX 1.2 SDK release is not binary compatible with the JavaFX 1.1 SDK. This means that your application and all libraries that it depends on must be recompiled with the JavaFX 1.2 SDK.
Legend (Added:
, Removed:
, Changed:
)
Packages affected: javafx.animation, javafx.animation.transition
Transition.interpolate is now named interpolator. | Old: | public override var interpolate = Interpolator.LINEAR; |
| New: | public override var interpolator = Interpolator.LINEAR; |
The Transition class inherits from the Timeline class. The Transition.duration variable in SequentialTransition and ParallelTransition is inaccessible. However, the public-read protected variables cycleDuration and totalDuration are now included in the Timeline. public-read protected var cycleDuration: Durationpublic-read protected var totalDuration: Durationtimelines variable is no longer included in KeyFrame. Subtimelines are no longer supported. This functionality is now supported by ParallelTransition and SequentialTransition. timelineDirty variable is no longer included in the Transition class. The markDirty() function provides the same support as the old timelineDirty variable. timelineDirty, previously a protected variable of the Transition class, is now a local variable and can be modified through a protected markDirty() function in the Transition class. This change enables a third-party library to extend the JavaFX Transition base class to implement additional Transition classes. The existing Transition classes, such as TranslationTransition, RotateTranslation, and PathTransition, work as before. | Old: | timelineDirty = true; |
| New: | markDirty() |
Package affected: javafx.async
AbstractAsyncOperation and RemoteTextDocument classes are no longer included in the javafx.async package. The javafx.io.http.HttpRequest class can be used instead of the javafx.async.RemoteTextDocument class. javafx.async package. Package affected: javafx.scene.effect
Packages affected: javafx.scene.transform, javafx.scene.image, javafx.ext.swing, javafx.scene, javafx.scene.layout, javafx.stage, javafx.geometry, javafx.scene.paint
javafx.scene.transform.Affine class are now named as follows: m00 --> mxx
m01 --> mxy
m02 --> tx
m10 --> myx
m11 --> myy
m12 --> ty
Transform.affine method is not affected.| Old: | Affine { m00: 1 m10: 0 m01: 0 m11: 1 m02: 25 m12: 15 } |
| New: | Affine { mxx: 1 myx: 0 mxy: 0 myy: 1 tx: 25 ty: 15 } |
javafx.scene.image.Image.fromBufferedImage(image:java.awt.image.BufferedImage) is now named javafx.ext.swing.SwingUtils.toFXImage(image:java.awt.image.BufferedImage). The parameters and functionality are identical to the old method. javafx.scene package supports the following new classes: javafx.geometry package supports the following new classes: Node is disabled. Node.Node is disabled.Node should lose focus when it becomes disabled. enabled variable of Swing components in the javafx.ext.swing package is no longer included. The disable variable is still available and sufficient to handle the enabling and disabling of components. javafx.scene.Node, javafx.scene.CustomNode, and javafx.scene.Group: layoutInfolayoutBoundslayoutXlayoutYlayoutX and layoutY instead of using translateX and translateY. While translateX and translateY most likely will work, layoutX and layoutY will have better performance. Also, if you do a legitimate translateX and translateY, the original value is lost if you did not use layoutX and layoutY. layoutBounds of a Node does not include clip, its effect, or any of its transforms. scaleX, scaleY, or rotate variables is the (untransformed) center of the layoutBounds. boundsInScene variable is no longer included in the Node, Group, and CustomNode classes. The localToScene(boundsInLocal) function provides the same support as the old boundsInScene variable. The boundsInScene variable was expensive to compute, and the localToScene(boundsInLocal) function gives better performance because binding to the localToScene function is not allowed. | Old: | node.boundsInScene |
| New: | node.localToScene(node.boundsInLocal) |
javafx.scene.layout package now includes the following classes. 