Re: Help needed with NetBeans IDE so sample code will work please?
- From: Lion-O <nosp@xxxxxxxxxxxxxx>
- Date: Thu, 26 Oct 2006 12:41:10 -0000
Did you put the entire piece of code in a single file or... ? Because
if you didn't split it up then I can imagine that it doesn't run.
....Still, I can't help wonder how you created the project. Did you
manually create a new package and 1 (or 2) new class files after which
you copied/pasted this code into it ?
Because thats exactly what I did (I always keep a dummy project around
in which I keep lots of test cases) and it simply worked. First I
created the package and 2 class files manually, with a second test I
simply created a class file in another package and only changed the
package name in your source and both tests work.
So I wonder if its either your NetBeans version or the way in which you
set this all up.
--
Groetjes, Peter
..\\ PGP/GPG key: http://www.catslair.org/pubkey.asc
.
- References:
- Prev by Date: Re: Help needed with NetBeans IDE so sample code will work please?
- Next by Date: Re: Generating AST using javacc and jjtree
- Previous by thread: Re: Help needed with NetBeans IDE so sample code will work please?
- Next by thread: Java Memory Leak Detector
- Index(es):
Relevant Pages
|