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