Sets the border of the content area.
()
| 551 | * Sets the border of the content area. |
| 552 | */ |
| 553 | private void setContentBorder() { |
| 554 | final int n = control.getComponentCount(); |
| 555 | final int n2 = top.getComponentCount(); |
| 556 | |
| 557 | if(n == 0 && n2 == 2) { |
| 558 | views.border(0); |
| 559 | } else { |
| 560 | views.setBorder(new CompoundBorder(BaseXLayout.border(3, 1, 3, 1), |
| 561 | BorderFactory.createEtchedBorder(EtchedBorder.LOWERED))); |
| 562 | } |
| 563 | } |
| 564 | |
| 565 | /** |
| 566 | * Refreshes the layout. |
no test coverage detected