I am using IDE: NetBeans. I have created a text field using Codename one designer. with this layout:
Main
Label[Label]
streetField[TextField]
Button[Button]
The button has an action event
protected void onMain_ButtonAction(Component c, ActionEvent event) {
String street = streetField.getText();
//String street = "my street";
boolean show = Dialog.show(street,"Hi There", "OK", null);
}
I want to get the value of the streetField and put it in the Dialog. I get the error "cannot find symbol" on the streetField. I am not sure what I am missing here.