Java:
Object a = liste.getModel().getElementAt(ind[0]);
double x = (double) a;
In der Liste "liste" stehn nur doubles. Wieso funktioniert der cast nicht?
Die datei lässt sich nicht compilieren "inconvertible types" ???:L
Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
Object a = liste.getModel().getElementAt(ind[0]);
double x = (double) a;
Object a = liste.getModel().getElementAt(ind[0]);
Double x = (Double) a;
double d = x.doubleValue();