harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Irlyanov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-4482) [classlib][swing] JSlider track size in Harmony is smaller then in RI
Date Tue, 17 Jul 2007 10:58:04 GMT
[classlib][swing] JSlider track size in Harmony is smaller then in RI
---------------------------------------------------------------------

                 Key: HARMONY-4482
                 URL: https://issues.apache.org/jira/browse/HARMONY-4482
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Dmitry Irlyanov
            Priority: Minor
         Attachments: comparison.JPG

JSlider thumb can move from-side-to-side in the following example in RI, but can't in Harmony
(see attached picture)

import javax.swing.JFrame;
import javax.swing.JSlider;
import javax.swing.SwingConstants;

public class SliderTest {

    public static void main(String[] args) {

        JFrame frame = new JFrame("Test"); //$NON-NLS-1$
        frame.add(new JSlider(SwingConstants.HORIZONTAL, 0, 100, 50));
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setSize(100, 150);
        frame.setVisible(true);

    }

}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message