harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Deakin (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (HARMONY-4445) [classlib][swing] JSlider thumb can't move if JSlider.getMaximum()=Integer.MAX_VALUE
Date Thu, 16 Aug 2007 09:59:30 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-4445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oliver Deakin reassigned HARMONY-4445:
--------------------------------------

    Assignee: Oliver Deakin

> [classlib][swing] JSlider thumb can't move if JSlider.getMaximum()=Integer.MAX_VALUE
> ------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4445
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4445
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Dmitry Irlyanov
>            Assignee: Oliver Deakin
>            Priority: Minor
>         Attachments: H4555-BasicSliderUI.patch, H4555-BasicSliderUITest.patch
>
>
> JSlider thumb can't move if JSlider.getMaximum()=Integer.MAX_VALUE
> The situation represented in the following test:
> import java.awt.GridLayout;
> 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("SliderTest"); //$NON-NLS-1$
>         frame.setLayout(new GridLayout(2,1));
>         frame.add(new JSlider(SwingConstants.HORIZONTAL, 0, Integer.MAX_VALUE,
>                 50));
>         frame.add(new JSlider(SwingConstants.HORIZONTAL, 0, 100, 50));
>         frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
>         frame.setSize(150, 100);
>         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