Loki, like the compiler error says:
make them final.
e.g.:
final textArea text = new TextArea();
final Button save = new Button(whatever);
On Nov 18, 5:29 am, Loki <[EMAIL PROTECTED]> wrote:
> Perhaps my brain is just fried-- the longer I code, the less sense
> coding seems to make to me, so
If "all those various textboxes" are in the same class then you just
have to make them PRIVATE - not global. If they are in other Classes
then you have to make them PUBLIC(bad style) or provide a bunch of
public GET/SET Methods(good style). Another way is to declare them
("all those various textbo
public class MyComponent {
private SimplePanel panel = new SimplePanel();
private textBox = new TextBox();
private Button myButton = new Button("Save",
new ClickListener() {
public void onClick(Widget sender) {
String data = textBox
Perhaps my brain is just fried-- the longer I code, the less sense
coding seems to make to me, so maybe I just need a break, but I'll
list my problem just in case I'm wrong.
Okay, so I have a setup where a user enters data into a bunch of
various textboxes, and there's a button labeled "Save" wai