public void actionPerformed ( final ActionEvent e )
{
final File[] files = file.listFiles ();
if ( files != null && files.length > 0 )
{
Arrays.sort ( files, new FileComparator () );
showFilesPopup ( files, fileButton );
}
else
{
TooltipManager.showOneTimeTooltip ( fileButton, null, "There are no files inside" );