estoy utilizando lo siguiente:
fotolb.setIcon(new javax.swing.ImageIcon(" C:\Documents and Settings\ABDIEL\Escritorio\proyectos java\VIDEOCEL\src\videocel\Fotos\vicente.jpg"));
Si lo hago así, funciona.
pero lo intento poner asi:
fotolb.setIcon(new javax.swing.ImageIcon("\videocel\Fotos\vicente.jpg"));
y no aparece nada.
cuando intento construir mi proyecto me manda esto: tal vez tenga que ver:
Building jar: C:\Documents and Settings\ABDIEL\Escritorio\proyectos java\VIDEOCEL\dist\VIDEOCEL.jar
To run this application from the command line without Ant, try:
java -jar "C:\Documents and Settings\ABDIEL\Escritorio\proyectos java\VIDEOCEL\dist\VIDEOCEL.jar"
si me pueden ayudar, sería grandioso. saludos
