Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to apply CSS to a JEditorPane?

843836Mar 8 2005
Hi all,

I am working on report displaying and printing.

the report is in HTML format.

if the font size on the screen is acceptable, the result of printing font size appears to be too big.

i want to apply different CSS for displaying and printing.

where should i get start from, is there any tutorial? or anyone can show me some demo codes?

thank you.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 5 2005
Added on Mar 8 2005
0 comments
104 views