newInstance(name)

Creates a new Java object.

You should generally use the new keyword for this purpose, but in some cases this may not handle Java packages correctly.

Parameters

name

name of the class to instantiate (String)

Example

var presenter = newInstance('inetsoft.report.painter.IconCounterPresenter');