@Override
    public DisplayState getDisplayState() {
        File stateFile = new File(directory, ".displaystate");
        
        if(stateFile.exists())
            try {
                return (DisplayState)DisplayState.deSerialize(stateFile.getPath());
            } catch (IOException ex) {
                Logger.getLogger(LocalStudy.class.getName()).log(Level.SEVERE, null, ex);
                return null;
            } catch (ClassNotFoundException ex) {
                Logger.getLogger(LocalStudy.class.getName()).log(Level.SEVERE, null, ex);
                return null;
            }
        else
            return null;
    }