On Sun, Apr 26, 2009 at 4:49 PM, Andrew S. Townley <ast / atownley.org> wrote:
> Hi,
>
>
> $ cat $HOME/jbutton.rb
> require 'java'
>
> include_class 'javax.swing.JButton'
>
> class Foo < JButton
>   >  
>   >  >  
> end
>
> foo = Foo.new

Your initialize method requires at least a "count" parameter, but
you're not passing any. Do you mean to default it to something?

foo = Foo.new(42)

should work.

/Nick