views:

157

answers:

1

I create a graph based visual applicaion using a Netbens Visual Library.

Can somebody post a code sample that enables a selection of nodes with mouse clicks (and Ctrl key fo multiple selection) ?

Thanks in advance.

+1  A: 

http://graph.netbeans.org/examples.html contains many well written examples. Don't miss test.action.SelectLockedActionTest!

dfa