> image = FXJPGIcon.new(theApp, iconFile.read)

That's a typo.  Should say FXJPGImage.new.  But that's not the problem, 
just a cut and paste error.

-- 
Posted via http://www.ruby-forum.com/.