GraphStream Users

Archives de la liste Aide


Swap mouse buttons for ViewerListerner


Chronologique Discussions 
  • From: <mauricio0copo AT gmail.com>
  • To: graphstream-users AT litislab.fr
  • Subject: Swap mouse buttons for ViewerListerner
  • Date: Sun, 30 Jun 2013 15:55:32 +0200 (CEST)

Hello,

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 :)



Archives gérées par MHonArc 2.6.16.

Top of page