|
|
@ -228,6 +228,8 @@ public class PreferencePane extends BasicPane { |
|
|
|
|
|
|
|
|
|
|
|
private JPanel saveIntervalPane; |
|
|
|
private JPanel saveIntervalPane; |
|
|
|
private JPanel autoCleanPane; |
|
|
|
private JPanel autoCleanPane; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private JPanel gcControlPane; |
|
|
|
private UICheckBox startupPageEnabledCheckBox; |
|
|
|
private UICheckBox startupPageEnabledCheckBox; |
|
|
|
private IntegerEditor saveIntervalEditor; |
|
|
|
private IntegerEditor saveIntervalEditor; |
|
|
|
private UICheckBox gcEnableCheckBox; |
|
|
|
private UICheckBox gcEnableCheckBox; |
|
|
@ -430,7 +432,7 @@ public class PreferencePane extends BasicPane { |
|
|
|
savePane.add(saveIntervalPane); |
|
|
|
savePane.add(saveIntervalPane); |
|
|
|
|
|
|
|
|
|
|
|
//gc面板
|
|
|
|
//gc面板
|
|
|
|
JPanel gcControlPane = createGcControlPane(); |
|
|
|
gcControlPane = createGcControlPane(); |
|
|
|
|
|
|
|
|
|
|
|
JPanel enableVcsPanel = new JPanel(FRGUIPaneFactory.createLeftZeroLayout()); |
|
|
|
JPanel enableVcsPanel = new JPanel(FRGUIPaneFactory.createLeftZeroLayout()); |
|
|
|
enableVcsPanel.add(remindVcsLabel); |
|
|
|
enableVcsPanel.add(remindVcsLabel); |
|
|
@ -485,6 +487,7 @@ public class PreferencePane extends BasicPane { |
|
|
|
public void doCallBack(boolean useV2) { |
|
|
|
public void doCallBack(boolean useV2) { |
|
|
|
saveIntervalPane.setVisible(useV2); |
|
|
|
saveIntervalPane.setVisible(useV2); |
|
|
|
autoCleanPane.setVisible(useV2); |
|
|
|
autoCleanPane.setVisible(useV2); |
|
|
|
|
|
|
|
gcControlPane.setVisible(!useV2); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
}; |
|
|
|
}; |
|
|
|