Questions tagged [jrubyfx]

JRubyFX is a pure ruby wrapper for JavaFX 2.2+ with FXML support.

JRubyFX is a pure ruby wrapper for JavaFX 2.2+ with FXML support.

Useful Links

6 questions
5
votes
1 answer

Jruby - Javafx : How to add icon to button?

I'am struggling for loading an icon (png Format) for Javafx and Jruby with jrubyfx, I did not find any example or docs so I tried : 1) button_login = find('#button_login') # See ComplexControl.fxml button_login.text =…
reme
  • 183
  • 1
  • 1
  • 12
2
votes
0 answers

How do I get the window object from the controller, but in JRubyFX

I'm trying to eventually have a desktop app that has one main window and controller that can open a temporary second window where the first window is temporarily disabled. I found this link for how to do that in javafx, but now I'm trying to get it…
benbyday
  • 63
  • 5
1
vote
1 answer

Can't populate a TableView with Jruby/Jrubyfx

I'm trying to make a Jruby app with a TableView but I haven't been able to populate the table with data or even find some sample code to do so. Here's the relevant part of my fxml:
pguardiario
  • 53,827
  • 19
  • 119
  • 159
1
vote
0 answers

Use JavaFX 8 controls with 2.2 controls in JRubyFX

Is there a way to use JavaFX 8 with JRubyFx (which uses JavaFX 2.2 by default). Would it be possible to use JavaFX 8 controls within a 2.2 framework? For example could I use an 8 Tab with a 2.2 TabPane?
griest
  • 410
  • 3
  • 16
1
vote
1 answer

JavaFX 8 - Application Icon will only sometimes appear

I'm adding my application icon with stage.getIcons().add(new Image("path")) and the icon will appear sometimes, so I know that the program can find the resource and I'm calling the right methods, but the icon won't appear every time. From what I can…
griest
  • 410
  • 3
  • 16
0
votes
1 answer

OpenJFX TreeTableView rendering issue

I was hoping there are other developers have similar issue that can share how to resolve this issue. I'm in the midst of using OpenJFX in one of my pet project. The project was tested on Oracle JDK 1.8 with JFX package included. When run on the…
Chris Liaw
  • 67
  • 2
  • 9