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