001    // GraphLab Project: http://graphlab.sharif.edu
002    // Copyright (C) 2008 Mathematical Science Department of Sharif University of Technology
003    // Distributed under the terms of the GNU General Public License (GPL): http://www.gnu.org/licenses/
004    package graphlab.ui.components.gbody;
005    
006    import javax.swing.*;
007    
008    /**
009     * this is an interface which is used to give a JPanel,
010     * in graphlab the Graph implements this.
011     * the program should put a JPanel in the Body of the GFrame,
012     * so it finds the JPanel via the getPanel method of the class that specified in the body tag of XML.
013     *
014     * @author azin azadi
015     */
016    public interface GBodyPane {
017        //todo: return a component
018        public JPanel getPanel();
019    }