Menu

#15 Drop-down list box problem in preferences tool.

Annoying
open
None
5
2003-05-09
2003-05-09
No

If a drop-down list box (combo-box) in the preferences
tool is close enough to the bottom edge that the list
box would not fit, an exception is thrown:

java.awt.image.RasterFormatException: (y + height) is
outside raster
at
sun.awt.image.IntegerInterleavedRaster.createWritableChild(IntegerInterleavedRaster.java:453)
at
java.awt.image.BufferedImage.getSubimage(BufferedImage.java:1060)
at
novaworx.swing.XWallpaper.getSubimage(XWallpaper.java:153)
at novaworx.swing.XPopup.show(XPopup.java:90)
at
novaworx.tool.preference.PreferenceType$ListPopupTriggerHandler.actionPerformed(PreferenceType.java:269)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
at
java.awt.Component.processMouseEvent(Component.java:5099)
at
java.awt.Component.processEvent(Component.java:4896)
at
java.awt.Container.processEvent(Container.java:1569)
at
java.awt.Component.dispatchEventImpl(Component.java:3614)
at
java.awt.Container.dispatchEventImpl(Container.java:1627)
at
java.awt.Component.dispatchEvent(Component.java:3476)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at
java.awt.Container.dispatchEventImpl(Container.java:1613)
at
java.awt.Window.dispatchEventImpl(Window.java:1606)
at
java.awt.Component.dispatchEvent(Component.java:3476)
at
java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at
java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

The workaround is to make the program frame big enough
to contain the list box.

Discussion

  • david miller

    david miller - 2003-06-10

    Logged In: YES
    user_id=646038

    Cant reproduce this - the combobox just disappears under
    the edge of the screen with no error. Is there a particular
    setup (e.g. wallpaper ) which causes this to happen? Or is it
    just on a specific OS?

     
  • Mark Soderquist

    Mark Soderquist - 2003-06-10

    Logged In: YES
    user_id=586169

    Yes. You must have a wallpaper image set in order for this
    to occur. I can verify that is does happen on Linux. I'm
    pretty sure it happens on Windows as well.

     

Log in to post a comment.