Forum: JRuby JRubyFX question

Bf555263fce2acd08d5dc16a1a1f12e0?d=identicon&s=25 Andreas Weber (weagruena)
on 2014-03-28 14:21
Hallo,

as JRubyFX newbie I've a question about data exchange between classes.

I've a programm that uses JRubyFX with FXML:

<code>
...
class GUI < JRubyFX::Application
    def start(stage)
       stage.title = TITLE
       stage.fxml GUIController
       stage.show()
    end
end

class GUIController
  include JRubyFX::Controller
  fxml "jAsciiDoctor.fxml"
        ...
end
...
</code>

How can I transmit informations / variables from class 'GUI' to class
'GUIController' ?

Thanks in advance.
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.