You seem to have a missing closing bracket after your ScheduleFrame constructor and before your actionPerformed() method.

It's good practice to break really long methods (like your ScheduleFrame constructor and your actionPerformed() method) into smaller methods. Not only is this good design (you can put common code into a method and call it from different locations, thus avoiding copying code, thus avoiding errors where you change your code in one place but forget to make a corresponding change in the other place), but also keeping the opening and closign brackets of a function on one screen helps to avoid problems like this...