| | |
| | | import javax.swing.JPanel; |
| | | import javax.swing.JScrollPane; |
| | | import javax.swing.SwingConstants; |
| | | import javax.swing.border.EmptyBorder; |
| | | |
| | | import org.opends.admin.ads.ADSContext; |
| | | import org.opends.admin.ads.ReplicaDescriptor; |
| | |
| | | gbc.anchor = GridBagConstraints.NORTH; |
| | | gbc.weighty = 1.0; |
| | | gbc.fill = GridBagConstraints.BOTH; |
| | | scroll = new JScrollPane(checkBoxPanel); |
| | | scroll.setBorder(new EmptyBorder(0, 0, 0, 0)); |
| | | scroll.setViewportBorder(new EmptyBorder(0, 0, 0, 0)); |
| | | scroll.setOpaque(false); |
| | | scroll.getViewport().setOpaque(false); |
| | | scroll = UIFactory.createBorderLessScrollBar(checkBoxPanel); |
| | | |
| | | panel.add(scroll, gbc); |
| | | |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | protected boolean requiresScroll() |
| | | { |
| | | return false; |
| | | } |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | protected Message getInstructions() |
| | | { |
| | | return INFO_SUFFIXES_TO_REPLICATE_PANEL_INSTRUCTIONS.get(); |