A Shape solution to the mega project thread done in java. GUI elements done in Swing