Sha256: 013440f6ac41815b7d2c91e21aa3e960f06d78574788409f84ca8a89c98cd3c3

Contents?: true

Size: 164 Bytes

Versions: 3

Compression:

Stored size: 164 Bytes

Contents

require 'swing'

class Swing::JMenuItem

  def initialize text, &block
    super text
    self.addActionListener SwingSupport::ActionListener.new &block
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
swing-0.1.14 lib/swing/j_menu_item.rb
swing-0.1.12 lib/swing/j_menu_item.rb
swing-0.1.10 lib/swing/j_menu_item.rb