Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / September 2005

Tip: Looking for answers? Try searching our database.

Help with mis-clicks on JTextPane

Thread view: 
Cindy - 30 Aug 2005 02:15 GMT
I loaded an HTML page into a JTextPane.
I added a HyperlinkListener to catch rollovers and clicks.  This works
fine.

The problem is that if I click near a link, but not on it, the link is no
longer resonsive.
It doesn't become responsive again until I rollover a different link on the
same page.

Help?

-Cindy
Andrew Thompson - 30 Aug 2005 03:21 GMT
> The problem is that if I click near a link, but not on it, the link is no
> longer resonsive.

Code? <http://www.physci.org/codes/sscce.jsp>

Signature

Andrew Thompson
physci.org 1point1c.org javasaver.com lensescapes.com athompson.info
"Ain't it dark, wrapped up in that tarp.."
Dixie Chicks 'Goodbye Earl'

Christian Kaufhold - 01 Sep 2005 11:56 GMT
Hello!

> I loaded an HTML page into a JTextPane.
> I added a HyperlinkListener to catch rollovers and clicks.  This works
[quoted text clipped - 4 lines]
> It doesn't become responsive again until I rollover a different link on the
> same page.

Please post a compilable example that can be used to reproduce that
behaviour.

Christian


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.