My question is: how can I format my output when outputting in JTextArea.
I want to have the same functionality as System.out.format has (custom spaces between values).
Maybe it is possible to print PrintSream objects in JTextArea?
I am currently using append(String s) method but I am not satisfied with the results since this only gives me an option to output String with no formatting options.
All 4 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.