Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #320

Re: How can we add Mousel

From "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this>
Subject Re: How can we add Mousel
Message-ID <1165234053.262185.168230@l12g2000cwl.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
References <1165211314.031962.309590@80g2000cwy.googlegroups.com><1
Date 2011-04-27 15:26 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
ashwinijain wrote:
> Andrew Thompson wrote:
>
> > Add the mouse listener to the table, when you get
> > an event, check the column it occurred in,
> > if was the second column, continue to show
> > the text area, else ignore it and proceed.
>
> Which function shall i use to check the column?

JTable.getSelectedColumn()

..have you read the JavaDocs for JTable?

Andrew T.

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

How can we add Mouseliste "ashwinijain" <ashwinijain@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
  Re: How can we add Mousel "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
    Re: How can we add Mousel "ashwinijain" <ashwinijain@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
      Re: How can we add Mousel "usenet" <usenet@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
  Re: How can we add Mousel "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
  Re: How can we add Mousel "usenet" <usenet@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000

csiph-web