Ver Mensaje Individual
  #4 (permalink)  
Antiguo 23/08/2007, 11:10
Avatar de Lophophora
Lophophora
 
Fecha de Ingreso: mayo-2005
Mensajes: 366
Antigüedad: 19 años
Puntos: 0
Re: codigo de netbeans no compila

no me compila
son varios (100), por ejemplo
Código:
lophophora@Lophophora:~/Desktop/Semestre 5/Ciencia Cognitiva/8 Puzzle/JavaApplication2/src> javac Puzzle.java
Puzzle.java:131: package org.jdesktop.layout does not exist
        org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
                           ^
Puzzle.java:131: package org.jdesktop.layout does not exist
        org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
                                                                        ^
Puzzle.java:213: package org.jdesktop.layout does not exist
                                        .add(s9, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 22, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))))
                                                                    ^
Puzzle.java:213: package org.jdesktop.layout does not exist
                                        .add(s9, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 22, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))))
                                                                                                                        ^
Puzzle.java:212: package org.jdesktop.layout does not exist
                                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                                                            ^
Puzzle.java:211: package org.jdesktop.layout does not exist
                                        .add(s8, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 22, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                                                    ^
                        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)

.
.
.
.
.
.                                                                          ^
Puzzle.java:278: package org.jdesktop.layout does not exist
                            .add(s9, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                                        ^
Puzzle.java:278: package org.jdesktop.layout does not exist
                            .add(s9, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                                                                                        ^
Puzzle.java:278: package org.jdesktop.layout does not exist
                            .add(s9, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                                                                                                                                                      ^
Puzzle.java:277: package org.jdesktop.layout does not exist
                            .add(s8, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                                        ^
Puzzle.java:277: package org.jdesktop.layout does not exist
                            .add(s8, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                                                                                        ^
Puzzle.java:277: package org.jdesktop.layout does not exist
                            .add(s8, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                                                                                                                                      ^
100 errors

no me corre
Código:
lophophora@Lophophora:~/Desktop/Semestre 5/Ciencia Cognitiva/8 Puzzle/JavaApplication2/build/classes> java Puzzle
Exception in thread "main" java.lang.NoClassDefFoundError: org/jdesktop/layout/GroupLayout$Group
Al parecer todos los errores estan en la parte grafica del codigo,

Saludos

Lophophora
__________________
P.L.U.R.

Última edición por Lophophora; 23/08/2007 a las 11:51