You have to add them to a visible component. For instance: On Wed, Mar 18, 2009 at 9:50 AM, Harry <harish1...@gmail.com> wrote:
> > Hi, > > I am not able to see radio button, what should i do is there anything > i should add. > > package com.myapplications.client; > > import com.google.gwt.core.client.EntryPoint; > import com.google.gwt.core.client.GWT; > import com.google.gwt.user.client.Command; > import com.google.gwt.user.client.Window; > import com.google.gwt.user.client.ui.MenuBar; > import com.google.gwt.user.client.ui.RadioButton; > import com.google.gwt.user.client.ui.RootPanel; > > @SuppressWarnings("unused") > public class Notes implements EntryPoint{ > public void onModuleLoad(){ > > RadioButton age18 = new RadioButton("age", "18-25"); > RadioButton age26 = new RadioButton("age", "26-30"); > RadioButton age31 = new RadioButton("age", "31-40"); > RadioButton other = new RadioButton("age", "> 40"); RootPanel body = RootPanel.get(); body.add(age18); body.add(age26); body.add(age31); body.add(other); > > } > } > > Thanks, > Harry.. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---