I have a java project containing two Main classes.
These two Main classes are conceived to be run one at a time, so that every time I have to set Eclipserunning configuration to change the class to be loaded.
Is there a way to create a very simple JFrame or whatever UI that allows the user to programmatically choose which class to load and then run the related Main class when the application is delivered?