swing 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/HISTORY +4 -0
  2. data/VERSION +1 -1
  3. data/lib/swing/j_frame.rb +4 -4
  4. metadata +1 -1
data/HISTORY CHANGED
@@ -29,3 +29,7 @@
29
29
  == 0.1.1 / 2011-05-25
30
30
 
31
31
  * Type fixed
32
+
33
+ == 0.1.2 / 2011-05-25
34
+
35
+ * JFrame fixed
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
data/lib/swing/j_frame.rb CHANGED
@@ -4,21 +4,21 @@ class Swing::JFrame
4
4
  # include AttrSetter
5
5
 
6
6
  attr_setter :layout, :background, :size, :title,
7
- :default_close_operation => JFrame::EXIT_ON_CLOSE #DISPOSE_ON_CLOSE, HIDE_ON_CLOSE
7
+ :default_close_operation => EXIT_ON_CLOSE #DISPOSE_ON_CLOSE, HIDE_ON_CLOSE
8
8
 
9
9
  def initialize *args
10
10
 
11
11
  super *args
12
12
 
13
- # setup opts
13
+ setup
14
14
 
15
15
  self.location_relative_to = nil
16
16
  self.visible = true
17
17
  end
18
18
 
19
19
  # Method that subclasses should override to set up their contents before
20
- # Frame is made visible
21
- def setup opts
20
+ # JFrame is made visible
21
+ def setup
22
22
  end
23
23
 
24
24
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: swing
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.1
5
+ version: 0.1.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - arvicco