Package org.jdesktop.swingx

Examples of org.jdesktop.swingx.JXImagePanel


    super();
    setLayout(new BorderLayout());
    m_version = ApplicationVersion.getVersion(PnlDataRecorderState.class.getName());
    System.out.println(m_version + " version is used");
    //at beginning set a default panel.
    m_dataRecorderImage = new JXImagePanel();
    m_dataRecorderImage.setStyle(Style.SCALED_KEEP_ASPECT_RATIO);
    ImageIcon tmpImageIcon = new ImageIcon(DataRecorderStateGlobalBean.class.getResource("DataRecorderStateBean.jpg"));
    m_dataRecorderImage.setImage(tmpImageIcon.getImage());
    add(m_dataRecorderImage,BorderLayout.CENTER);
    m_dataRecorderImage.setToolTipText(m_version);
View Full Code Here


    super();
    setLayout(new BorderLayout());
    m_version = ApplicationVersion.getVersion(ScientaPanel.class.getName());
        System.out.println(m_version + " version is used");
        //at beginning set a default panel.
        m_scientaImage = new JXImagePanel();
        m_scientaImage.setStyle(Style.SCALED_KEEP_ASPECT_RATIO);
        ImageIcon tmpImageIcon = new ImageIcon(ZoukGlobalBean.class.getResource("ZoukBean.png"));
        m_scientaImage.setImage(tmpImageIcon.getImage());
        add(m_scientaImage,BorderLayout.CENTER);
        m_scientaImage.setToolTipText(m_version);
View Full Code Here

    setLayout(new BorderLayout());
    m_version = ApplicationVersion.getVersion(ControlCenterBean.class.getName());
        System.out.println(m_version + " version is used");

        //at beginning set a default panel.
        m_dataRecorderImage = new JXImagePanel();
        m_dataRecorderImage.setStyle(Style.SCALED_KEEP_ASPECT_RATIO);
        ImageIcon tmpImageIcon = new ImageIcon(DataStorageGlobalBean.class.getResource("DataRecorderBean.jpg"));
        m_dataRecorderImage.setImage(tmpImageIcon.getImage());
        add(m_dataRecorderImage,BorderLayout.CENTER);
        m_dataRecorderImage.setToolTipText(m_version);
View Full Code Here

    super();
    m_version = ApplicationVersion.getVersion(Bossanova2.class.getName());
    System.out.println(m_version + " version is used");
    setLayout(new BorderLayout());
    // at beginning set a default panel.
    m_bossanovaImage = new JXImagePanel();
    m_bossanovaImage.setStyle(Style.SCALED_KEEP_ASPECT_RATIO);
    ImageIcon tmpImageIcon = new ImageIcon(BossanovaGlobalBean.class.getResource("BossanovaBean.jpg"));
    m_bossanovaImage.setImage(tmpImageIcon.getImage());
    add(m_bossanovaImage,BorderLayout.CENTER);
    setToolTipText(m_version);
View Full Code Here

   *
   * @author andreas.gerlach
   */
  void initializeUI() {

    _imgPanel = new JXImagePanel();
    this.add(_imgPanel);
    setDefaultDiagramImage();
  }
View Full Code Here

TOP

Related Classes of org.jdesktop.swingx.JXImagePanel

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.