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/07/12 18:45:05 UTC

[jira] Created: (HARMONY-4445) [classlib][swing] JSlider thumb can't move if JSlider.getMaximum()=Integer.MAX_VALUE

[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
            Priority: Minor


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.


[jira] Updated: (HARMONY-4445) [classlib][swing] JSlider thumb can't move if JSlider.getMaximum()=Integer.MAX_VALUE

Posted by "Dmitry Irlyanov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Irlyanov updated HARMONY-4445:
-------------------------------------

    Attachment: H4555-BasicSliderUI.patch

> [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
>            Priority: Minor
>         Attachments: H4555-BasicSliderUI.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.


[jira] Updated: (HARMONY-4445) [classlib][swing] JSlider thumb can't move if JSlider.getMaximum()=Integer.MAX_VALUE

Posted by "Dmitry Irlyanov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Irlyanov updated HARMONY-4445:
-------------------------------------

    Attachment: H4555-BasicSliderUI.patch

Oliver,
I've refreshed the patch, please try it

> [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
>            Priority: Minor
>         Attachments: H4555-BasicSliderUI.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.


[jira] Commented: (HARMONY-4445) [classlib][swing] JSlider thumb can't move if JSlider.getMaximum()=Integer.MAX_VALUE

Posted by "Dmitry Irlyanov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-4445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12520214 ] 

Dmitry Irlyanov commented on HARMONY-4445:
------------------------------------------

Thanks Oliver
All the changes are correct.

> [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.


[jira] Resolved: (HARMONY-4445) [classlib][swing] JSlider thumb can't move if JSlider.getMaximum()=Integer.MAX_VALUE

Posted by "Oliver Deakin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver Deakin resolved HARMONY-4445.
------------------------------------

    Resolution: Fixed

Thanks Dmitry - patch applied at repo revision r566638. Please check that the patch applied as expected.

> [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.


[jira] Closed: (HARMONY-4445) [classlib][swing] JSlider thumb can't move if JSlider.getMaximum()=Integer.MAX_VALUE

Posted by "Dmitry Irlyanov (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Updated: (HARMONY-4445) [classlib][swing] JSlider thumb can't move if JSlider.getMaximum()=Integer.MAX_VALUE

Posted by "Dmitry Irlyanov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Irlyanov updated HARMONY-4445:
-------------------------------------

    Attachment:     (was: H4555-BasicSliderUI.patch)

> [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
>            Priority: Minor
>         Attachments: H4555-BasicSliderUI.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.


[jira] Updated: (HARMONY-4445) [classlib][swing] JSlider thumb can't move if JSlider.getMaximum()=Integer.MAX_VALUE

Posted by "Dmitry Irlyanov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Irlyanov updated HARMONY-4445:
-------------------------------------

    Attachment: H4555-BasicSliderUITest.patch

Regression test added

> [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
>            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.


[jira] Updated: (HARMONY-4445) [classlib][swing] JSlider thumb can't move if JSlider.getMaximum()=Integer.MAX_VALUE

Posted by "Dmitry Irlyanov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Irlyanov updated HARMONY-4445:
-------------------------------------

    Attachment: H4555-BasicSliderUI.patch

The bug occurs due to word overflow

> [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
>            Priority: Minor
>         Attachments: H4555-BasicSliderUI.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.


[jira] Updated: (HARMONY-4445) [classlib][swing] JSlider thumb can't move if JSlider.getMaximum()=Integer.MAX_VALUE

Posted by "Dmitry Irlyanov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Irlyanov updated HARMONY-4445:
-------------------------------------

    Attachment:     (was: H4555-BasicSliderUI.patch)

> [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
>            Priority: Minor
>
> 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.


[jira] Assigned: (HARMONY-4445) [classlib][swing] JSlider thumb can't move if JSlider.getMaximum()=Integer.MAX_VALUE

Posted by "Oliver Deakin (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Commented: (HARMONY-4445) [classlib][swing] JSlider thumb can't move if JSlider.getMaximum()=Integer.MAX_VALUE

Posted by "Oliver Deakin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-4445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519639 ] 

Oliver Deakin commented on HARMONY-4445:
----------------------------------------

Hi Dmitry,

This patch has become outdated now - i.e. it does not apply cleanly any more. When I apply it manually I get build errors:

    [javac] 1. ERROR in C:\harmony\svn-checkouts\classlib-clean\modules\swing\src\main\java\common\javax\swing\plaf\basic\BasicSliderUI.java
    [javac]  (at line 1115)
    [javac]     .isLeftToRight() && slider.getOrientation() == SwingConstants.HORIZONTAL))) {
    [javac]                                                    ^^^^^^^^^^^^^^
    [javac] SwingConstants cannot be resolved
    [javac] ----------
    [javac] 1 problem (1 error)


Could you please update the patch? When you do I will take a look at it.
Thanks!

> [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
>            Priority: Minor
>         Attachments: H4555-BasicSliderUI.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.


[jira] Updated: (HARMONY-4445) [classlib][swing] JSlider thumb can't move if JSlider.getMaximum()=Integer.MAX_VALUE

Posted by "Dmitry Irlyanov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Irlyanov updated HARMONY-4445:
-------------------------------------

    Attachment: H4555-BasicSliderUI.patch

> [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
>            Priority: Minor
>         Attachments: H4555-BasicSliderUI.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.


[jira] Updated: (HARMONY-4445) [classlib][swing] JSlider thumb can't move if JSlider.getMaximum()=Integer.MAX_VALUE

Posted by "Dmitry Irlyanov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Irlyanov updated HARMONY-4445:
-------------------------------------

    Attachment:     (was: H4555-BasicSliderUI.patch)

> [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
>            Priority: Minor
>         Attachments: H4555-BasicSliderUI.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.