## DuPanel()

For use with `DuScriptUI`.
A Panel or Window.
This is not a real class, and cannot be instanciated.
Use `DuScriptUI.mainPanel` to create a Panel.
The DuPanel inherits the Panel or Window object from ScriptUI and has all of its properties and methods.
Constructor

#### # new DuPanel()

View Source Duik_api_fordoc.jsxinc, line 10027

# Members

Type: `Group`

#### # content

The ScriptUI group where the new controls must be added. Do not add any control directly inside the DuPanel.

View Source Duik_api_fordoc.jsxinc, line 10038

# Methods

#### # refreshUi(file) → {boolean}

A function to reload a script in this panel.

##### Parameters:

Name | Type | Description
--- | --- | ---
`file` | `File` | The script to reload.

View Source Duik_api_fordoc.jsxinc, line 10045

Returns:
true on success, false otherwise.
Type: `boolean`