Pivot
  1. Pivot
  2. PIVOT-805

Labels doesn't appear in Print from Java

    Details

      Description

      Labels doesn't appear in Print from Java:
      note that this is a partial solution of the other ticket "Labels doesn't appear in Print from Browser", more complex to fix (and probably related to something strange even in Java classes).
      So this solves "only" the case of Print from Pivot , but using Java Print facilities.
      I think this should be applyable to Applications, and Applets.

      1. LabelSkin.patch
        1 kB
        Sandro Martini

        Issue Links

          Activity

          Hide
          Sandro Martini added a comment -

          First (temporary) version of the fix, to be updated soon.

          Show
          Sandro Martini added a comment - First (temporary) version of the fix, to be updated soon.
          Hide
          Sandro Martini added a comment -

          Updated patch

          Show
          Sandro Martini added a comment - Updated patch
          Hide
          Sandro Martini added a comment -

          Note that with this fix now inside paint() I have to test on the instanceof Graphics (before it wasn't needed), but the first case if the usual (non-print) mode, to reduce the number of unnecessary if ... and go in the else only during print from Java (and NOT during Print from the Browser in case of Applets, for this see PIVOT-511).

          Show
          Sandro Martini added a comment - Note that with this fix now inside paint() I have to test on the instanceof Graphics (before it wasn't needed), but the first case if the usual (non-print) mode, to reduce the number of unnecessary if ... and go in the else only during print from Java (and NOT during Print from the Browser in case of Applets, for this see PIVOT-511 ).
          Hide
          Sandro Martini added a comment -
          Show
          Sandro Martini added a comment - Interesting (but a little old) article: http://www.apl.jhu.edu/~hall/java/Swing-Tutorial/Swing-Tutorial-Printing.html

            People

            • Assignee:
              Sandro Martini
              Reporter:
              Sandro Martini
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development