Charles, Limelight is interesting – althoughI just looked at it
briefly, it looks good. It is written in Java, though it looks like
it provides a Ruby wrapper around its Java.
Farsheed, that said, if the development you’re doing is for something
serious (that is, multiple users and an expected multiyear lifetime with
future upgrades), then I think you’d do better with something more
established. I believe Limelight hasn’t been updated in 8 months
(GitHub - slagyr/limelight: GUI library for Ruby/Clojure/Java), and though there’s nothing wrong
with that, it could, for example, eventually become out of date with
respect to a new version of Java, JRuby, etc.
However, please be aware that just because Java code is verbose doesn’t
mean that the Ruby code calling it needs to be. I have an example of a
JRuby Swing program here:
Github repo:
Blog article:
http://www.bbs-software.com/blog/2012/09/05/conways-game-of-life-viewer/
This fileprobably has the most Swing library interaction:
Thanks to JRuby, the code there isn’t that much worse than code using a
Ruby library would be.
I spent several years doing Java Swing development, andmy take on it is
it’s a very powerful library, but it’s complex, with a steep learning
curve. Complex UI products like NetBeans and the Intellij IDE’s such as
RubyMine use it. Forget AWT, it’s ancient, and worse. SWT, maybe; I
only looked at it briefly once, and thought it to be less fully featured
than Swing.
This page lists some GUI frameworks for Ruby:
Category: GUI Frameworks - The Ruby Toolbox. There’s an FFI
wrapper around Tk – that might be an option for you – I think Tk is
far less complex than Swingor SWT.
Keith R. Bennett