You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Igor V. Stolyarov (JIRA)" <ji...@apache.org> on 2007/08/27 12:41:30 UTC

[jira] Created: (HARMONY-4684) [classlib][swing] JFileChooser detailed view doesn't have scrollbar

[classlib][swing] JFileChooser detailed view doesn't have scrollbar
-------------------------------------------------------------------

                 Key: HARMONY-4684
                 URL: https://issues.apache.org/jira/browse/HARMONY-4684
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Igor V. Stolyarov


JFileChooser detailed view doesn't have scrollbar.

Simple reproducer:
import javax.swing.*; 
import javax.swing.event.*;
import java.awt.*; 
import java.awt.event.*; 

public class JFileChooserTest { 

    public static void main(String[] args) { 

        final JFrame f = new JFrame("Test");

        JButton b = new JButton(new AbstractAction("Choose file") {
            public void actionPerformed(ActionEvent e) {
                JFileChooser fc = new JFileChooser();
                fc.showOpenDialog(f);
            }
        });
        JPanel p = new JPanel(); 
        p.setMaximumSize(new Dimension(100, 30));
        p.setPreferredSize(new Dimension(100, 30));
        p.add(b);
        f.setLayout(new BorderLayout());
        f.add(p, BorderLayout.CENTER);
        f.setBounds(0, 0, 300, 200); 
        f.setVisible(true); 
        f.addWindowListener(new WindowAdapter() { 
            public void windowClosing(WindowEvent ev) { 
                System.exit(0); 
            } 
        }); 
    } 
} 

Steps for reproduce:
1. Run JFileChooserTest
2. Click "Choose file" button
3. Choose detailed view

Detailed view doesn't have scrollbar and impossibly select files which placed out of FileChooser window

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


[jira] Resolved: (HARMONY-4684) [classlib][swing] JFileChooser detailed view doesn't have scrollbar

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

Alexey Petrenko resolved HARMONY-4684.
--------------------------------------

    Resolution: Fixed

The patch has been applied.
Please verify.

> [classlib][swing] JFileChooser detailed view doesn't have scrollbar
> -------------------------------------------------------------------
>
>                 Key: HARMONY-4684
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4684
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Igor V. Stolyarov
>            Assignee: Alexey Petrenko
>         Attachments: H-4684.patch
>
>
> JFileChooser detailed view doesn't have scrollbar.
> Simple reproducer:
> import javax.swing.*; 
> import javax.swing.event.*;
> import java.awt.*; 
> import java.awt.event.*; 
> public class JFileChooserTest { 
>     public static void main(String[] args) { 
>         final JFrame f = new JFrame("Test");
>         JButton b = new JButton(new AbstractAction("Choose file") {
>             public void actionPerformed(ActionEvent e) {
>                 JFileChooser fc = new JFileChooser();
>                 fc.showOpenDialog(f);
>             }
>         });
>         JPanel p = new JPanel(); 
>         p.setMaximumSize(new Dimension(100, 30));
>         p.setPreferredSize(new Dimension(100, 30));
>         p.add(b);
>         f.setLayout(new BorderLayout());
>         f.add(p, BorderLayout.CENTER);
>         f.setBounds(0, 0, 300, 200); 
>         f.setVisible(true); 
>         f.addWindowListener(new WindowAdapter() { 
>             public void windowClosing(WindowEvent ev) { 
>                 System.exit(0); 
>             } 
>         }); 
>     } 
> } 
> Steps for reproduce:
> 1. Run JFileChooserTest
> 2. Click "Choose file" button
> 3. Choose detailed view
> Detailed view doesn't have scrollbar and impossibly select files which placed out of FileChooser window

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


[jira] Updated: (HARMONY-4684) [classlib][swing] JFileChooser detailed view doesn't have scrollbar

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

Igor V. Stolyarov updated HARMONY-4684:
---------------------------------------

    Attachment: H-4684.patch

Fix attached

