Package csa.jportal.theme

Examples of csa.jportal.theme.Theme




        if (Configuration.getConfiguration().isInit()) // this can be if e.g. in Netbeans IDE panel is used as a bean
        {
            Theme t = Configuration.getConfiguration().getCurrentTheme();
            jLabel7.setIcon(new javax.swing.ImageIcon(t.getImage("AllIconSmall.png"))); // NOI18N
            jLabel7.setName("jLabel7"); // NOI18N
            jLabel7.setText(""); // NOI18N

            jLabel6.setIcon(new javax.swing.ImageIcon(t.getImage("BlueIconSmall.png"))); // NOI18N
            jLabel6.setName("jLabel6"); // NOI18N

            jLabel5.setIcon(new javax.swing.ImageIcon(t.getImage("RedIconSmall.png"))); // NOI18N
            jLabel5.setName("jLabel5"); // NOI18N

            jLabel4.setIcon(new javax.swing.ImageIcon(t.getImage("GreenIconSmall.png"))); // NOI18N
            jLabel4.setName("jLabel4"); // NOI18N

            jLabel3.setIcon(new javax.swing.ImageIcon(t.getImage("WhiteIconSmall.png"))); // NOI18N
            jLabel3.setName("jLabel3"); // NOI18N

            jLabel1.setIcon(new javax.swing.ImageIcon(t.getImage("BlackIconSmall.png"))); // NOI18N
            jLabel1.setName("jLabel1"); // NOI18N
        }
       
       
        jComboBoxKey.removeAllItems();
