Package csa.jportal.theme

Examples of csa.jportal.theme.Theme


        if (mCard.getBoolData(Card.CARD_ATTACKER))
        {
            ImageSequencer a;
            synchronized (this)
            {
                Theme t = Configuration.getConfiguration().getCurrentTheme();
                a = ImageSequencer.createFromImageSequence(t.getImagePath("Attacker.png"), 1);
            }
            //a.transformOpaque(020);

            Configuration C = Configuration.getConfiguration();
View Full Code Here


        if (mCard.getBoolData(Card.CARD_BLOCKER))
        {
            ImageSequencer a;
            synchronized (this)
            {
                Theme t = Configuration.getConfiguration().getCurrentTheme();
                a = ImageSequencer.createFromImageSequence(t.getImagePath("Defender.png"), 1);
            }
            Configuration C = Configuration.getConfiguration();

            a.transformScale(C.getCardHeight(), C.getCardWith());
            AnimatedLabel defend = new AnimatedLabel(a.getAsIcons());
View Full Code Here

        if (mCard.getBoolData(Card.CARD_DEATH))
        {
            ImageSequencer a;
            synchronized (this)
            {
                Theme t = Configuration.getConfiguration().getCurrentTheme();
                a = ImageSequencer.createFromImageSequence(t.getImagePath("death"+File.separator+"death00.png"), 12);
            }
            Configuration C = Configuration.getConfiguration();

            a.transformOpaque(C.getDeathAlpha());
View Full Code Here

    Color backGround = new java.awt.Color(0,0,0,100);
    public PausePanel() {
        initComponents();
//        setBackground(backGround);

        Theme t = Configuration.getConfiguration().getCurrentTheme();
        JLabel pause = new JLabel(new javax.swing.ImageIcon(t.getImage("Pause.png")));

//        jLabel1.setOpaque(true);
        setOpaque(false);
        setDoubleBuffered(false);
        java.awt.Font f= csa.jportal.config.Configuration.getConfiguration().getMagicFont(100).deriveFont(java.awt.Font.BOLD);
View Full Code Here

    private JPortalView mMainDisplay = null;

    public PlayerStatusPanel2() {
        initComponents();
       
        Theme t = Configuration.getConfiguration().getCurrentTheme();
       
        jLabelBlackMana.setIcon(new javax.swing.ImageIcon(t.getImage("BlackIconSmall.png"))); // NOI18N
        jLabelWhiteMana.setIcon(new javax.swing.ImageIcon(t.getImage("WhiteIconSmall.png"))); // NOI18N
        jLabelRedMana.setIcon(new javax.swing.ImageIcon(t.getImage("RedIconSmall.png"))); // NOI18N
        jLabelBlueMana.setIcon(new javax.swing.ImageIcon(t.getImage("BlueIconSmall.png"))); // NOI18N
        jLabelGreenMana.setIcon(new javax.swing.ImageIcon(t.getImage("GreenIconSmall.png"))); // NOI18N
        jLabelUniMana.setIcon(new javax.swing.ImageIcon(t.getImage("AllIconSmall.png"))); // NOI18N
       
       
        jButtonPhaseDone.setVisible(false);
        jButtonTurnHelp.setVisible(false);
         saveDefault();
View Full Code Here

    public AchievmentAnnouncementModalPanel(JRootPane r, Component d, Achievement a)
    {
        super(r,d);
        Dimension rootSize = desktop.getSize();
       
        Theme t = Configuration.getConfiguration().getCurrentTheme();
        achievmentImagePath = t.getImagePath("krone.png");
       
        aName ="<BR> <br>"+a.getName()+"";
        setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        achILabel = new FadingImageLabel(achievmentImagePath);
View Full Code Here

    boolean achieved = false;

    /** Creates new form AchievmentPanel */
    public AchievementPanel() {
        initComponents();
        Theme t = Configuration.getConfiguration().getCurrentTheme();
        jLabel1.setIcon(new javax.swing.ImageIcon(t.getImage("kroneSmall.png")));
       
    }
View Full Code Here

    public JPortalView(SingleFrameApplication app)
    {
        super(app);
        ToolTipManager.sharedInstance().setDismissDelay(15000);
        csa.Global.mMainWindow = getFrame();
        Theme t = Configuration.getConfiguration().getCurrentTheme();
        getFrame().setIconImage(t.getImage(("RedIconSmall.png")));
        Configuration.getConfiguration().setMainFrame(getFrame());
        initComponents();
jMenu2.setVisible(JMOM);
        if (!device.isFullScreenSupported())
        {
View Full Code Here

    }

    public void addInternalFrame(final JPortalInternalFrame frame)
    {
        frame.setParent(this);
        Theme t = Configuration.getConfiguration().getCurrentTheme();
        frame.setFrameIcon( new ImageIcon(t.getImage(("RedIconSmall.png"))));

        mFrames.add(frame);
        getMainPanel().add(frame);
        getMainPanel().setComponentZOrder(frame, 0);
        final javax.swing.event.InternalFrameAdapter l = new javax.swing.event.InternalFrameAdapter()
View Full Code Here

    public void showAboutBox()
    {
        aboutBox = new JPortalAboutBox(getFrame());
        JInternalFrame modal = new ModalInternalFrame("About", getFrame().getRootPane(), getFrame(), aboutBox);

        Theme t = Configuration.getConfiguration().getCurrentTheme();
        modal.setFrameIcon( new ImageIcon(t.getImage(("GreenIconSmall.png"))));
       
        modal.setVisible(true);
    }
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.