This commit is contained in:
adam-m 2012-08-13 12:43:28 -04:00
commit cb2afe4118
2 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<?xml version="1.1" encoding="UTF-8" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<Form version="1.5" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
<AuxValues>

View File

@ -42,6 +42,12 @@ class OpenRecentCasePanel extends javax.swing.JPanel {
private OpenRecentCasePanel() {
initComponents();
}
/**
* Retrieves all the recent cases and adds them to the table.
*/
private void generateRecentCases() {
caseName = RecentCases.getInstance().getRecentCaseNames();
casePaths = RecentCases.getInstance().getRecentCasePaths();
@ -118,6 +124,7 @@ class OpenRecentCasePanel extends javax.swing.JPanel {
if (instance == null) {
instance = new OpenRecentCasePanel();
}
instance.generateRecentCases(); // refresh the case list
return instance;
}