Window Wizard: Basic Settings

The New Window wizard creates a new window component.

You open the New Window wizard by right-clicking a module project, choosing New > Other and selecting Window from the Module Development category.

Element Description

Window Position

Specifies the location of the window component when open in the IDE. Depending on the modules installed in the platform that forms the basis of your application, you're able to choose from several window positions, including the following:
  • bottomSlidingSide. The window component will be available as a button on the bottom bar of the IDE.
  • commonpalette. The default position of the IDE's Palette for HTML/JSP code snippets.
  • debugger. The default position of the IDE's Debugger.
  • editor. The default position of the IDE's Source Editor.
  • explorer. The default position of the IDE's Projects window.
  • leftSlidingSide. The window component will be available as a button on the left sidebar of the IDE.
  • navigator. The default position of the IDE's Navigator.
  • output. The default position of the IDE's Output window.
  • properties. The default position of the IDE's Properties window.
  • rightSlidingSide. The window component will be available as a button on the right side of the Source Editor.

Open on Application Start

Specifies whether the window component is open by default or not.

Keep preferred size when slided-in.

Specifies that the size of the window when minimized will be determined by the preferred size property of the window. When selected, the following line is added to the TopComponent's constructor: putClientProperty("netbeans.winsys.tc.keep_preferred_size_when_slided_in", Boolean.TRUE);

Sliding not allowed

Closing not allowed

Undocking not allowed

Dragging not allowed

Maximization not allowed

Specify that the window should not have one or more features that it has by default.


Related Topics

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.