String[] tipStrings = new String[1]; tipStrings[0] = "attack: " + attack.getEntityId() + " on " + attack.getTargetId();
String[] tipStrings = new String[1 + weaponDescs.size()]; int tip = 1; tipStrings[0] = attackerDesc + " on " + targetDesc; for (Enumeration i = weaponDescs.elements(); i.hasMoreElements();) { tipStrings[tip++] = (String)i.nextElement(); }
        public String[] getTooltip() {            String[] tipStrings = new String[1];            tipStrings[0] = "attack: " + attack.getEntityId() + " on " + attack.getTargetId();            return tipStrings;        }