SkyMap sm = (SkyMap) userInterface.getSkyMap();
setMaxMagnitude((double) userInterface.getSpnMagnitude().getValue());
sm.clearToolTips();
double longitude = Math.toRadians((Double) userInterface.getSpnLongitude().getValue());
double latitude = Math.toRadians((Double) userInterface.getSpnLatitude().getValue());
GregorianDate gd = new GregorianDate(date);
UserCoordinates uc = new UserCoordinates(longitude, latitude, Time.gregorianToJulian(gd));
sm.setUserCoordinates(uc);
sm.repaint();
}