Hello,
Why not just use a dialogue within the main method?
Code:
String type = JOptionPane.showInputDialog
That way you can prompt to return a sting value, and then use that value through a transfer system; if a=b, then b=c. Just know that the end result is the cascading of the return value.
Just remember that it is important that they may have more than one input type.