Skip to content
Advertisement

Exception in thread “AWT-EventQueue-0” java.lang.RuntimeException: Uncompilable code – package org.netbeans.lib.awtextra does not exist [closed]

Whenever I am trying to compile my java project in netbeans IDE, I am getting these errors. Kindly, please help me through it. I have provided the whole source code as well. Thank you the error are given below. I am making a car parking system in java and my whole source code in written in java language

JavaScript

BUILD SUCCESSFUL (total time: 4 seconds)

CODE:The code for my program is given below.

JavaScript

Advertisement

Answer

Your error tells you that there is a problem on line 211 that causes compilation to fail. That line is this:

JavaScript

You’ll notice ??? as the first argument, which is causing this compilation failure.

From the documentation the ‘???’ is in place of a type argument which should be either BevelBorder.LOWERED or BevelBorder.RAISED. So, maybe it will work if you change the above line to

JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement