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 TwelveMultiview Editors

12.1. Introduction

NetBeans includes support for multiview editors. A multiview editor is an editor component that contains a toolbar with buttons to switch between multiple views of a single file. If you have used the GUI Builder to edit Swing components in the NetBeans IDE, you have already seen a multiview editor in action. One view of the program is the Java source code for the file being edited; the other is the drag-and-drop editor that allows you to visually design the component. Both are editors working with the same file. When a file is modified in one view, the changes are immediately visible in the other. Multiview editors should be bidirectional, so that any change in one view of the file is seamlessly ...

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