GraphStream Users

Archives de la liste Aide

Re: Swap mouse buttons for ViewerListerner

Chronologique Discussions 
  • From: guilhelm savin <guilhelm.savin AT>
  • To: graphstream-users AT, mauricio0copo AT
  • Subject: Re: Swap mouse buttons for ViewerListerner
  • Date: Sun, 30 Jun 2013 16:02:17 +0200

Hope it helps ...


2013/6/30 <mauricio0copo AT>

Well ...the title says it all. The ViewerLister activates events for left
button clicks. Right button clicks just move the node around. Since my listener
is used to create a window that displays info about the clicked node, it would
make more sense if I used the right button for that and the left button for
moving. By now I'm trying to get a solution with java.awt.Robot, but I'd rather
ask first if there's an easier way before doing the hard way :)

Guilhelm Savin
PhD Student of Computer Science

Archives gérées par MHonArc 2.6.16.

Top of page