I\'m new to java coming from C# so I\'m not familiar with java best practices.
I have a main class that opens a JFrame to get several input strings from a user. When
Also consider using JOptionPane, shown here, in your Main class. You can customize the appearance, including button text, as shown in How to Make Dialogs.
Main