srecord noeq JFilePathLabel(File file) { transient JLabel label; transient JFilePathButton button; visualize { if (file == null) ret jlabel("-"); label = jlabel(f2s(file)); button = new JFilePathButton(file); ret layout(); } JComponent layout() { //ret centerAndEastWithMargin(label, button); ret jline(label, button); } void showInExplorer { button.showInExplorer(); } }