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 / General / March 2006

Tip: Looking for answers? Try searching our database.

Preventing tables from firing events

Thread view: 
Rationem - 06 Mar 2006 20:57 GMT
Is there a way to prevent a table from sending events to its selection
listeners when programmically setting the row?

The problem I am facing includes two tables that have columns that
relate. When you click on a row in table 1 the corresponding row
becomes hightlighted, however, when the row is changed in the second
table its listeners attempt to respond by changing the selected row in
the first table so it corresponds to its row and it just keeps going on
and on and on.

Is there an easy way to fix this other than a variable that when
flagged prevents the listeners from working?
Stefan Schulz - 06 Mar 2006 21:08 GMT
Changing the state of the listener seems to me to be the way to go,
since other listeners might be interested in the event, even if it
occurs programatically.


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.