In Chapter 21, you created a palette. From this palette you could drag music albums on the top component (which you implemented yourself) via drag-and-drop. As indicated, it is also possible to register a palette for a certain file type. This means that when a file of this type is opened in the NetBeans editor, the palette registered for this type is automatically opened. The following example will show how this actually works.
Unable to display preview. Download preview PDF.