|
|
|
@ -303,12 +303,13 @@ public class AboutPane extends JPanel {
|
|
|
|
|
public BoxCenterAlignmentCopyablePane(String title, String copyText, final String[] descriptions) { |
|
|
|
|
setLayout(FRGUIPaneFactory.createBorderLayout()); |
|
|
|
|
JPanel centerPane = FRGUIPaneFactory.createNormalFlowInnerContainer_S_Pane(); |
|
|
|
|
this.label = new UILabel(title); |
|
|
|
|
if (!ComparatorUtils.equals(title, StringUtils.EMPTY)) { |
|
|
|
|
this.label = new UILabel(title); |
|
|
|
|
centerPane.add(label); |
|
|
|
|
} |
|
|
|
|
this.textField = new UILabel(copyText); |
|
|
|
|
textField.setBackground(null); |
|
|
|
|
textField.setBorder(null); |
|
|
|
|
|
|
|
|
|
centerPane.add(label); |
|
|
|
|
centerPane.add(textField); |
|
|
|
|
textField.addMouseListener(new MouseAdapter() { |
|
|
|
|
@Override |
|
|
|
|