Open this page in the API Guide

Frame.dispose Method

Disposes the component.