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();
}
public static void repaintSkyMap() {
((SkyMap) userInterface.getSkyMap()).repaint();
}