kyle johnson

Greenhorn
+ Follow
since Apr 06, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by kyle johnson

Thanks for the reply,

Yeah that's what iv ended up doing. Thanks for your help
13 years ago
Thanks, those are two really good examples.


In regards to those, is it possible to print a JEditorPane without it being added to a JFrame?

Later in my program I want to be able to print a JEditorPane without displaying it in a UI, however I found that it would only print once it had been added to a JFrame and the pack() method had been called.


Best regards,
Kyle
13 years ago
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
13 years ago


I'm finding that when I add JPanels to paymentdetailsPanel it creates a big gap between them, I think it may be to do with some panels having a flow layout?

Please provide some feedback on this

Kyle
13 years ago