public void hide(UserInterface m) throws Exception {
public void hide(FrameDisplay m) throws Exception {
    public void hide(UserInterface m) throws Exception {        if (m != null) {            //?? Temporary workaround using Java AWT's capabilities.            //?? Let this screen class paint everything later,            //?? when AWT gets replaced.            java.lang.System.out.println("DEBUG: Set java gui invisible.");            ((java.awt.Component) m.getJavaObject()).setVisible(Boolean.FALSE);        } else {            throw new Exception("Could not hide model. The model is null.");        }    }