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