Sha256: 17e0180c61ed8d3185b16cd276bf476d99c466a5639d72a659824e7a72fd2329
Contents?: true
Size: 298 Bytes
Versions: 15
Compression:
Stored size: 298 Bytes
Contents
require 'swing/action_listener' require 'swing/attr_setter' module Swing class Label < javax.swing.JLabel include AttrSetter def initialize text, opts = {}, &block set_attributes(opts) { super(text) } opts[:parent].add self if opts[:parent] end end # class Label end
Version data entries
15 entries across 15 versions & 1 rubygems