| | |
| | | new TreeSet<SuffixDescriptor>(this); |
| | | private HashMap<String, JCheckBox> hmCheckBoxes = |
| | | new HashMap<String, JCheckBox>(); |
| | | private Set<JEditorPane> suffixLabels = new HashSet<JEditorPane>(); |
| | | // The display of the server the user provided in the replication options |
| | | // panel |
| | | private String serverToConnectDisplay = null; |
| | |
| | | private void populateCheckBoxPanel() |
| | | { |
| | | checkBoxPanel.removeAll(); |
| | | suffixLabels.clear(); |
| | | GridBagConstraints gbc = new GridBagConstraints(); |
| | | gbc.fill = GridBagConstraints.BOTH; |
| | | gbc.anchor = GridBagConstraints.NORTH; |
| | |
| | | Message.raw(getSuffixString(suffix)), |
| | | UIFactory.TextStyle.SECONDARY_FIELD_VALID); |
| | | l.setOpaque(false); |
| | | suffixLabels.add(l); |
| | | |
| | | /* Use a prototype label to get the additional insets */ |
| | | JEditorPane proto = UIFactory.makeTextPane( |