Update mainFrame.java

Added a lisence