lib/swing/j_frame.rb in swing-0.1.1 vs lib/swing/j_frame.rb in swing-0.1.2

- old
+ new

@@ -2,23 +2,23 @@ class Swing::JFrame # include AttrSetter attr_setter :layout, :background, :size, :title, - :default_close_operation => JFrame::EXIT_ON_CLOSE #DISPOSE_ON_CLOSE, HIDE_ON_CLOSE + :default_close_operation => EXIT_ON_CLOSE #DISPOSE_ON_CLOSE, HIDE_ON_CLOSE def initialize *args super *args -# setup opts + setup self.location_relative_to = nil self.visible = true end # Method that subclasses should override to set up their contents before - # Frame is made visible - def setup opts + # JFrame is made visible + def setup end end