Skip to content

Commit

Permalink
Improvement: use "Convert" button label instead of the misleading "Open"
Browse files Browse the repository at this point in the history
  • Loading branch information
alus- committed Jan 4, 2020
1 parent 48bdf27 commit 779f470
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/it/alus/GPXrouteConverter/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ public static void main(String[] args) {
fc.setMultiSelectionEnabled(true);
fc.setFileSelectionMode(JFileChooser.FILES_ONLY);
fc.setAcceptAllFileFilterUsed(false);
fc.setApproveButtonText("Convert");
fc.setApproveButtonToolTipText("Convert the selected file(s)");
final FileNameExtensionFilter vfr = new FileNameExtensionFilter("VfrFlight flight plans", "vfr");
final FileNameExtensionFilter gpx = new FileNameExtensionFilter("GPX flight plans", "gpx");
fc.addChoosableFileFilter(vfr);
Expand Down

0 comments on commit 779f470

Please sign in to comment.