import javax.swing.border.*; sclass jLiveValueSection_class extends SingleComponentPanel { LiveValue liveValue; *(LiveValue lv, Component c) { super(c); bindLiveValueListenerToComponent(this, liveValue = lv, r-awt { setBorder(BorderFactory.createTitledBorder( BorderFactory.createBevelBorder(BevelBorder.LOWERED), liveValue!)); revalidate(); }); } } static JPanel jLiveValueSection(final LiveValue lv, final Component c) { ret swingNu(jLiveValueSection_class, lv, c); }