Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

java.awt.ScrollPane problem on OSX



Hi,

I have a custom spitter-pane class, on one side of which is a
java.awt.ScrollPane component. Now, when i drag the splitterpane so that the
scroll pane has a height less that 50, it throws the folllowing error -

Exception occurred during event dispatching:
java.lang.ArrayIndexOutOfBoundsException
at
com.apple.mrj.internal.awt.guirenderer.GUIRenderer.getVerticalScrollbarCapsFr
omY(GUIRenderer.java:3640)
at
com.apple.mrj.internal.awt.guirenderer.GUIRenderer.DrawScrollBar(GUIRenderer.
java:3588)
at
com.apple.mrj.internal.awt.guirenderer.GUIRenderer.DrawScrollBar(GUIRenderer.
java:3484)
at
com.apple.mrj.internal.awt.publicpeers.LWScrollBar.paint(LWScrollBar.java:102
)
at
com.apple.mrj.internal.awt.publicpeers.LWScrollContainer.paintVerticalScrollb
ar(LWScrollContainer.java:577)
at
com.apple.mrj.internal.awt.publicpeers.LWScrollContainer.paintScrollContainer
(LWScrollContainer.java:672)
at
com.apple.mrj.internal.awt.publicpeers.LWScrollContainer.reallyDoThePaintOrUp
date(LWScrollContainer.java:603)
at
com.apple.mrj.internal.awt.basepeers.SimpleComponentPeer.internalReallyDoTheP
aintOrUpdate(SimpleComponentPeer.java:373)
at
com.apple.mrj.internal.awt.basepeers.SimpleContainerPeer.internalReallyDoTheP
aintOrUpdate(SimpleContainerPeer.java:504)
at
com.apple.mrj.internal.awt.basepeers.SimpleComponentPeer.handlePaintEvent(Sim
pleComponentPeer.java:360)
at
com.apple.mrj.internal.awt.basepeers.EventHandlingComponentPeer.handleEvent(E
ventHandlingComponentPeer.java:487)
at
com.apple.mrj.internal.awt.publicpeers.LWScrollContainer.handleEvent(LWScroll
Container.java:257)
at java.awt.Component.dispatchEventImpl(Component.java:2664)
at java.awt.Container.dispatchEventImpl(Container.java:1213)
at java.awt.Component.dispatchEvent(Component.java:2498)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.jav
a:131)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:
98)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
Can someone plz explain this and suggest me a way out of this. I am having
this problem on Netscape and IE browsers running on Mac OSX (even
appletlauncher has the same problem)

Thanks and Regards,
--Aliasgar M.--


**********************************************************************
***** IMPORTANT INFORMATION *****
This document should be read only by those persons to whom
it is addressed and its content is not intended for use by
any other persons. If you have received this message in
error, please notify us immediately. Please also destroy and
delete the message from your computer. Any unauthorised form
of reproduction of this message is strictly prohibited.
St.George is not liable for the proper and complete transmission
of the information contained in this communication, nor for any
delay in its receipt.
**********************************************************************
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.