|
|
|
@ -303,16 +303,19 @@ public class ComponentTitleStylePane extends AbstractBorderPackerPane {
|
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
JPanel container = this; |
|
|
|
|
for (JComponent component: components) { |
|
|
|
|
for (int i = 0; i < components.length; i++) { |
|
|
|
|
JComponent component = components[i]; |
|
|
|
|
if (component != null) { |
|
|
|
|
container.add(component, BorderLayout.NORTH); |
|
|
|
|
component.setBorder(BorderFactory.createEmptyBorder(i == 0 ? 0 : IntervalConstants.INTERVAL_L1, 0, 0, 0)); |
|
|
|
|
if (i < components.length - 1) { |
|
|
|
|
JPanel nextContainer = new JPanel(FRGUIPaneFactory.createBorderLayout()); |
|
|
|
|
nextContainer.setBorder(BorderFactory.createEmptyBorder(IntervalConstants.INTERVAL_L1, 0, 0, 0)); |
|
|
|
|
container.add(nextContainer, BorderLayout.CENTER); |
|
|
|
|
container = nextContainer; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setSupportTitleVisible(boolean supporting) { |
|
|
|
|