hello,No you cannot use it, bc java reflection is not supported. The alternative is to use GWT.create(yourClass.class) and deffered binding.
On Wed, May 20, 2009 at 2:27 PM, Pints <rohitvad...@gmail.com> wrote: > > Hi, > > I am tring to use Class.forName at cleint for object creation and > getting the following exception. > > [ERROR] Line 196: The method forName(String) is undefined for the type > Class > [ERROR] Line 197: The method newInstance() is undefined for the type > Class > > Can't we use it? > > Any possible way around? > > Thanks. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---