Skip to main content

July is almost 1/2 over

6 replies [Last post]
coffeejolts
Offline
Joined: 2007-05-17

I want my SDK! :)

Seriously, you're not going to wait until the last minutes of July to give out the preview, are you??? The wait is killing me!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
alexsch
Offline
Joined: 2007-07-12

> I have found some info on the new syntax (thanks Jim
> Weaver...) but I am stuck with the new and old
> classes and packages :
> For example :
> - Are we supposed to use "javafx.application.Frame"
> or "javafx.ext.sing.SwingFrame" ?

I suppose that javafx.application.Frame is used for the Graphics applications

[code]
Frame {
stage: Stage {
content: Rectangle {
x: 10, y: 10, width: 50, height: 50
fill: Color.BLACK
}
}
visible: true
}
[/code]

and javafx.ext.swing.SwingFrame is used for UI component:

[code]
SwingFrame {
content: Button {
text: "Press Me"
}
visible: true
}
[/code]

In future the UI components will be integrated in to the Node hierarchy and the
SwingFrame class will be obsolete.

javafx.application.Application class is used for the Applets now.

There is a request to use it as standalone application too:
JFXC-1256 Run Application class as a standalone application
http://openjfx.java.sun.com/jira/browse/JFXC-1256

> - Where is the "GroupPanel" ? is it replaced by
> "ClusterPanel" ?
Yes. javafx.ext.swing.ClusterPanel.

> - Has "Border" disappeared ?
Yes, some components from javafx.ui library disappear:
See http://openjfx.java.sun.com/jira/browse/JFXC-1246

> - Is the "javafx.gui" package obsolete ?
It has been replaced by with javafx.ext.swing.* and javafx.scene.** packages.

>
> and so on...
>
> If somebody has some links or clues, it will be very
> appreciated
> Thank you
>
> Bernard

faureb
Offline
Joined: 2006-05-05

Thank you,

Bernard

alexsch
Offline
Joined: 2007-07-12

Try to use the public NetBeans JavaFX Script plugin from:
http://deadlock.netbeans.org/hudson/job/JavaFX_NB_daily

faureb
Offline
Joined: 2006-05-05

That's right, this works pretty fine.
But I'm very confused about getting up-to-date documentation.
I have been away from JavaFX for a while (I began several months ago with interpreted JFX) and I find today that a very great job has been done by the team.
But, there is a lot (!) of changes, in syntax, classes and packages.

I have found some info on the new syntax (thanks Jim Weaver...) but I am stuck with the new and old classes and packages :
For example :
- Are we supposed to use "javafx.application.Frame" or "javafx.ext.sing.SwingFrame" ?
- Where is the "GroupPanel" ? is it replaced by "ClusterPanel" ?
- Has "Border" disappeared ?
- Is the "javafx.gui" package obsolete ?

and so on...

If somebody has some links or clues, it will be very appreciated
Thank you

Bernard

michael_heinrichs
Offline
Joined: 2007-11-15

Try the documentation created form the build-server for a start. Especially the Language Reference and the API will be helpful.

http://openjfx.java.sun.com/current-build/doc/index.html

faureb
Offline
Joined: 2006-05-05

Thank you, I have already read the language reference and the api doc, but there is no way to know about deprecated api (but which are always part of NetBeans plugin build, such as javafx.gui), advices on best pratice etc ...
But, ok, I understand that JavaFX is under development, so there some priority...
BF