Hallo,
bei mir tritt an dieser Stelle:
der folgende Fehler auf :
Cannot make a static reference to the non-static field MySecondClass.Points
Allerdings ist weder doch gar nichts statisch daran...
bei mir tritt an dieser Stelle:
Java:
private void createPaintComp() {
...
MySecondClass.Points.removeAllElements();
...
}
Java:
public class MySecondClass {
...
public Vector<Point2D.Float> Points = new Vector<Point2D.Float>();
...
}
der folgende Fehler auf :
Cannot make a static reference to the non-static field MySecondClass.Points
Allerdings ist weder doch gar nichts statisch daran...