Chris Oliver, today at Sun via SeeBeyond, has posted most a newborn modality Java scripting hold that Sun module be unstoppered sourcing shortly.
My send is titled F3 which stands for “Form follows function”, and its determine was to explore making interface planning easier in general.
F3 is actually a modality Java scripting module with noise typewriting for beatific IDE hold and compile-time nonachievement news (unlike JavaScript…), type-inference, modality syntax, and semiautomatic data-binding with flooded hold for 2d graphics and accepted Swing components as substantially as modality animation. You crapper also goods drinkable classes, create newborn Java objects, call their methods, and compel Java interfaces.
We hit IDE plugins for both Netbeans and Eclipse Both plugins hold as-you-type validation, code-completion, structure highlighting, and hyperlink guidance (with control-mouse-over).
F3 attempts to shew that we’re not exploiting the flooded capabilities of the Java papers for interface utilization and that unitedly with activity tools same F3, the Java papers is highly combative with or crack to competing interface utilization platforms much as Macromedia Flash/Flex/Open Laszlo, Adobe Apollo, Microsoft WPF/XAML, Mozilla XUL, AJAX/DHMTL.
Example
import f3.ui.*;
import f3.ui.canvas.*;
import f3.ui.filter.*;
Canvas {
content: Text
{
x:
20
y:
20
content:
“Welcome to F3″
font:
Font { face: VERDANA, style:
[ITALIC, BOLD
], size:
80 }
fill: LinearGradient
{
x1:
0, y1:
0, x2:
0, y2:
1
stops:
[Stop
{
offset:
0
color: blue
},
Stop
{
offset:
0.
5
color: dodgerblue
},
Stop
{
offset:
1
color: blue
}]
}
filter:
[Glow
{amount:
0.
1}, Noise
{monochrome:
true, distribution:
0}]
}
}
would produce:

And then a demonstrate of a winkle opening that took a pair of days:

I conceive that we every see that interface impact could be easier than Swing currently is. I astonishment if a newborn module that is a organism of Java and JavaScript makes sense, or if they could ingest the stylish ECMAScript?