To know more, check out-
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: )
Transition.interpolateis now named
The Transitionclass inherits from the
The Transition.durationvariable in
ParallelTransitionis inaccessible. However, the public-read protected variables
totalDurationare now included in the
public-read protected var cycleDuration: Duration
public-read protected var totalDuration: Duration
timelinesvariable is no longer included in
KeyFrame. Subtimelines are no longer supported. This functionality is now supported by
timelineDirtyvariable is no longer included in the
markDirty()function provides the same support as the old
timelineDirty, previously a protected variable of the
Transitionclass, is now a local variable and can be modified through a protected
markDirty()function in the
Transitionclass. This change enables a third-party library to extend the JavaFX
Transitionbase class to implement additional
Transitionclasses. The existing
Transitionclasses, such as
PathTransition, work as before.
RemoteTextDocumentclasses are no longer included in the
javafx.io.http.HttpRequestclass can be used instead of the
javafx.scene.transform.Affineclass are now named as follows:
m00 --> mxx
m01 --> mxy
m02 --> tx
m10 --> myx
m11 --> myy
m12 --> ty
Transform.affinemethod is not affected.
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.scenepackage supports the following new classes:
javafx.geometrypackage supports the following new classes:
Nodeshould lose focus when it becomes disabled.
enabledvariable of Swing components in the
javafx.ext.swingpackage is no longer included. The
disablevariable is still available and sufficient to handle the enabling and disabling of components.
layoutYinstead of using
translateYmost likely will work,
layoutYwill have better performance. Also, if you do a legitimate
translateY, the original value is lost if you did not use
layoutBoundsof a Node does not include clip, its effect, or any of its transforms.
rotatevariables is the (untransformed) center of the
boundsInScenevariable is no longer included in the
localToScene(boundsInLocal)function provides the same support as the old
boundsInScenevariable was expensive to compute, and the
localToScene(boundsInLocal)function gives better performance because binding to the
localToScenefunction is not allowed.
javafx.scene.layoutpackage now includes the following classes.