Warning: session_start(): open(/var/lib/php/sessions/sess_p94l2t1fr1prileill1h0ck6e5, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
import javax.swing.border.*;
sclass jCenteredLiveValueSection_class extends SingleComponentPanel {
IGetterWithNotify liveValue;
settable int borderType = BevelBorder.LOWERED;
S getTitle() { ret liveValue!; }
*(IGetterWithNotify lv, Component c) {
super(c);
bindLiveValueListenerToComponent(this, liveValue = lv, r-awt {
setBorder(BorderFactory.createTitledBorder(
makeBaseBorder(), liveValue!));
centerSection(jCenteredLiveValueSection_class.this);
revalidate();
});
}
swappable Border makeBaseBorder() {
ret BorderFactory.createBevelBorder(borderType);
}
}
static JPanel jCenteredLiveValueSection(IGetterWithNotify lv, Component c) swing {
ret new jCenteredLiveValueSection_class(lv, c);
}