Forum: JRuby JRubyFX question

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
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.
This topic is locked and can not be replied to.