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] Commented: (HARMONY-4445) [classlib][swing] JSlider thumb can't move if JSlider.getMaximum()=Integer.MAX_VALUE
Date Tue, 14 Aug 2007 10:07:30 GMT

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


Mime
View raw message