Method: JRubyFX#run_later

Defined in:
lib/jrubyfx/module.rb

#run_later(&block) ⇒ Object

call-seq:

run_later { block }

Convenience method so anything can safely schedule to run on JavaFX main thread.



62
63
64
# File 'lib/jrubyfx/module.rb', line 62

def run_later(&block)
  Java::javafx.application.Platform.run_later &block
end