Fix the NEXT button. Proper reset.

This commit is contained in:
Joe Ho 2019-05-08 16:32:15 -04:00
parent 253ce2893d
commit cdf36b5ca7
2 changed files with 4 additions and 6 deletions

View File

@ -91,8 +91,7 @@ public class LogicalImagerDSProcessor implements DataSourceProcessor {
*/
@Override
public JPanel getPanel() {
configPanel.readSettings();
configPanel.select();
configPanel.reset();
return configPanel;
}

View File

@ -409,8 +409,10 @@ public class LogicalImagerPanel extends JPanel implements DocumentListener {
public void reset() {
//reset the UI elements to default
choosenImagePath = null;
driveList.setListData(EMPTY_LIST_DATA);
messageLabel.setText("");
clearImageTable();
messageLabel.setText(Bundle.LogicalImagerPanel_messageLabel_clickScanOrBrowse());
}
/**
@ -428,9 +430,6 @@ public class LogicalImagerPanel extends JPanel implements DocumentListener {
public void readSettings() {
}
/**
* Set the focus to the pathTextField.
*/
public void select() {
}