I would like to keep the tabs and get rid of the "Scroll Documents Left", "Scroll Documents Right" in the applications

"kmilito" <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <[email protected]>
I found a workaround, unfortunately this removes the persistence of the windows, and I am not sure if there might be some other side effects.


Code:
        //find the local folder that must be deleted
        try {
            FileObject rootFolder = PersistenceManager.getDefault().getRootLocalFolder();
            if (null != rootFolder) {
                    for( FileObject fo : rootFolder.getChildren() ) {
                        if( PersistenceManager.COMPS_FOLDER.equals( fo.getName() ) )
                            continue; //do not delete settings files
                        fo.delete();
                    }
            }
        } catch( IOException ioE ) {
            ErrorManager.getDefault().notify( ErrorManager.INFORMATIONAL, ioE );
        }



Any ideas on how this could be done without having to give up the persistence of the windows?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.