christstc / seaglass

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

JComboBox NullPointException #62

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create JComboBox
2. Fill with whatever number of items, then add items until number of items is 
greater than screen can show at once
3. Will acquire error, although scrollbar does appear as it should

black on a top/bottom, scrollbar, and over most items, though this disappears 
when the mouse is moved over the black parts (except top/bottom).

seaglass v0.1.7.3, Windows 7, Java 6u20

Error as thrown;

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at com.seaglasslookandfeel.ui.SeaGlassScrollPaneUI.paintScrollPaneCorner(SeaGlassScrollPaneUI.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 java.awt.Window.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 namurasa...@gmail.com on 24 Oct 2010 at 5:27

GoogleCodeExporter commented 9 years ago
Hi,
This is already fixed in the integration_rossi branch.

Have fun,
- Rossi

Original comment by rosstaus...@googlemail.com on 15 Feb 2011 at 7:13

GoogleCodeExporter commented 9 years ago
Where to Download these classes (I mean the updated Jar File)

Original comment by gnadh2007 on 2 Mar 2011 at 7:27

GoogleCodeExporter commented 9 years ago
This issue is fixed in sealglass 0.2 that we just have released.
Please give this new version a try.

Have fun,
- Rossi

Original comment by rosstaus...@googlemail.com on 25 Jun 2012 at 8:45