Re: [jruby-user] Help For JrubyFX

Rodrigo Botafogo <[email protected]> Fri, 6 Mar 2015 09:07:48 -0300
Newsgroups gmane.comp.lang.jruby.user
Message-ID <CAAKc=GAm24Lakf8jDfKw74pMoySo=aKa7QvHM27Wj8ui7gWFVQ@mail.gmail.com>
Actually, what is the status of JRubyFX?  I haven't seen new version of
it.  Is it still in development?

Thanks!
Em 06/03/2015 07:46, "Ariel Valentin" <[email protected]> escreveu:

> In Ruby, nil is the keyword for null references. It also adds attribute
> accessor syntax so that you can interact with Java objects with accessors
> as if they were POROs. E.g.
> scene.fill=nil
>
> Thanks,
> Ariel
> ---
> Sent from my mobile device. Please excuse any errors.
>
> > On Mar 6, 2015, at 5:39 AM, Parham Taheri <[email protected]> wrote:
> >
> > 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
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>