> [classlib][swing] JFileChooser detailed view doesn't have scrollbar
> -------------------------------------------------------------------
>
>                 Key: HARMONY-4684
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4684
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Igor V. Stolyarov
>         Attachments: H-4684.patch
>
>
> JFileChooser detailed view doesn't have scrollbar.
> Simple reproducer:
> import javax.swing.*; 
> import javax.swing.event.*;
> import java.awt.*; 
> import java.awt.event.*; 
> public class JFileChooserTest { 
>     public static void main(String[] args) { 
>         final JFrame f = new JFrame("Test");
>         JButton b = new JButton(new AbstractAction("Choose file") {
>             public void actionPerformed(ActionEvent e) {
>                 JFileChooser fc = new JFileChooser();
>                 fc.showOpenDialog(f);
>             }
>         });
>         JPanel p = new JPanel(); 
>         p.setMaximumSize(new Dimension(100, 30));
>         p.setPreferredSize(new Dimension(100, 30));
>         p.add(b);
>         f.setLayout(new BorderLayout());
>         f.add(p, BorderLayout.CENTER);
>         f.setBounds(0, 0, 300, 200); 
>         f.setVisible(true); 
>         f.addWindowListener(new WindowAdapter() { 
>             public void windowClosing(WindowEvent ev) { 
>                 System.exit(0); 
>             } 
>         }); 
>     } 
> } 
> Steps for reproduce:
> 1. Run JFileChooserTest
> 2. Click "Choose file" button
> 3. Choose detailed view
> Detailed view doesn't have scrollbar and impossibly select files which placed out of FileChooser window

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


[jira] Assigned: (HARMONY-4684) [classlib][swing] JFileChooser detailed view doesn't have scrollbar

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

Alexey Petrenko reassigned HARMONY-4684:
----------------------------------------

    Assignee: Alexey Petrenko

> [classlib][swing] JFileChooser detailed view doesn't have scrollbar
> -------------------------------------------------------------------
>
>                 Key: HARMONY-4684
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4684
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Igor V. Stolyarov
>            Assignee: Alexey Petrenko
>         Attachments: H-4684.patch
>
>
> JFileChooser detailed view doesn't have scrollbar.
> Simple reproducer:
> import javax.swing.*; 
> import javax.swing.event.*;
> import java.awt.*; 
> import java.awt.event.*; 
> public class JFileChooserTest { 
>     public static void main(String[] args) { 
>         final JFrame f = new JFrame("Test");
>         JButton b = new JButton(new AbstractAction("Choose file") {
>             public void actionPerformed(ActionEvent e) {
>                 JFileChooser fc = new JFileChooser();
>                 fc.showOpenDialog(f);
>             }
>         });
>         JPanel p = new JPanel(); 
>         p.setMaximumSize(new Dimension(100, 30));
>         p.setPreferredSize(new Dimension(100, 30));
>         p.add(b);
>         f.setLayout(new BorderLayout());
>         f.add(p, BorderLayout.CENTER);
>         f.setBounds(0, 0, 300, 200); 
>         f.setVisible(true); 
>         f.addWindowListener(new WindowAdapter() { 
>             public void windowClosing(WindowEvent ev) { 
>                 System.exit(0); 
>             } 
>         }); 
>     } 
> } 
> Steps for reproduce:
> 1. Run JFileChooserTest
> 2. Click "Choose file" button
> 3. Choose detailed view
> Detailed view doesn't have scrollbar and impossibly select files which placed out of FileChooser window

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


[jira] Closed: (HARMONY-4684) [classlib][swing] JFileChooser detailed view doesn't have scrollbar

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

Alexey Petrenko closed HARMONY-4684.
------------------------------------


> [classlib][swing] JFileChooser detailed view doesn't have scrollbar
> -------------------------------------------------------------------
>
>                 Key: HARMONY-4684
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4684
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Igor V. Stolyarov
>            Assignee: Alexey Petrenko
>         Attachments: H-4684.patch
>
>
> JFileChooser detailed view doesn't have scrollbar.
> Simple reproducer:
> import javax.swing.*; 
> import javax.swing.event.*;
> import java.awt.*; 
> import java.awt.event.*; 
> public class JFileChooserTest { 
>     public static void main(String[] args) { 
>         final JFrame f = new JFrame("Test");
>         JButton b = new JButton(new AbstractAction("Choose file") {
>             public void actionPerformed(ActionEvent e) {
>                 JFileChooser fc = new JFileChooser();
>                 fc.showOpenDialog(f);
>             }
>         });
>         JPanel p = new JPanel(); 
>         p.setMaximumSize(new Dimension(100, 30));
>         p.setPreferredSize(new Dimension(100, 30));
>         p.add(b);
>         f.setLayout(new BorderLayout());
>         f.add(p, BorderLayout.CENTER);
>         f.setBounds(0, 0, 300, 200); 
>         f.setVisible(true); 
>         f.addWindowListener(new WindowAdapter() { 
>             public void windowClosing(WindowEvent ev) { 
>                 System.exit(0); 
>             } 
>         }); 
>     } 
> } 
> Steps for reproduce:
> 1. Run JFileChooserTest
> 2. Click "Choose file" button
> 3. Choose detailed view
> Detailed view doesn't have scrollbar and impossibly select files which placed out of FileChooser window

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


