You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Joel Alexander Gatica Cartagena (JIRA)" <ji...@apache.org> on 2019/02/17 17:05:00 UTC
[jira] [Created] (NETBEANS-2127) No encuentra la clase
(com/sun/awt/AWTUtilities).
Joel Alexander Gatica Cartagena created NETBEANS-2127:
---------------------------------------------------------
Summary: No encuentra la clase (com/sun/awt/AWTUtilities).
Key: NETBEANS-2127
URL: https://issues.apache.org/jira/browse/NETBEANS-2127
Project: NetBeans
Issue Type: Bug
Components: apisupport - Project
Affects Versions: 10.0
Environment: Java
Reporter: Joel Alexander Gatica Cartagena
Fix For: 10.0
No encuentra la clase (com/sun/awt/AWTUtilities). Por lo tanto, no puede correr un hilo.
Al correr mi proyecto, me despliega el siguiente error:
Exception in thread "Thread-0" java.lang.NoClassDefFoundError: com/sun/awt/AWTUtilities
El código donde encuentra error es este:
if (progreso.getValue() == i) {
if (j != 100) {
AWTUtilities.setWindowOpacity(this, Float.valueOf((100 - j) / 100 + "f"));
i++;
j += 2;
}
}
Donde "progreso" en un JProgressBar, las variables "j" e "i" son de tipo double.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists