|
From: Patrick H. <pa...@13...> - 2001-04-30 15:08:07
|
"Jesus M. Salvo Jr." <jm...@ih...> wrote: } The way it works is that GraphPanel implements the MouseListener and } MouseMotionListener interfaces. Thus, you will see the mouseXXX() methods on } the GraphPanel class. These methods simply delegates the actual action } depending on the state ( as in the state pattern on the GoF book ) of the } GraphPanel class. Okay, this is just what I was looking for. I had been focusing too much on GraphScrollPane. I'll get to work on using GraphPanels. Thanks! -Patrick } On Mon, 30 Apr 2001 09:41, Patrick Hartling wrote: } > I am just getting started with OpenJGraph, and I was wondering if it is } > possible to know when a node in a graph is selected. For the project I } > am working on, I would like to be able to select a node in the graph and } > have a JTable be updated based on the selection. Thanks. } > } > -Patrick } > } > } > Patrick L. Hartling | Research Assistant, VRAC } > pa...@13... | 2624 Howe Hall -- (515)294-49 *** 16 } > http://www.137.org/patrick/ | http://www.vrac.iastate.edu/ } > } > _______________________________________________ } > Openjgraph-development mailing list } > Ope...@li... } > http://lists.sourceforge.net/lists/listinfo/openjgraph-development Patrick L. Hartling | Research Assistant, VRAC pa...@13... | 2624 Howe Hall -- (515)294-4916 http://www.137.org/patrick/ | http://www.vrac.iastate.edu/ |