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

[SwingNode] EnableButtons sample initially shows black background

XMLWordPrintable

      Component: Samples
      Build: javafx8b115
      PlatForm: Ubuntu,Windows

      Steps(the test case is tests/docsamples/EnableButtons_62.html):
      1.Clean and build EnableButtons
      2.Run the application,it will show two buttons:Enable FX button and Enalbe JButton
      3.Enable FX button will be shown on left and Enable JButton will be shown on right
      4.Place a mouse cursor over each button and see their tool tips: "Click this button to enable the FX button." "Click this button to enable the Swing button.".

      The actual result:
      1.Once the applet loaded,there will be a black backgroud shown,if we move the mouse cursor over it,the black background will disappear.pleaser refer to Enablebutton_1.png and Enablebutton_2.png.
      2.On Ubuntu,the location of the two buttons is wrong,please refer to Enablebutton_2.png.
      3.If the Enable JButton is disabled,the tooltip will not be shown,but if the Enable FX button is disabled,the tooltip will be shown.

            psadhukhan Prasanta Sadhukhan
            tolli Tony Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: