Hi, I'm a newbie at Java programming and was wondering how to align some text fields using the tab option aside from simply placing empty space to align for example:
JOptionPane.showMessageDialog(null, "Type of Coffee Ordered :" + " "+ nameString + '\n' +"Number of Pounds Ordered :" + " " + poundsOfCoffeeOrdered + '\n' + '\n' ;
I know that while using the scanner option I can tab by simply using '\t'
Is there an equivalent to this in JOptionPane.
Thank you soooo much in advance.