View Full Code Here


    {
        this(p,true);
    }
    public DefaultMatchDisplay(MatchPlayable p, boolean addSizeListener) {
        initComponents();
        Theme t = Configuration.getConfiguration().getCurrentTheme();
        achievmentImagePath = t.getImagePath("krone.png");

        javax.swing.Action spaceAction = new AbstractAction ()
        {
        public void actionPerformed(ActionEvent e) {
// System.out.println("Space!");
View Full Code Here

        add(phaseHelpPanel);
        phaseHelpPanel.setBounds(100, 40, 215, 320);

        jLabelCardMessage.setBackground(new java.awt.Color(255, 191, 191));
       
        Theme t = Configuration.getConfiguration().getCurrentTheme();
        jLabelCardMessage.setIcon(new javax.swing.ImageIcon(t.getImage("Attention.png"))); // NOI18N
        jLabelCardMessage.setText("<html>Message ksksksks s sks  sksk s ksksks k sks sshs</html>");
        jLabelCardMessage.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        jLabelCardMessage.setName("jLabelCardMessage"); // NOI18N
        jLabelCardMessage.setOpaque(true);
        add(jLabelCardMessage);
View Full Code Here

public class ColorChangePanel extends javax.swing.JPanel {

    /** Creates new form ColorChangePanel */
    public ColorChangePanel() {
        initComponents();
        Theme t = Configuration.getConfiguration().getCurrentTheme();
        jLabel3.setIcon(new javax.swing.ImageIcon(t.getImage("WhiteIconSmall.png")));
        jLabel4.setIcon(new javax.swing.ImageIcon(t.getImage("RedIconSmall.png")));
        jLabel5.setIcon(new javax.swing.ImageIcon(t.getImage("BlueIconSmall.png")));
        jLabel6.setIcon(new javax.swing.ImageIcon(t.getImage("BlackIconSmall.png")));
        jLabel7.setIcon(new javax.swing.ImageIcon(t.getImage("GreenIconSmall.png")));

        jLabel8.setIcon(new javax.swing.ImageIcon(t.getImage("BlackIconSmall.png")));
        jLabel9.setIcon(new javax.swing.ImageIcon(t.getImage("RedIconSmall.png")));
        jLabel10.setIcon(new javax.swing.ImageIcon(t.getImage("WhiteIconSmall.png")));
        jLabel11.setIcon(new javax.swing.ImageIcon(t.getImage("BlueIconSmall.png")));
        jLabel12.setIcon(new javax.swing.ImageIcon(t.getImage("GreenIconSmall.png")));
       
    }
View Full Code Here

    JPortalView mParent =null;
    /** Creates new form JPortalInternalFrame */
    public JMacMenuPortalInternalFrame() {
        this.setRootPaneCheckingEnabled(false);
        initComponents();
        Theme t = Configuration.getConfiguration().getCurrentTheme();
       
        setFrameIcon(new javax.swing.ImageIcon(t.getImage("BlueIconSmall.png")));
    }
View Full Code Here

    public AnimatedMana() {
        initComponents();
        setLayout(null);
        ImageSequencer s;

        Theme t = Configuration.getConfiguration().getCurrentTheme();
       
        String path = t.getImagePath("AllIcon.png");
       
        synchronized (this)
        {
            s = ImageSequencer.createByRotation(path, 60);
        }
View Full Code Here

    Color backGround = new java.awt.Color(0,0,0,200);
    public WinnerPanel() {
        initComponents();
        super.setVisible(false);
        Theme t = Configuration.getConfiguration().getCurrentTheme();
        alive = new JLabel(new javax.swing.ImageIcon(t.getImage("Alive.png")));

        alive.setSize(673, 223);
        setOpaque(false);
        setDoubleBuffered(false);
        fwpanel = new FireworksPanel();
View Full Code Here

public class LandChangePanel extends javax.swing.JPanel {

    /** Creates new form ColorChangePanel */
    public LandChangePanel() {
        initComponents();
        Theme t = Configuration.getConfiguration().getCurrentTheme();
        jLabel3.setIcon(new javax.swing.ImageIcon(t.getImage("WhiteIconSmall.png")));
        jLabel4.setIcon(new javax.swing.ImageIcon(t.getImage("RedIconSmall.png")));
        jLabel5.setIcon(new javax.swing.ImageIcon(t.getImage("BlueIconSmall.png")));
        jLabel6.setIcon(new javax.swing.ImageIcon(t.getImage("BlackIconSmall.png")));
        jLabel7.setIcon(new javax.swing.ImageIcon(t.getImage("GreenIconSmall.png")));

        jLabel8.setIcon(new javax.swing.ImageIcon(t.getImage("BlackIconSmall.png")));
        jLabel9.setIcon(new javax.swing.ImageIcon(t.getImage("RedIconSmall.png")));
        jLabel10.setIcon(new javax.swing.ImageIcon(t.getImage("WhiteIconSmall.png")));
        jLabel11.setIcon(new javax.swing.ImageIcon(t.getImage("BlueIconSmall.png")));
        jLabel12.setIcon(new javax.swing.ImageIcon(t.getImage("GreenIconSmall.png")));

   
    }
View Full Code Here

    Color backGround = new java.awt.Color(0,0,0,200);
    public LoserPanel() {
        initComponents();
        super.setVisible(false);
        Theme t = Configuration.getConfiguration().getCurrentTheme();
        dead = new JLabel(new javax.swing.ImageIcon(t.getImage("Dead.png")));
        dead.setSize(653, 250);
        setOpaque(false);
        setDoubleBuffered(false);
        firePanel = new FirePanel3();
        firePanel.setBounds(50,170,600,100 );
View Full Code Here

            if (!mCard.isCreature()) return;
// if schon eins gesetzt , dann nicht nochmal
            ImageSequencer s;
            synchronized (this)
            {
                Theme t = Configuration.getConfiguration().getCurrentTheme();
                s = ImageSequencer.createByRotation(t.getImagePath("spiraleScaled.png"), 20);
            }
            Configuration C = Configuration.getConfiguration();
            s.transformOpaque(C.getSicknessAlpha());

            s.transformScale(C.getInnerCardHeight(), C.getInnerCardHeight());
View Full Code Here

TOP

Related Classes of csa.jportal.theme.Theme

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.