Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6194767

JComponent should have an isPrinting() method

    XMLWordPrintable

Details

    • b16
    • generic
    • generic

    Description

      5.0 added printing support to JTable. While the table printing support deals with the details of hiding selection and focus during printing, developers want an easy way to customize other aspects of their printouts.

      For example, one developer commented that he had a table with alternating row colors. In a printed output he didn't want these colors. He needed some way for his renderers to know that printing was going on.

      We need to expose an isPrinting() flag for this purpose.
      ###@###.### 2004-11-12 18:45:47 GMT

      Attachments

        Issue Links

          Activity

            People

              shickeysunw Shannon Hickey (Inactive)
              shickeysunw Shannon Hickey (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: