A
alstaka
Gast
ab object 4 sagt er mir immer Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
und ich weis nicht warum!
Was jemand warum?
und ich weis nicht warum!
Java:
Object[] test = jList1.getSelectedValues();
int x=0;
for (Object xs : test){
x++;
}
String vocauswahl[]=new String[x-1];
for (int i=0; i<vocauswahl.length; i++) System.out.println(x +" " + i + " " + test[i].toString());
Was jemand warum?