Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /** Listens to the check boxes. */
- public void itemStateChanged(ItemEvent e) {
- int index = 0;
- char c = '-';
- Object source = e.getItemSelectable();
- if (source == squery.first("#chin")) {
- index = 0;
- c = 'c';
- } else if (source == squery.first("#glass")) {
- index = 1;
- c = 'g';
- }
- // etc
Add Comment
Please, Sign In to add comment