[jruby-user] Help For JrubyFX
Parham Taheri <[email protected]> Fri, 06 Mar 2015 11:39:02 +0100
| Newsgroups | gmane.comp.lang.jruby.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Community
i wana use this JAVAFX Code
http://www.adam-bien.com/roller/abien/entry/completely_transparent_windows_stage_in
in JrubyFX
class HelloWorldApp < JRubyFX::Application
def start(stage)
stage.initStyle(StageStyle::TRANSPARENT)
stage.title = "Hello World!"
stage.width = 600
stage.height = 400
text = Text.new("Hi")
text.setFont(Font.new(40))
box = VBox.new
box.getChildren.add(text);
scene = Scene.new(box,600,400)
scene.setFill(null)
stage.setScene(scene)
stage.show
end
end
HelloWorldApp.launch
but i have Problem in scene.setFill(null)
I dont know how should I use setFill in JrubyFx
--
Posted via http://www.ruby-forum.com/.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email