View Single Post
Old 12-02-2011, 02:48 AM   PM User | #14
mike1305
New to the CF scene

 
Join Date: Dec 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
mike1305 is an unknown quantity at this point
I apologize for the bump, but I felt it appropriate to add my solution to this problem. This thread is very high on Google when searching for the aforementioned error message.

I recompiled with the flag it suggests and my error came from this "bad" line of code:

Code:
ArrayList<JButton> sodaChoices = new ArrayList();
The error disappeared when I wrote this:

Code:
ArrayList<JButton> sodaChoices = new ArrayList<JButton>();
Sorry if "bumping" peeved anyone, but what would the internet be if people didn't share knowledge? Hopefully this helps some other poor intro Java student out there like myself
mike1305 is offline   Reply With Quote