In the search for the “perfect” gui for ruby, my latest area of
investigation is in the javafx world.
Is it possible to use JRuby with javafx in the netbeans environment?
The following code copied into a netbeans jfx project works fine.
How would I change the project to use jruby?
Googling does not seem to throw up any discussion on this matter.
Is anyone able to point me in the direction of a resource covering this
topic?
https://openjfx.dev.java.net/Learning_More_About_JavaFX.html
import javafx.ui.*;
class HelloWorldModel {
attribute saying: String;
}
var model = HelloWorldModel {
saying: "Hello World"
};
Frame {
title: "Hello World JavaFX"
width: 200
content: Label {
text: bind model.saying
}
visible: true
};
Thanks
Paul F.
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email