Package csa.jportal.config

Examples of csa.jportal.config.Logable.addLog()


            Logable D = Configuration.getConfiguration().getDebugEntity();
            boolean volumeSet = false;
            List<Mixer> portMixers = getPortMixers();
            if (portMixers.size() == 0)
            {
                D.addLog("There are no mixers that support Port lines. Sound volume can not be set!",0);
            }
            Iterator<Mixer> iterator = portMixers.iterator();
            while (iterator.hasNext())
            {
                Mixer mixer = iterator.next();
View Full Code Here


                    }
    }
            }
            if (!volumeSet)
            {
                D.addLog("Volume was not set, please contact auhtor, this should be easy to fix, once known what to look for!", 0);
            }
        }


View Full Code Here

    void go()
    {
        if (!mAutoBattle) return;
        Logable D = Configuration.getConfiguration().getDebugEntity();
        D.addLog("Go!", 3);
        Runnable caller = new Runnable()
        {
            public void run()
            {
                checkNextRound();
View Full Code Here

    private void jButton3ActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_jButton3ActionPerformed
    {//GEN-HEADEREND:event_jButton3ActionPerformed

        Logable D = Configuration.getConfiguration().getDebugEntity();
        D.addLog("Enter jButton3ActionPerformed", 3);
try{
        if (bActivated) return;
        bActivated = true;
        BoosterScheduler c = new BoosterScheduler();
        BoosterPlayer hp = new BoosterPlayer();
View Full Code Here

        mParent.addPanel(c);
        mParent.setMainPanel(c);
        mParent.removePanel(this);
        mParent.hideMyWindow(this);
        D.addLog("Exit jButton3ActionPerformed", 3);
        if (mAutoAI) c.go();
}catch(Throwable e){D.addLog(e, 3);}
    }//GEN-LAST:event_jButton3ActionPerformed

    private void setAllFromCurrent() /* allneeded*/
 
View Full Code Here

        mParent.setMainPanel(c);
        mParent.removePanel(this);
        mParent.hideMyWindow(this);
        D.addLog("Exit jButton3ActionPerformed", 3);
        if (mAutoAI) c.go();
}catch(Throwable e){D.addLog(e, 3);}
    }//GEN-LAST:event_jButton3ActionPerformed

    private void setAllFromCurrent() /* allneeded*/
    {
        mClassSetting++;
View Full Code Here

    Vector<PairedBattleInfo> mBattles = null;
    BoosterPlayer winner =null;
    public void checkNextRound()
    {
        Logable D = Configuration.getConfiguration().getDebugEntity();
        D.addLog("Entering: checkNextRound(), currentRound: " + mCurrentRound, 3);
        if (mCurrentRound>3)
        {
            for (int i = 0; i < mBattles.size(); i++)
            {
                PairedBattleInfo pi = mBattles.elementAt(i);
View Full Code Here

            winner = pl;
        }

        //if (mCurrentRound >0)
        {
            D.addLog("Checking player victories", 3);
            for (int i = 0; i < mActivePlayers.size(); i++)
            {
                BoosterPlayer boosterPlayer = mActivePlayers.elementAt(i);
                if (boosterPlayer.hplayer != null)
                {
View Full Code Here

            for (int i = 0; i < mActivePlayers.size(); i++)
            {
                BoosterPlayer boosterPlayer = mActivePlayers.elementAt(i);
                if (boosterPlayer.hplayer != null)
                {
                    D.addLog("Adding 5 dollars to player: " + boosterPlayer.hplayer, 3);
                    // for each round > 0 5$!
                    boosterPlayer.hplayer.addDollar(5);
                    boosterPlayer.hplayer.save();
                }
            }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.