NetBeans Platform Cookbook Chapter 10

Best Practices

In this chapter, we will cover:

  • Parsing Command Line Args
  • Printing
  • Notify the User
  • Use Closeable Tabs
  • Use DropDownButton
  • Create Your Project Type
  • Create Project Template


This chapter is collection of tips not included in other topic-specific chapters. You can be introduced how to define and retrieve command line arguments, how to print, how notify the user about any event (e.g. new version is available). This chapter shows you how to create tabs that can be closed and introduces you into projects.

Sections by topic


Example sources

Text and sources were created under NB 6.8, 7.0, 7.1.


Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo