JTextPane seems to insist on drawing on its own background.

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 1.1.5
    • Affects Version/s: 0.9
    • Component/s: client-libs
    • None
    • 1.1.5
    • generic
    • generic
    • Not verified

      As far as I can tell, the JTextPane always insists on drawing on a solid colored background (set via setBackground()). This is fine, no doubt, when the field is placed on a plain background for display or editing. But, when used via the SwingUtils.paintComponent() method, this becomes a hinderance, because it is impossible to place the text over arbitrary backgrounds (which may be precisely the intent of using SwingUtils.paintComponent()). This limitation should be removed.

            Assignee:
            Tim Prinzing (Inactive)
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: