static JComponent showControls_controls; static void showControls(final JComponent controls) { swing { hideControls(); JComponent _controls = withMargin(controls); showControls_controls = _controls; addToConsole2(showControls_controls); } }