Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

Editing Snippet ID: #1006228
Snippet name:
Category, Type:
Content:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import javax.swing.border.*;
static JPanel jSection(Component c) {
  ret jSection("", c);
}
static JPanel jSection(fS title, final Component c) {
  ret swing(func -> JPanel {
    Border border = BorderFactory.createBevelBorder(BevelBorder
.LOWERED);
    border = BorderFactory.createTitledBorder(border, title);
    JSection panel = new(c);
    panel.setBorder(border);
    ret panel;
  });
}
static JPanel jSection(S title) {
  ret jSection(title, jpanel());
}
static JPanel jSection(LiveValue<?> lv, Component c) {
  ret jLiveValueSection(lv, c);
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Comment:
Public (visible to everyone):
Created: 2016-12-25 16:55:33

This page without fancy editor.