Search:

Type: Posts; User: curmudgeon

Search: Search took 0.16 seconds.

  1. Replies
    18
    Views
    1,313

    Re: Radio Button Help Please!

    No that isn't a constructor but rather is code that is inside of your constructor.



    I don't understand what you're stating.

    An example of a variable is your myRadioButton1 and all the...
  2. Replies
    18
    Views
    1,313

    Re: Radio Button Help Please!

    You are re-declaring the group variable in the constructor. Haven't we discussed this very issue several times in this thread already?
  3. Replies
    18
    Views
    1,313

    Re: Radio Button Help Please!

    I don't recall anyone telling you to remove the variables from the class, and in fact you should leave them in the class. What we recommended is that you not re-declare them in your constructor....
  4. Replies
    18
    Views
    1,313

    Re: Radio Button Help Please!

    Again is the group variable in the correct scope? that was the issue of your first question. Where is the group variable declared? In the class or in a constructor or method?
  5. Replies
    18
    Views
    1,313

    Re: Radio Button Help Please!

    Again why don't you do what Norm suggested -- use your ButtonGroup object, group?
  6. Replies
    18
    Views
    1,313

    Re: Radio Button Help Please!

    You are re-declaring class fields (the JRadioButton variables) in the constructor. Stop doing that. Instead declare them in the class, and initialize them in the constructor or the class, but don't...
Results 1 to 6 of 6