Module: Rubeus::Extensions::Javax::Swing::JFrame
- Defined in:
- lib/rubeus/extensions/javax/swing/j_frame.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/rubeus/extensions/javax/swing/j_frame.rb', line 6 def self.included(base) base.perform_as_container base.default_attributes = { :size => [400, 300], :default_close_operation => :EXIT_ON_CLOSE } if ENV_JAVA["java.specification.version"] == "1.6" base.module_eval do alias_method :size=, :set_size end end end |