harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor V. Stolyarov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-4684) [classlib][swing] JFileChooser detailed view doesn't have scrollbar
Date Tue, 28 Aug 2007 12:03:32 GMT

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


Mime
View raw message