Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'java'
- java_import 'ActionListener'
- java_import 'Component'
- c = Component.new
- l = lambda{ |a, f, l| puts a, f, l }
- c.add_action_listener(l, 'one', 'two', 'three')
- c.trigger_action('Hello')
Add Comment
Please, Sign In to add comment