Hi I get the following error in elpse

Hi,
On the 3 lines
                HorizontalPanel.add(edit);
                HorizontalPanel.add(del);
                HorizontalPanel.add(email);
eclipse gives me the following error
cannot make a static refrence to a non static method.  Could some one
explain this to me.

package pNewsLetter2.client;

import com.google.gwt.user.client.ui.*;

public class cRow {

        Button edit = new Button("edit");
        Button del = new Button("del");
        Label email = new Label("empty");
        HorizontalPanel row = new HorizontalPanel();

        public void Crow()
        {
                HorizontalPanel.add(edit);
                HorizontalPanel.add(del);
                HorizontalPanel.add(email);
        }

}

Ted cRow

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to