The second main was created by the gui builder of idea. All values of the labels are specified in the .form file which is an X ml so no way to have them as a string ... well as a static string.
I have always used public static String as this allows to get and set the string from any class etc an incredibly useful thing.
I'm guessing from your reply that what I'm doing is not the right way but you don't mention what is or how to fix/workaround the issue
really don't want to be using just one class for the while program