Package org.photovault.common

Examples of org.photovault.common.PhotovaultSettings.saveConfig()


                    parentFolder );
            topFolder.setDescription( "Indexed from " + dir.getAbsolutePath() );
            indexer.setTopFolder( topFolder );

            // Save the configuration of the new volume
            settings.saveConfig();
           
            // Show status dialog & index the directory
            IndexerStatusDlg statusDlg = new IndexerStatusDlg( this, false );
            statusDlg.setVisible( true );
            statusDlg.runIndexer( indexer );
View Full Code Here


                // Creating an embedded database
                db.setInstanceType( PVDatabase.TYPE_EMBEDDED );
                db.setEmbeddedDirectory( new File( volumeDirFld.getText() ) );
            }
            db.createDatabase( user, passwd );
            settings.saveConfig();
        } catch (PhotovaultException ex) {
            JOptionPane.showMessageDialog( this, ex.getMessage(),
                    "Error creating database", JOptionPane.ERROR_MESSAGE );
            return false;
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.