harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Molotkov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-3259) [classlib][swing] java.lang.ClassCastException from JComponent.paintChildren after setting debug option
Date Wed, 28 Feb 2007 05:23:05 GMT
[classlib][swing] java.lang.ClassCastException from JComponent.paintChildren after setting
debug option
-------------------------------------------------------------------------------------------------------

                 Key: HARMONY-3259
                 URL: https://issues.apache.org/jira/browse/HARMONY-3259
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
         Environment: all
            Reporter: Vladimir Molotkov


Please run the following test to reproduce the problem:
-----

import javax.swing.JFrame;
import javax.swing.JComboBox;
import javax.swing.JScrollPane;
import javax.swing.DebugGraphics;

public class d {
    public static void main(String[] args) {
        JFrame frame = new JFrame("test");
        JComboBox box = new JComboBox(new String[] {"test"});
        box.setDebugGraphicsOptions(DebugGraphics.LOG_OPTION);
        JScrollPane p = new JScrollPane(box);
        frame.add(p);
        frame.pack();
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        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