I made a method out of the the casted cardLayoutPanel method call. It
makes it more understandable this way.
Made a method to make calling different panels more clear and easier
throughout the program
made a method to make it easier to call each panel throughout the
program