Search:

Type: Posts; User: Darryl.Burke

Search: Search took 0.15 seconds.

  1. Replies
    9
    Views
    2,350

    Re: if and else

    So you answered a question other than the one asked. That must have been helpful!

    db
  2. Replies
    9
    Views
    2,350

    Re: if and else

    The question was about clearing the selection in a ButtonGroup, not about removing components from a visible GUI.

    db
  3. Replies
    9
    Views
    2,350

    Re: if and else

    Chances are you have more than one variable with the same name: the one an instance field, the other a method local variable that hides it.

    To get better help sooner, post a SSCCE. <== link

    db
  4. Replies
    9
    Views
    2,350

    Re: if and else

    That's just ... silly. The if statement requires a boolean condition, which isSelected() already returns.

    It is NEVER required to compare a boolean with true or false.

    db
Results 1 to 4 of 4