Search:

Type: Posts; User: know.how

Search: Search took 0.17 seconds.

  1. How to register array of button and identify in actionPerfomed method.

    import java.awt.*;
    import java.awt.event.*;
    class Bt implements ActionListener{
    Frame f;
    Button b[]=new Button[3];
    Button b1[]=new Button[3];
    Button b2[]=new Button[3];
    TextField tf;
    ...
  2. Replies
    12
    Views
    1,994

    Re: If statement help

    In if condition you are using "=" it means that you are assinging value of name to Ryan. In this statment condition is not cheking. Change to "==" this is operator which is used to chek the values.
Results 1 to 2 of 2