errores en eclipse
hola a todos, tengo una plantilla de un applet que ya debería funcionar, el caso es que estoy bastante pez con el eclipse y aunque supongo q será algún problema de configuración con algún path de la api no se donde cambiarlo...
los errores que me da son los siguientes:
java.lang.Error: Unresolved compilation problem:
The declared package does not match the expected package plantilla.src
at plantilla.src.ProgramaPrincipal.<init>(ProgramaPrincipal.java:1)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
eso es todo...gracias de antemano.
los errores que me da son los siguientes:
java.lang.Error: Unresolved compilation problem:
The declared package does not match the expected package plantilla.src
at plantilla.src.ProgramaPrincipal.<init>(ProgramaPrincipal.java:1)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
eso es todo...gracias de antemano.
