Component comp = (Component)enum.nextElement(); if (comp != filler && comp.isVisible()) {
Tool tool  = (Tool) enum.nextElement(); Container face = tool.getFace(); if (tool != filler && face != null && face.isVisible()) {
    public boolean areComponentsVisible() {        Enumeration enum = items.elements();        while (enum.hasMoreElements()) {            Component comp = (Component)enum.nextElement();            if (comp != filler && comp.isVisible()) {                return true;            }        }