Sha256: 042a7defb2be87e32ccda43e3fc50285f63c5c7f46c7ccac5d162b4eb39851ae

Contents?: true

Size: 204 Bytes

Versions: 3

Compression:

Stored size: 204 Bytes

Contents

require 'swing'

class Swing::JButton

  attr_setter :enabled

  def initialize *args, &block
    super *args

    self.addActionListener SwingSupport::ActionListener.new &block
  end
end # class JButton

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
swing-0.1.2 lib/swing/j_button.rb
swing-0.1.1 lib/swing/j_button.rb
swing-0.1.0 lib/swing/j_button.rb