I removed the generator() function and wrote "GUI.generator()" to after the declaration of the JFrame and it seems to be working as I intended now, thanks!
I do not know about the swing timer...
Type: Posts; User: Att1li
I removed the generator() function and wrote "GUI.generator()" to after the declaration of the JFrame and it seems to be working as I intended now, thanks!
I do not know about the swing timer...
Hello
I've been playing around with 2D graphics in Java and I want to make a timed matrix generator using Thread.sleep() .
Simply put , I have a matrix of squares which is 20x20 blue squares and...