java - How to create a JRuby app with GUI and package it? -
i'm diving ruby's world , i'm loving it.
right i'm trying develop simple application sort of gui , package can run in os (with jre installed).
what i've found far:
gui
jrubyfx: it's great because allows me use javafx editor create , feel of app (and use generated fxml in project). problem is, can run examples >jruby can't package distribute.
packaging
wrabler, rawr, , jruby-jarify, of them gave me errors when trying make jar file (mostly files not found).
so, right now, need direction (and examples if possible) best way make jruby app gui (usigng fxml if possible) , can package (in jar guess) , make run in computer jre installed.
thank in advance!
shoes (especially shoes 4) might fit requirements. runs on top of jruby (1.7+) , can make app package.
however, not work on top of fxml. shoes uses own dsl:
shoes.app { background white stack(margin: 8) { button "a bed of clams" button "a coalition of cheetahs" button "a gulp of swallows" } }
produces following window:
Comments
Post a Comment