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

Swing slider does not look good with the latest marina build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • fx1.2
    • javafx
    • Windows XP, Java6u13


      Compile and run the following snippet using javaFX marina b06. There is a gray color background for the slider which looks bad in compared to the Franca build output

      (See attachments)


      ------------------------------------------- Code Start --------------------------------------------
      import javafx.stage.Stage;
      import javafx.scene.Scene;
      import javafx.ext.swing.SwingSlider;


       var slide = SwingSlider {
           translateY: 40
           translateX: 10
           minimum: 0
           maximum: 10
           value: 3
           vertical: false
       }

      Stage {
          title: "Simple Slider"
          width: 250
          height: 180
          scene: Scene {
              content: slide
              }
      }

      ------------------------------------------- Code End --------------------------------------------

            rbair Richard Bair (Inactive)
            snathsunw Subrata Nath (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: