posted 3 years ago
Hi, I have recently moved my development work from NetBeans8/JDK1.8 to NetBeans11/JDK11.
A significant number of errors are now present in the code generated by the GUI builder.
Here is the first:
C:\adata\java\NB11\J3-10\src\REN\My_Frame.java:736: warning: [rawtypes] found raw type: JList
Output_Type = new javax.swing.JList();
missing type arguments for generic class JList<E>
where E is a type-variable:
E extends Object declared in class JList
I have found that the error can be solved if the JList is deleted from the gui builder, and then manually rebuilt. However, this is very tedious,
and there is always the possibility that I can introduce bugs into code that is already working.
Is there a simpler way to fix these gui builder issues ?
Thank you
Roy