Changed to JFrame
Made "constants" into instance variables