Is this your first time here? SwingWiki is a Java Swing Developer community site with an big archive of Swing-related usenet groups and mailing lists, but also tips, tricks and articles and book reviews written by your colleagues from around the world. If you came here through a search engine and did not find what you were looking for, make sure to check the wiki table of contents.

[abbot-users] double-click on JTree not "seen"

From:Larry Mello [mellolarry@masked-domain]
Sent on:Mon, 30 Jun 2008 07:22:47 -0700 (PDT)


--0-1882793699-1214835767=:69462
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Hello to all.
=A0
I am attempting to perform a double-click on a JTree.=A0 I get a reference =
to the JTree, the JTreeLocation and create a new JTreeTester just fine.=A0 =
I then execute this code:
<code>
treeTester.actionClick(tree, treeLocation, InputEvent.BUTTON1_DOWN_MASK, 2)=
;</code>
However, my MouseAdapter never "sees" the event.=A0 Does anyone know why?=
=A0 I am using RC 5 on XP.
=A0
Thanks in advance,
=A0
Larry=0A=0A=0A
--0-1882793699-1214835767=:69462
Content-Type: text/html; charset=us-ascii

<table cellspacing='0' cellpadding='0' border='0' ><tr><td valign='top' style='font: inherit;'><P>Hello to all.</P>
<P>&nbsp;</P>
<P>I am attempting to perform a double-click on a JTree.&nbsp; I get a reference to the JTree, the JTreeLocation and create a new JTreeTester just fine.&nbsp; I then execute this code:</P>
<P>&lt;code&gt;<FONT size=2></P>
<P>treeTester.actionClick(tree, treeLocation, InputEvent.</FONT><I><FONT color=#0000c0 size=2>BUTTON1_DOWN_MASK</I></FONT><FONT size=2>, 2);&lt;/code&gt;</FONT></P>
<P><FONT size=2>However, my MouseAdapter never "sees" the event.&nbsp; Does anyone know why?&nbsp; I am using RC 5 on XP.</FONT></P>
<P><FONT size=2></FONT>&nbsp;</P>
<P><FONT size=2>Thanks in advance,</FONT></P>
<P><FONT size=2></FONT>&nbsp;</P>
<P><FONT size=2>Larry</P></FONT></td></tr></table><br>




--0-1882793699-1214835767=:69462--


--
Found what you were looking for? If not - continue at Wiki Index

 
Recent changes | RSS changes | Table of contents | News Archive | Terms And Conditions | Register | The Quest For Software++| Ruby Resources
FitNesse Resources