static A toJComponent(A c) { ret c; } static JComponent toJComponent(Swingable c) { ret c?.visualize(); }