lib/swing/j_frame.rb in swing-0.1.2 vs lib/swing/j_frame.rb in swing-0.1.3
- old
+ new
@@ -1,11 +1,16 @@
require 'swing'
class Swing::JFrame
-# include AttrSetter
attr_setter :layout, :background, :size, :title,
:default_close_operation => EXIT_ON_CLOSE #DISPOSE_ON_CLOSE, HIDE_ON_CLOSE
+
+ def attributes
+ a = super
+ a.delete :tool_tip_text
+ a
+ end
def initialize *args
super *args