BioHolder myBioHolder = BioHolderInitializer.getBioHolder(); myPowerPS = (myBioHolder.thePowerPSModules.get(0)); myPowerStore = (myBioHolder.thePowerStores.get(0)); buildGui(); }
BioHolder myBioHolder = BioHolderInitializer.getBioHolder(); if (myBioHolder.thePowerPSModules.size() > 0) myPowerPS = (myBioHolder.thePowerPSModules.get(0)); myPowerStore = (myBioHolder.thePowerStores.get(0)); buildGui(); }
    public PowerTextPanel() {        BioHolder myBioHolder = BioHolderInitializer.getBioHolder();        myPowerPS = (myBioHolder.thePowerPSModules.get(0));        myPowerStore = (myBioHolder.thePowerStores.get(0));        buildGui();    }