Search:

Type: Posts; User: Norm

Search: Search took 0.19 seconds.

  1. Re: Trick - How to build a button to switch between panel colors

    Leaving off the {}s can be a problem if later you add more code and forget to add them. Best to always use them.


    if(some == all)
    doThis();
    doThat(); //<<<<<<< This...
  2. Re: Trick - How to build a button to switch between panel colors

    I'd move the colors array outside the method next to where the option variable is defined and make it final to show that isn't to be updated.
Results 1 to 2 of 2