Changed Files form java classes to jpanel classes to access GUI