title: How much code should be in the main method of a program?
body: <p>I'm new to creating my own software. I'm a student so I've created things that have been layed out step by step but I've never really done the process myself. </p>
  
  <p>I've been trying to implement good design techniques and make good use of OOP but I'm worried that the code I have isn't very well written. </p>
  
  <p>My main worry is the main method. Where I'm making a chat program I created a class ChatClient to house the main method. But I've found that all the code I really need to put in the main method is a call to a JFrame class telling it to show the program's interface. From here the entire functionality of the program is handled in other classes.</p>
  
  <p>Should I be pulling more control of the way the program runs into the main method? Or is it actually fine to have a single line for a main method? </p>