Hi all, i faced a problem with the following code,

==============================================================================
output += "<br><br><table>";

Iterator itr = hm.keySet().iterator();

NumberFormat changeFormat = NumberFormat.getFormat("#,##0.00");

while(itr.hasNext()){

        String key = (String) itr.next();

        String value = hm.get(key);

        double size = hi.get(key);

        size = size / totalSize * 100;

        String sizeTemp = changeFormat.format(size);

        output += "<tr><td><span class='"+key+"'>"+value+"</td><td>:</
td><td>"+sizeTemp+"%</td></tr>";

}

output +="</table>";



h.setHTML(output);

output="";

return h;
===============================================================================

Initially, i am testing in hosted mode, everything is working
properly, but when i switched to Mozilla and Chrome, the browser is
not responded, but IE is working properly. The return value h will be
added into a VerticalPanel, homePanel.add(h). I am not sure whether it
is a correct way to display in a panel. So perhaps someone can give me
some guideline. Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to