tags:

views:

27

answers:

1

I'm porting Unix-land Ruby script to JRuby and Windows, and I need to give it very simple user interface.

What I need is just selecting input file, select output directory, a few checkboxes or such trivial options, and big process button. There is no UI in Unix version, as this is trivial command line business in Unix world, but command line doesn't agree with Windows users much.

What is the simplest possible solution? I will be disappointed if it takes more than 5 lines of code.

+2  A: 

You can call Java API's from within JRuby - you could probably knock up a quick UI in swing that would work across platforms.

A small example of a swing application in JRuby can be found here

Clinton