Move JFrame code to fui.core.