import org.tianocore.frameworkwizard.common.ui.IFrame;\r
import org.tianocore.frameworkwizard.far.DistributeRule;\r
import org.tianocore.frameworkwizard.far.Far;\r
+import org.tianocore.frameworkwizard.far.FarStringDefinition;\r
import org.tianocore.frameworkwizard.packaging.PackageIdentification;\r
import org.tianocore.frameworkwizard.workspace.Workspace;\r
\r
private void initialize() {\r
this.setSize(700, 400);\r
this.setContentPane(getJContentPane());\r
- this.setTitle("Install Framework Archive(FAR) - Step 1: Choose FAR file");\r
+ this.setTitle(FarStringDefinition.INSTALL_STEP_ONE_TITLE);\r
Dimension d = Toolkit.getDefaultToolkit().getScreenSize();\r
this.setLocation((d.width - this.getSize().width) / 2, (d.height - this.getSize().height) / 2);\r
}\r
fc.addChoosableFileFilter(new IFileFilter(DataType.FAR_SURFACE_AREA_EXT));\r
fc.setCurrentDirectory(new File(Workspace.getCurrentWorkspace()));\r
\r
- int result = fc.showSaveDialog(new JPanel());\r
+ int result = fc.showOpenDialog(new JPanel());\r
if (result == JFileChooser.APPROVE_OPTION) {\r
jLabelWarning.setVisible(false);\r
jTable.setVisible(false);\r