[jira] Updated: (HARMONY-4684) [classlib][swing] JFileChooser detailed view doesn't have scrollbar

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

Igor V. Stolyarov updated HARMONY-4684:
---------------------------------------

    Patch Info: [Patch Available]

> [classlib][swing] JFileChooser detailed view doesn't have scrollbar
> -------------------------------------------------------------------
>
>                 Key: HARMONY-4684
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4684
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Igor V. Stolyarov
>         Attachments: H-4684.patch
>
>
> JFileChooser detailed view doesn't have scrollbar.
> Simple reproducer:
> import javax.swing.*; 
> import javax.swing.event.*;
> import java.awt.*; 
> import java.awt.event.*; 
> public class JFileChooserTest { 
>     public static void main(String[] args) { 
>         final JFrame f = new JFrame("Test");
>         JButton b = new JButton(new AbstractAction("Choose file") {
>             public void actionPerformed(ActionEvent e) {
>                 JFileChooser fc = new JFileChooser();
>                 fc.showOpenDialog(f);
>             }
>         });
>         JPanel p = new JPanel(); 
>         p.setMaximumSize(new Dimension(100, 30));
>         p.setPreferredSize(new Dimension(100, 30));
>         p.add(b);
>         f.setLayout(new BorderLayout());
>         f.add(p, BorderLayout.CENTER);
>         f.setBounds(0, 0, 300, 200); 
>         f.setVisible(true); 
>         f.addWindowListener(new WindowAdapter() { 
>             public void windowClosing(WindowEvent ev) { 
>                 System.exit(0); 
>             } 
>         }); 
>     } 
> } 
> Steps for reproduce:
> 1. Run JFileChooserTest
> 2. Click "Choose file" button
> 3. Choose detailed view
> Detailed view doesn't have scrollbar and impossibly select files which placed out of FileChooser window

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


[jira] Commented: (HARMONY-4684) [classlib][swing] JFileChooser detailed view doesn't have scrollbar

Posted by "Igor V. Stolyarov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-4684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523786 ] 

Igor V. Stolyarov commented on HARMONY-4684:
--------------------------------------------

Works for me.
Thank you Alexey.

> [classlib][swing] JFileChooser detailed view doesn't have scrollbar
> -------------------------------------------------------------------
>
>                 Key: HARMONY-4684
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4684
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Igor V. Stolyarov
>            Assignee: Alexey Petrenko
>         Attachments: H-4684.patch
>
>
> JFileChooser detailed view doesn't have scrollbar.
> Simple reproducer:
> import javax.swing.*; 
> import javax.swing.event.*;
> import java.awt.*; 
> import java.awt.event.*; 
> public class JFileChooserTest { 
>     public static void main(String[] args) { 
>         final JFrame f = new JFrame("Test");
>         JButton b = new JButton(new AbstractAction("Choose file") {
>             public void actionPerformed(ActionEvent e) {
>                 JFileChooser fc = new JFileChooser();
>                 fc.showOpenDialog(f);
>             }
>         });
>         JPanel p = new JPanel(); 
>         p.setMaximumSize(new Dimension(100, 30));
>         p.setPreferredSize(new Dimension(100, 30));
>         p.add(b);
>         f.setLayout(new BorderLayout());
>         f.add(p, BorderLayout.CENTER);
>         f.setBounds(0, 0, 300, 200); 
>         f.setVisible(true); 
>         f.addWindowListener(new WindowAdapter() { 
>             public void windowClosing(WindowEvent ev) { 
>                 System.exit(0); 
>             } 
>         }); 
>     } 
> } 
> Steps for reproduce:
> 1. Run JFileChooserTest
> 2. Click "Choose file" button
> 3. Choose detailed view
> Detailed view doesn't have scrollbar and impossibly select files which placed out of FileChooser window

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