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

Scene and JFXPanel sizes are different

    Details

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

      8.0b110, win7, x64

      Description

      Click button Click me, to see the output:

      scene.getWidth() = 198.0
      scene.getHeight() = 198.0
      mainJavafxPanel.getSize() = java.awt.Dimension[width=200,height=200]

      I think, they should be equal

        Attachments

          Activity

            People

            • Assignee:
              ant Anton Tarasov
              Reporter:
              akirov Alexander Kirov (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: