Turning Nodes into Palette Items, And Much More

If you read the NetBeans Nodes, Explorer Manager, and Component Palette Tutorial, you will learn several cool things—how to create a tree view, how to add cut/copy/delete functionality, how to enable drag/dropping of children between nodes, how easy it is to change explorer views and, finally... how to turn your node into a palette item in a Component Palette. All in the space of one tutorial which is so hot off the presses that your eyes will burn while reading it. Feedback is welcome as always. I still need to add a ZIP file containing the module built in the tutorial and add one or two other minor things (such as a table of content and feedback link), but for the rest it is complete. (Although some parts need fleshing out with more explanatory text.)

In other news. Have you been wanting a simple but realistic example for using the NetBeans Visual Library, Nodes and Lookup APIs? Would you like to know how to create an application like this one that does all these things? Check out the ShowMind site for details!

Comments:

Showmind seems just what I need to get started. I just cannot compile the code (and the website is very vague). How did you get it to compile? ant is complaining about "nbproject/build-impl.xml:19: You must define 'nbplatform.default.harness.dir'" If I set it too some random directory "/tmp" it's starts complaining about suite.xml

Posted by Kees Kuip on September 24, 2006 at 10:06 PM PDT #

Set it to this value: default

Posted by Geertjan on September 24, 2006 at 10:07 PM PDT #

hi i facing same problem as above. You must define 'nbplatform.default.harness.dir' "If I set it too some random directory "/tmp" it's starts complaining about suite.xml " can specify more clearer a bit?

Posted by Chek Chin Haut on November 16, 2006 at 08:39 AM PST #

Set it to this value: default

Posted by Geertjan on November 16, 2006 at 09:18 AM PST #

I run into this all the time, because I go between Windows and Linux a lot. Check that the end-of-lines in the .properties files are consistent with the platform. Unlike java source files, it seems to matter for properties files.

Posted by Jeremy Faden on April 30, 2008 at 05:21 AM PDT #

how to set it to default?

Posted by guest on April 07, 2009 at 05:41 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
12
13
14
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today