This gets called when ever I want to create my Textbox object however what gets created is a purple box (i know that I have set the array elements to purple to begin with) however when I try to use the drawstring method to "draw a string" I get an image which looks like the gif below. I have changed the text size to various sizes but without success. The string is supposed to say "This is a test" but obviously it doesn't. I can't figure it out, please can someone help
Well, Game.getG() looks very suspicious. Where is Game getting the Graphics object from? Keeping it around outside of whatever painting method is being called by the event thread is probably a bad idea.
The mind is a strange and wonderful thing. I'm not sure that it will ever be able to figure itself out, everything else, maybe. From the atom to the universe, everything, except itself.
Not so fast naughty spawn! I want you to know about