Thursday October 04, 2007
Sample for Visual Library API
The 6.0 Simpsons sample for NetBeans Visual Library API is available in the Plugin Portal. The changes are quite small, but big enough to warrant a new version of the sample. Many aspects of the Visual Library API are dealt with and there are quite a few comments within the code to explain what is going on.
Make sure you get the latest and greatest version of the sample, which, since yesterday, is 1.2. Now it is possible to switch from 'Selection mode' to 'Connection mode'. Simply hold down the Ctrl key (instead of right-clicking, as the instruction at the top of the display area tells you, which I need to update) and then drag one of the dropped icons. When you do so, you will see that you will be able to connect the icons together:
That's 'Connection mode'. If you do not hold down the Ctrl key, you will be in 'Selection mode', where drag gestures result in the dropped icon being moved in the scene, instead of getting connected to each other. Thanks to David Kaspar for getting this working in 6.0. Go here to download the sample.
Oct 04 2007, 02:42:25 AM PDT Permalink


