protected JComponent createCloseButton ( final PaneData<T> paneData, final T document )
{
final WebButton closeButton = new WebButton ( WebDocumentPane.closeTabIcon, WebDocumentPane.closeTabRolloverIcon );
closeButton.setUndecorated ( true );
closeButton.setFocusable ( false );
closeButton.addActionListener ( new ActionListener ()
{
@Override
public void actionPerformed ( final ActionEvent e )
{
paneData.close ( document );