Package getfacts.toolkit

Examples of getfacts.toolkit.ImagePanel


    private void initComponent()
    {        
        layout = new OneTwoThirdsLayoutManager(OneTwoThirdsLayoutManager.RIGHT);
        this.setLayout(layout);
       
        imagePanel = new ImagePanel(new javax.swing.ImageIcon(getClass().getResource("/getfacts/full/Logo.png")));
        imagePanel.setOpaque(false);
        this.add(imagePanel, OneTwoThirdsLayoutManager.ONE_THIRD);
       
        getFactsLabel = new JLabel("GetFacts");
        getFactsLabel.setForeground(this.getForeground());
View Full Code Here


        articleContentEditorPane.setContentType("text/html");
        articleContentEditorPane.setText(article.getContent());
       
        if( article.getImageFile() != null )
        {
            imagePanel = new ImagePanel(article.getImageFile());
            imagePanel.setBackground(Color.WHITE);
            imagePanel.setAlignmentX(1);
            innerArticlePanel.add(imagePanel, OneTwoThirdsLayoutManager.ONE_THIRD);
        }
        this.validate();
View Full Code Here

TOP

Related Classes of getfacts.toolkit.ImagePanel

Copyright © 2018 www.massapicom. 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.