« Pro JavaFX Released in Apress Alpha (Early Access) Program | Main | Pro JavaFX: All 10 Chapters are Available Now in Early Release eBook »

March 05, 2009



Thank you Sir , it is just great !
Best regards


Does this example work in JavaFx 1.2? I get string out of range exceptions in the getVariables and getMembers api's.
For example:

var i:Iterator;
var targetClassName = "javafx.stage.Stage";
cls : FXClassType = context.findClass(targetClassName);

// this throws
i = cls.getVariables(true).iterator();
while (i.hasNext()) {
println("{targetClassName} has variable {i.next()}");

// and this throws
i = cls.getMembers(true).iterator();
while (i.hasNext()) {
println("{targetClassName} has member{i.next()}");

// but this succeeds
i = cls.getFunctions(true).iterator();
while (i.hasNext()) {
println("{targetClassName} has function{i.next()}");

Jim Weaver


Thanks for your kind words, and I'm glad the the blog has helped!

Thanks again,
Jim Weaver


Hi Jim,

Your blog is awesome!!!
It has helped me a lot and still helping me in developing my project.

Thanks a lot

The comments to this entry are closed.