Trying to get correct text format in .txt file
I am having a problem with getting text to appear in the format I want. I have it formatted the way I want it to look inJTextArea but when I click button to send to a .txt file it is not the same as JtextArea. All the text is printing on the same line and some of the spaces are off by a tab.
I am using Lucida Console font on JTextArea and on windows notepad text editor the same. The weird thing is when I click file to use file preview in windows explorer, the text looks good besides 2 of the 20 lines are off by a tab. When I actually double click file to open...all the text is on one line, Help me please.