Sha256: 71fb2537376c681ac93ea95ec0166d4242aa0d4f782d8c9714d75fc88bbd863b
Contents?: true
Size: 489 Bytes
Versions: 44
Compression:
Stored size: 489 Bytes
Contents
# frozen_string_literal: true # Usage: # load_library :file_chooser # class ... # def setup # java_signature 'void selectInput(String, String)' # selectInput('Select a file to process:', 'fileSelected') # end # # def fileSelected(selection) # if selection.nil? # puts 'Window was closed or the user hit cancel.' # else # puts format('User selected %s', selection.get_absolute_path) # end # end # ... class Propane::App include Java::MonkstoneFilechooser::Chooser end
Version data entries
44 entries across 44 versions & 1 rubygems