In this second part to a two-part series on creating reports on the desktop with Ruby-on-Rails, you'll learn how to create GUIs with Ruby and take a look at a sample report. It is excerpted from chapter four of the book Practical Reporting with Ruby and Rails, written by David Berube (Apress; ISBN: 1590599330).
JRuby (http://jruby.codehaus.org/), the Ruby implementation for the Java Virtual Machine, provides access to Java frameworks, like Swing.
Tip You can access Swing directly from JRuby, but Profligacy is a Ruby library designed to make Swing more Ruby-like. You can learn more about Profligacy at http://ihate.rubyforge.org/profligacy/.
This book will focus on FXRuby. One of FXRuby's strengths is that it has a particularly strong Ruby feel to it. Many of the other libraries are quite clearly a bridge to a completely different programming paradigm. FXRuby makes GUI programming easy.