Article View: borland.public.jbuilder.java.swing
Article #8272Re: JScrollPane & mouse events
From: John McGrath TeamB
Date: Wed, 11 Oct 2000 00:00
Date: Wed, 11 Oct 2000 00:00
13 lines
882 bytes
882 bytes
It sounds like your MyScrollableComponent has a size of [0,0] before the
image is loaded. So the events pass through to the JScrollPane. Once
you load the image it is enlarged, so the events are received by the
MyScrollableComponent.
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<MPG.144e019ef78f36fe989c02@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<39e29b72$1_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,202852018e6f96f9 X-Google-Attributes: gid111d45,public From: John McGrath [TeamB] <ng-b@JPMcGrath.net> Subject: Re: JScrollPane & mouse events Date: 2000/10/11 Message-ID: <MPG.144e019ef78f36fe989c02@forums.borland.com> X-Deja-AN: 680080624 References: <39e29b72$1_1@dnews> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing