| | |
Printing Embedded Icons
![]() |
•
•
Join Date: Jun 2004
Posts: 609
Reputation:
Solved Threads: 7
Hi everyone,
I have an embedded icon in a JTextPane and i am trying to print the contents of the JTextPane. I am getting the root view of the JTextPane and i am able to print the embedded icon from the the printer but here's the kicker in that it is always printed in the colour yellow no matter what icon it is.
I have tried using professional printing packages as well but still got the same result even when i specify in the printer driver that i want the print out to be in full colour.
This only happens when i use the JTextpane for printing but this does not occur in other JComponents. I have a JPanel and managed to print its contents in full colour.
Is this a bug or something
I hope someone can help me with this
Thank You
Yours Sincerely
Richard West
I have an embedded icon in a JTextPane and i am trying to print the contents of the JTextPane. I am getting the root view of the JTextPane and i am able to print the embedded icon from the the printer but here's the kicker in that it is always printed in the colour yellow no matter what icon it is.
I have tried using professional printing packages as well but still got the same result even when i specify in the printer driver that i want the print out to be in full colour.
This only happens when i use the JTextpane for printing but this does not occur in other JComponents. I have a JPanel and managed to print its contents in full colour.
Is this a bug or something
I hope someone can help me with this
Thank You
Yours Sincerely
Richard West
![]() |
Similar Threads
- Program Icon. (C++)
- jtextfield query (Java)
- Senior Embedded Software Engineer Sunnyvale, CA (Software Development Job Offers)
- Help with Icons (C#)
- Printing Embedded JComponents (Java)
- How do I change icon of browser button? (Web Browsers)
- JTextPane Printing (Java)
- Burner Drive, Printing, PDFs (Apple Hardware)
Other Threads in the Java Forum
- Previous Thread: Chungaroo
- Next Thread: Following tutorials and getting java.lang.NoClassDefFoundError
| Thread Tools | Search this Thread |
android api applet application apps array arrays automation awt bidirectional binary birt bluetooth businessintelligence busy_handler(null) card class classes client code collision columns component constructor crashcourse database designadrawingapplicationusingjavajslider draw eclipse error errors eventlistener exception expand fractal free game givemetehcodez graphics gui guidancer html ide image inetaddress integer intellij j2me java javadoc javafx javamicroeditionuseofmotionsensor javaprojects jme jni jpanel jtree julia linux list loop machine map method methods migrate mobile mobiledevelopmentcreatejar myaggfun netbeans newbie oracle plazmic print problem program project radio recursion scanner server set sharepoint smart sms smsspam sort sortedmaps sql string subclass support swing textfield threads tree unlimited utility webservices windows





