X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=Tools%2FSource%2FMigrationTools%2Forg%2Ftianocore%2Fmigration%2FFirstPanel.java;h=7241c1b331afd2644bdfe151da0ef0221570e422;hp=83cf9b60d2d56b9dd82645b709e781d01ffe89b4;hb=821709bd1b37f1a61fe5c998530083665eb2c854;hpb=a55ae0f203c27da7db3c23585a7724e3b2986b74 diff --git a/Tools/Source/MigrationTools/org/tianocore/migration/FirstPanel.java b/Tools/Source/MigrationTools/org/tianocore/migration/FirstPanel.java index 83cf9b60d2..7241c1b331 100644 --- a/Tools/Source/MigrationTools/org/tianocore/migration/FirstPanel.java +++ b/Tools/Source/MigrationTools/org/tianocore/migration/FirstPanel.java @@ -158,7 +158,8 @@ public final class FirstPanel extends JPanel implements ActionListener, ItemList //---------------------------------------------------------------------------------------// - public String getFilepath() { + public String getFilepath(String title) { + fc.setDialogTitle(title); if (fc.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) { log.append(fc.getSelectedFile().getAbsolutePath() + "\n"); return fc.getSelectedFile().getAbsolutePath(); @@ -170,7 +171,8 @@ public final class FirstPanel extends JPanel implements ActionListener, ItemList public void actionPerformed(ActionEvent e) { if ( e.getSource() == moduleButton ) { - modulepath = getFilepath(); + modulepath = getFilepath("Please choose a starting path"); + moduletext.setText(modulepath); } if ( e.getSource() == goButton ) { try {