Hello, I want to create a Window with Radio button like image one
[img]http://www.gwt-ext.com/forum/download/file.php?id=633[/img]
I use this code, but is very ugly and not optimized, and I don't know
how catch the radio choice.
Code:
public void rTypeSel(){
Panel radio = new Panel();
radio.setFrame(true);
radio.setBorder(false);
radio.setPaddings(5);
Panel testo = new Panel();
testo.setHtml("Select a Rank Type:");
radio.add(testo);
//Field radioGroup = new Field();
Radio natural = new Radio("Natural","Radio");
Radio weighted = new Radio("Weighted","Radio");
Radio cardi = new Radio("Cardinality","Radio");
radio.add(natural);
radio.add(weighted);
radio.add(cardi);
Button button = new Button("Select");
radio.add(button);
window.add(radio);
window.show();
}
Can you help me?
Thanks,
Luca
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"GWT-Ext Developer Forum" 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/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---