I'm currently working on a text editor. I have an entire GUI working, and now I'm trying to add usability to it.
For some reason, when I try to create an array called symbols, NetBeans is fine with it -- when I try to assign a value to the array, NetBeans won't compile my program, and will instead give an error and suggest it make a new class for the array.
Example code:
String[] symbols = new String[42]; symbols[0] = "∑"; // Error line!
Here's an image: http://img401.imageshack.us/img401/4844/examplegx.png
Does anyone know the solution to fix this or has this happened to you? If I need to provide more detail, let me know.