Search:

Type: Posts; User: helloworld922

Search: Search took 0.12 seconds.

  1. Re: need help with JButton and switch statements

    Me thinks you forgot to add your class to be an action listener for all the buttons?


    jeans_CV_Button.addActionListener(this);
    ... etc
  2. Re: need help with JButton and switch statements

    Java doesn't support "de-facto" casts between integers and enums. I know you can go from Enums to integers by using the ordinal() method, I don't think you can the other way around without writing...
Results 1 to 2 of 2