C H A P T E R 15
Tips and Tricks
In this chapter, you will learn about some helpful features concerning the user interface of the NetBeans Platform. This chapter deals with desktop integration, asynchronous initializing of GUI components, and the implementation of an undo and redo functionality.
Desktop class of the Java Platform allows execution of standard applications like an Internet browser or an e-mail client. Pass a
URI object to the methods provided by the
Desktop class. On the basis of these objects, an associated standard application can be launched. For example, if
Desktop.open(new File("myfile.pdf")) is executed, Acrobat Reader is launched (if this is the standard application for