O'Reilly logo

Rich Client Programming: Plugging into the NetBeans Platform by Geertjan Wielenga, Jaroslav Tulach, Tim Boudreau

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter FourteenCode Completion

14.1. Introduction

When the user types in a text-based editor, you can enable the editor to show the code completion box suggesting ways of completing the text that the user is typing. The code completion box can provide documentation for each entry, giving the user detailed information about the suggestions it offers.

For example, while the user types in a Java file, a code completion box shown in Figure 14.1 pops up.

Figure 14.1. Java code completion

image

In this illustration, the code completion box lists suggestions below the word that is being typed in the editor. The letters typed before the cursor in the editor ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required