Can i write script in ruby to automate a java-swing application

Hi

I am using watir with ruby to automate web application, its working
fine, is there any plugin for ruby to automate a swing application.

Tester in ruby wrote:

Hi

I am using watir with ruby to automate web application, its working
fine, is there any plugin for ruby to automate a swing application.

The two obvious options are:
1) Write your tests in Java
2) Use JRuby - you can write Ruby code that has access to the Java API, and
runs on the JRE.

Cheers,
Dave