# this code is to list the zipped applets that can be installed def listzipfilestoinstall fileList = Dir.new("zips").entries.sort.reverse.delete_if { |x| ! (x =~ /zip$/) } @zipslistresult = fileList.rwd_method("fillziptoinstallname") end def fillziptoinstallname(inffile) applet = inffile.gsub(/\.zip$/, "") @a_installapplet = applet end