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] Created: (HARMONY-4684) [classlib][swing] JFileChooser detailed view doesn't have scrollbar
Date Mon, 27 Aug 2007 10:41:30 GMT
[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();
        JPanel p = new JPanel(); 
        p.setMaximumSize(new Dimension(100, 30));
        p.setPreferredSize(new Dimension(100, 30));
        f.setLayout(new BorderLayout());
        f.add(p, BorderLayout.CENTER);
        f.setBounds(0, 0, 300, 200); 
        f.addWindowListener(new WindowAdapter() { 
            public void windowClosing(WindowEvent ev) { 

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

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

View raw message