O! It's supposed to be [i]. Thanks!
Type: Posts; User: TripleChickenJumpman
O! It's supposed to be [i]. Thanks!
Yes, that is the book i'm using (7th edition). And you said it should work but it doesn't. Here's what the console says :
Exception in thread "main" java.lang.NullPointerException
at...
I coded all of this from what the book i'm reading said to do and I don't know what I did wrong. The majority of the code looks fine except for these two errors.
import java.awt.*;
import...