The Methods tab in the Component Editor lists the component’s Java methods that do not take arguments. The information panel at the bottom of the Methods tab displays the return type of the method you select.

The Methods tab is available only if the component is currently running. If the component is not running, select Component > Start Component in the Component Editor.

You cannot add, remove, or edit methods in the Methods tab, but you can invoke them by clicking the Invoke button to the left of the method name. For instance, you may want to call a method that resets a counter or gathers statistics. The method result, if applicable, appears in a separate dialog box.

Note: Do not call methods from this tab unless there is a specific task you want to accomplish. In particular, calling doStartService or doStopService can cause components to become unstable.


Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved.

Legal Notices