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 / First Aid / May 2004

Tip: Looking for answers? Try searching our database.

events and custom JTable cells

Thread view: 
Rajarshi Guha - 25 May 2004 21:09 GMT
Hello,
 I have a JTable in which one column consists of a custom component which
has the  ability to handle mosue events (rotate a molecule).

I have set up the table to display the custom component - but when I try
and rotate the molecule nothing happens. I realzie that events are not
being sent to the component.

My question  how can I set up the JTable such that mouse events (or any
event in general) can be sent to my custom component (by simply calling
the handleEvent() function of my component)

Thanks,
Nicholas Pappas - 27 May 2004 14:51 GMT
> My question  how can I set up the JTable such that mouse events (or any
> event in general) can be sent to my custom component (by simply calling
> the handleEvent() function of my component)

    They should automatically.  If you handle the events in the component,
they should reach their destination.
    How are you applying the the component to the JTable cell?  What does
your even handling look like?


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.