static A toComponent(A c) { ret c; } static Component toComponent(Swingable c) { ret c?.visualize(); }