Skip to content

Commit

Permalink
added a skip button, although it doesn't do anything quite yet.
Browse files Browse the repository at this point in the history
  • Loading branch information
cktricky committed Dec 25, 2011
1 parent 3dd0343 commit c8e590f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jlib/wXfgui/analysis/panels/dt_table_panel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def init

@next_button = JButton.new("next")
@next_button.enabled = false
@skip_button = JButton.new("skip")
@analyze_button = JButton.new("analyze")
@run_mod_button = JButton.new("run module")

Expand Down Expand Up @@ -80,13 +81,15 @@ def init
end

p1.addComponent(@next_button)
p1.addComponent(@skip_button)
p1.addComponent(@run_mod_button)
p1.addComponent(@analyze_button)
sh1.addComponent(@js1)
sh1.addGroup(p1)

sv2.addComponent(@js1)
sv3.addComponent(@next_button)
sv3.addComponent(@skip_button)
sv3.addComponent(@run_mod_button)
sv3.addComponent(@analyze_button)

Expand All @@ -95,7 +98,7 @@ def init
sv1.addGroup(p2)

layout.linkSize SwingConstants::HORIZONTAL,
@next_button, @analyze_button, @run_mod_button
@next_button, @skip_button, @run_mod_button, @analyze_button

end

Expand Down

0 comments on commit c8e590f

Please sign in to comment.