hdijkema / seaglass

Automatically exported from code.google.com/p/seaglass
0 stars 0 forks source link

JComboBox not corectly rendered #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Make a JComboBox
2. Add many items
3. Click on the JComboBox..

What is the expected output? What do you see instead?
JComboBox is not correctly rendered. See additional information for the
output error.

What version of the product are you using? On what operating system? What
JRE version?
Using 0.1.7.1 version under Windows 7 with 1.6.0_17 from SUN.

Please provide any additional information below.
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at
com.seaglasslookandfeel.ui.SeaGlassScrollPaneUI.paintScrollPaneCorner(SeaGlassSc
rollPaneUI.java:272)
    at
com.seaglasslookandfeel.ui.SeaGlassScrollPaneUI.update(SeaGlassScrollPaneUI.java
:262)
    at javax.swing.JComponent.paintComponent(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JLayeredPane.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paintToOffscreen(Unknown Source)
    at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
    at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
    at javax.swing.RepaintManager.paint(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
    at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
    at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
    at java.awt.Container.paint(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown
Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

Original issue reported on code.google.com by Ale...@gmail.com on 9 Mar 2010 at 3:00

GoogleCodeExporter commented 9 years ago
Are you using any custom components? I can't replicate this.

Can you attach a simple example that demonstrates the problem?

Original comment by kahuxtable on 12 Mar 2010 at 2:57

GoogleCodeExporter commented 9 years ago
How many is "many"?

Original comment by kahuxtable on 13 Mar 2010 at 5:30

GoogleCodeExporter commented 9 years ago
No, I'm using the default swing JComboBox. I think that this problem, maybe, can
happen because the items of JComboBox make the width of the JComboBox bigger 
than the
width of the screen. You can check this problem with the code that I attached.

P.S. Ignore my grammatical errors :D

Original comment by Ale...@gmail.com on 14 Mar 2010 at 2:11

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks, that replicates. I see what's going on.

Original comment by kahuxtable on 14 Mar 2010 at 3:00

GoogleCodeExporter commented 9 years ago
I've been forgetting to assign me as owner.

Original comment by kahuxtable on 14 Mar 2010 at 3:01

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1571.

Original comment by kahuxtable on 13 Jul 2010 at 8:06