changed JPanel to display starting string
fixed null issue