You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Dmitry Irlyanov (JIRA)" <ji...@apache.org> on 2007/08/16 13:53:31 UTC
[jira] Closed: (HARMONY-4445) [classlib][swing] JSlider thumb can't
move if JSlider.getMaximum()=Integer.MAX_VALUE
[ https://issues.apache.org/jira/browse/HARMONY-4445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitry Irlyanov closed HARMONY-4445.
------------------------------------
> [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.