Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
bug in printing JComboBox ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in printing JComboBox ?



I couldn't find anything in the archives about this problem.
Has anyone else had problems with this ?

When I try to print a JFrame which implements Printable
and the JFrame contains a JComboBox, the output to the
printer is not valid. (Mac OS X 10.1.5, Aqua)

Using Print Preview to produce the
output, and using Acrobat to look at it, the
JComboBox button widget prints, but not the button's
content text.
The Acrobat error message is : "Wrong operand type".

When I try to print to a real laserprinter (HP), it does not print.

When I save the Postscript output to a file and run Adobe
Acrobat Distiller on it, it complains.

However, Preview app doesn't mind the PDF version,
even though Acrobat does.

If this isn't a known problem, I have the stripped down
code which shows the bug. That's about one page.
The sketch version is :
JFrame implements Printable,
add JComboBox or a JPanel containing one,
and the print() method calls paintAll() or equivalent.

- Norris
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.