Hallo,
folgende Warnung treten bei mir beim compilieren auf. Das Programm funktioniert zwar trotzdem, wollte aber gerne diese Fehler verstehen und eliminieren.
folgende Warnung treten bei mir beim compilieren auf. Das Programm funktioniert zwar trotzdem, wollte aber gerne diese Fehler verstehen und eliminieren.
Code:
CNC.java:143: warning: [static] static method should be qualified by type name,
Bearbeiten, instead of by an expression
bearbeiten.Kollisionslauf();
^
CNC.java:285: warning: [rawtypes] found raw type: JComboBox
auswahlSchalter = new JComboBox();
^
missing type arguments for generic class JComboBox<E>
where E is a type-variable:
E extends Object declared in class JComboBox
CNC.java:286: warning: [unchecked] unchecked call to addItem(E) as a member of t
he raw type JComboBox
auswahlSchalter.addItem("Test1");
^
where E is a type-variable:
E extends Object declared in class JComboBox
CNC.java:287: warning: [unchecked] unchecked call to addItem(E) as a member of t
he raw type JComboBox
auswahlSchalter.addItem("Test2");
^
where E is a type-variable:
E extends Object declared in class JComboBox
CNC.java:288: warning: [unchecked] unchecked call to addItem(E) as a member of t
he raw type JComboBox
auswahlSchalter.addItem("Test3");
^
where E is a type-variable:
E extends Object declared in class JComboBox
CNC.java:289: warning: [unchecked] unchecked call to addItem(E) as a member of t
he raw type JComboBox
auswahlSchalter.addItem("Test4");
^
where E is a type-variable:
E extends Object declared in class JComboBox
CNC.java:290: warning: [unchecked] unchecked call to addItem(E) as a member of t
he raw type JComboBox
auswahlSchalter.addItem("Test5");
^
where E is a type-variable:
E extends Object declared in class JComboBox