My idea is to make a chat program using SWING. So I will have 1 class Server which will use no GUI and 1 class Client with GUI( the Client will be run a couple of times ).
How should I structure my project ( is it a good idea to use 1 project for both or separate projects? ), because I need to run the server as a standalone jar therefore it will need a main method, and also the Client will need to be run like a standalone jar, but I can not have 2 classes with main method in them?