Hello, I'm working on a project and I want to print off a customer order. I want to be able to easily add sub headings wherever I want. It's also best to state here that I am quite new to Java.
My current solution is to add the generated text to a JEditorPane and print that using the following:
I'm just curious, am I using a ridiculous long winded method to get my intended result?
Thanks