[Bluej-discuss] Cannot create an instance of Class.

Ian Utting I.A.Utting at kent.ac.uk
Sun Oct 1 22:40:13 BST 2006


Lawrence -

 > The only options that come up are,
> 'open editor' 'compile' and 'remove'. For some reason
> the classes do not appear exactly as in the book, and
> have diagonal lines drawn in the class boxes.

The diagonal lines indicate that the class has not been compiled (either 
at all, or since the source was last changed). You can't create a new 
instance of a class until you have compiled it.

Either use the "compile" option offered when you right-click on a class, 
or use the compile button on the left of the BlueJ main window to 
compile everything which needs it.

Ian.


More information about the bluej-discuss mailing list