boolean moreData = true;
    protected String readWidgets() throws IOException, EOFException {        JComponent widget;        long startTime = System.currentTimeMillis();        String header = null;        int widgetType;        boolean moreData = true;        float ver = link.dis.readFloat();        Debug.message("link", "LinkGUIList: reading graphics:");        while (true) {            widget = null;            // Just consume the header, don't create a useless            // string object.            header = link.readDelimiter(false);            if (header == Link.END_TOTAL || header == Link.END_SECTION) {                long endTime = System.currentTimeMillis();                Debug.message("link", "LinkGUIList: received bytes in "                        + (float) (endTime - startTime) / 1000.0f + " seconds");                return header;            }            widgetType = link.dis.readInt();            switch (widgetType) {            default:                System.err.println("LinkGUIList: received unknown graphic type.");            }        }    }