With the emergence of javafx, gosling, Bob Brewin, and so on the full publicity, the trial also Chuchu a javafx script. To talk about feelings, the effect is pretty good, and can basically be comparable to the effect of flash. Feel more prepared, is focused on the description of the display control, display, the interception of a section of the first demo inside javafxpad procedures are as follows:
Group (
Content:
[Rect (
X: 10
Y: 10
Width: 460
Height: 140
Fill: LinearGradient (
X1: 0
Y1: 0
X2: 1
Y2: 0
Stops:
[Stop (offset: 0, color: green),
Stop (offset: .5, color: new Color (.5, 1, 0, 1)),
Stop (offset: 1, color: green)]
)
Stroke: green
StrokeWidth: 3
)
Text (
X: 120
Y: 50
Content: “JavaFX”
font: Font (face: VERDANA, style: [ITALIC, BOLD], size: 60)
Fill: LinearGradient (
X1: 0, y1: 0, x2: 0, y2: 1
Stops:
[Stop (
Offset: 0.2
Color: red
)
Stop (
Offset: 0.5
Color: orange
)
Stop (
Offset: .8
Color: red
)]
)
Filter:
[Glow (
Amount: 0.1
)
Noise (
Monochrome: true
Distribution: 0
)]
)
View (
Transform: translate (160, 200)
Content: Button (
icon: Image (url: “javafxpad / images / duke.gif”)
Text: “Click Me!”
)
)]
A Brief Introduction, Yi Gai, clear, easy to grasp, I feel more inclined to a description language, and to work with the html is not bad. In globalization do not know whether to do good, and do not know when the attack netbeans6.0 portfolio, it can drag the same as swing control 芦If this is the case, it is really overwhelming majority of the UI and g11n the Gospel.
(Did not find API, the document is still a lack of respect MS ah)
On how to achieve, personal guess is not a package java2d, 3d, swing and other components. Personal feeling javafx script for the position I am confused, a swing graphics, 2d features, with a web of the shadow, I do not know in the end it is focused on the one hand. Is to flash a high and under it, or from the easy programming , User-friendly aspects of java ui to a supplementary, or a personal feel that good. AJAX that will also be threatened, but I think it is not focused on it, javafx focus on the UI rendering and performance. Addition of items of a legend flair is ajax opponent bar, the legendary is opensource but never find the relevant details. ash often strange
From the web and in flash, the flash sideways walk inside the area of the web, fx script more like the wind and the crime. Timing is not too good, some backward. In addition, demand from the system, after all, flash plugin more refined than the jvm. Do not know the other side, mobile version did not try unclear. Do not know whether the other java said the good performance of equipment, not know whether javafx mobile and is related to the acquisition of SavaJe not, whether the above run. Also look forward to a large-scale application to prove that their performance is good. There are many expectations, we will see. Of course, these are just general talk about their feelings about the.




1 user commented in " JavaFX programming on the early experience "
Follow-up comment rss or Leave a Trackback[...] source [...]
Leave A Reply