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

TextArea.setBackground(Background.EMPTY) still results in a visible background

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: javafx
    • Environment:

      mac

      Description

      The following code seems to result in a TextArea with a gray background instead of a transparent TextArea:

      TextArea textArea = new TextArea();
      textArea.setBackground(Background.EMPTY);

      In contrast, TextField does become transparent (as expected) with:

      TextField textField = new TextField();
      textField.setBackground(Background.EMPTY);

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              leifs Leif Samuelsson (Inactive)
              Reporter:
              dmasada Debra Masada (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved:
                Imported: