Schema Based Code Completion for NetBeans Platform Applications

Toni's recent blog entry provides, among several other interesting things, instructions for something I've been wanting to cover for a long time, which is schema based code completion:

The above is a sample I created via Toni's tutorial, using the schema described here:

http://www.w3schools.com/schema/schema_example.asp

The support for the Navigator ain't bad either, especially considering I didn't do any coding at all to get all this:

And here's where you can find the whole sample:

http://java.net/projects/nb-api-samples/sources/api-samples/show/versions/7.2/misc/ShipOrder

Comments:

Hi,

I'm also very interested in getting code completion with a schema in netbeans to work, but perhaps without creating a module.

The link in you're post to java.net seems to be broken.

Posted by Ewald Ertl on September 27, 2012 at 01:09 AM PDT #

No, it's not broken. Just refresh the browser a few times and you'll see the sample. But you're trying to do something completely different, no idea what, but not creating a module doesn't make any sense in this context.

Posted by Geertjan on September 27, 2012 at 01:13 AM PDT #

Here's the URL, works perfectly:

http://java.net/projects/nb-api-samples/sources/api-samples/show/versions/7.2/misc/ShipOrder

Posted by Geertjan on September 27, 2012 at 01:15 AM 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
24
25
26
27
28
29
30
   
       
Today