JFXPanel: Swing border overlaps panel content

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: 7u6
    • Component/s: javafx

      This code...

      jfxpanel.setBorder(BorderFactory.createLineBorder(Color.BLACK, 4));

      ...shows a black border on the jfxpanel but the border overlaps the panel content. The content should shrink instead.
      Workaround: wrap jfxpanel into a JPanel with that border.

        1. IMG_23102012_151823.png
          2 kB
          Werner Lehmann
        2. RT25772.java
          1 kB
          Anton Tarasov

            Assignee:
            Anton Tarasov (Inactive)
            Reporter:
            Werner Lehmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: