Permalink
Browse files

maybe better console

  • Loading branch information...
1 parent 6275fd1 commit 35bbdec5fcbe027080251fe6d41287a5b008d4bc @rdp committed May 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 swing_helpers.rb
View
@@ -280,7 +280,7 @@ def self.new_existing_dir_chooser_and_go title=nil, default_dir = nil
chooser.set_title title
chooser.setFileSelectionMode(JFileChooser::DIRECTORIES_ONLY)
chooser.setAcceptAllFileFilterUsed(false)
- chooser.set_approve_button_text "Select Directory"
+ chooser.set_approve_button_text "Select This Directory"
if (chooser.showOpenDialog(nil) == JFileChooser::APPROVE_OPTION)
return chooser.getSelectedFile().get_absolute_path
@@ -472,7 +472,7 @@ def go_selected_index
end
def go_selected_value
- puts 'select from dropdown window'
+ puts 'select from dropdown window ' + @drop_down_elements[-1] + ' ...'
show # blocks...
raise 'did not select, exited early ' + @prompt unless @selected_idx
@drop_down_elements[@selected_idx]

0 comments on commit 35bbdec

Please sign in to comment.