Q: Does your PDF viewer jPDFViewer have an invert color mode?

A: Yes.

To invert colors when displaying a PDF using our Java component jPDFViewer, jPDFNotes or jPDFEditor, call

bean.setInvertColorsMode(true);

where bean is either PDFViewerBean, PDFNotesBean or PDFEditorBean.

For typical documents, the display will change from “Black on White” to “White on Black”.

Inverting colors make things much easier to read when working in a dark room, on an airplane, or at night.