I get error from the following source code, which I picked up from a java tutorial. I watched it in debuger, and a program runs fine till the line "frame.setVisible(true)" when it explodes, but the program it self stays hanging in memory, with no frame displayed. Help me Doctor. What Do i do wrong?
output: I've shorten the output becaouse it really is cyclic and it's repeating it self...