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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • 8
    • 8
    • javafx
    • mac

      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);

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

              Created:
              Updated:
              Resolved:
              Imported: