FOTablePanel.java :  » Game » FFGenie-2010.3-src » ffg » gui » Java Open Source

Java Open Source » Game » FFGenie 2010.3 src 
FFGenie 2010.3 src » ffg » gui » FOTablePanel.java
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ffg.gui;

import ffg.game.FFGPanelException;
import ffg.game.fo.FOGameManager;
import java.io.File;

/**
 *
 * @author eugeneh
 */
public class FOTablePanel extends VSTablePanel {
    /**
     * Creates a new instance of DTTablePanel
     * @param frame
     * @throws FFGPanelException
     */
    public FOTablePanel(FFGFrame frame) throws FFGPanelException {
        super(frame);
    }
    public FOTablePanel(FFGFrame frame, File statsFile) throws FFGPanelException {
        super(frame, statsFile);
    }

    @Override
    protected FOGameManager createGameManager(File file) throws FFGPanelException {
        if (file == null) {
            return new FOGameManager();
        } else {
            return new FOGameManager(file);
        }
    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.