Someone probably came accross this issue when they started programming but here is the issue
Currently i created a program of mines with a gui that is in its own .java class files.
The gui will interact with 6 separate java class files. I'm stuck on how to design it
that way my main gui file will interact with the other files in a way that is seamless,
What i litterally mean is the the design approach i should take to make this logical
so i can pass data between them easy return data.

What the program currently does.
User gets to check some check boxes of what test the want to run on the system.
Once user selected these check boxes, and I have there input the parameters . They hit a play button.
This play button will then interface and go to the selected java class
files and perform any of the passed action that was selected.

I separated into 6 separate java class files due to the fact that there are different modules that i will be interacting with.
Each module is different.

I started using an if statement to see what was selected for the check box and i kind of got stuck when i also wanted to
add a switch statement in there. The plan was to have it go to the selected class and give it the selected task to run that was checked.

But the main issue in my mind is not being able to instantiate the class in my current
GUI class but in my mind i was wanting to call the class and start at the constructor and flow from there.
I know i'm probably missing something or looking at this from the wrong perspective, maybe someone would
give me hint of what not to do or how to approach this. I would gladly appreciate it.
Thanks