public void actionPerformed( ActionEvent e )
{
// Create a new, empty, database.
FromAuxDialog dialog = new FromAuxDialog(JabRefFrame.this, "", true, JabRefFrame.this.tabbedPane) ;
Util.placeDialog(dialog, JabRefFrame.this);
dialog.setVisible(true) ;
if (dialog.okPressed())
{
BasePanel bp = new BasePanel( JabRefFrame.this,
dialog.getGenerateDB(), // database
null, // file
(HashMap<String,String>)null, Globals.prefs.get("defaultEncoding")); // meta data
tabbedPane.add( Globals.lang( GUIGlobals.untitledTitle ), bp ) ;
tabbedPane.setSelectedComponent( bp ) ;
output( Globals.lang( "New database created." ) ) ;