JAVA Swing GUI Invoice - problem with correct actionPerformed

  • (2 Pages)
  • +
  • 1
  • 2

15 Replies - 1293 Views - Last Post: 19 April 2018 - 04:34 PM Rate Topic: -----

#16 cavjav   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 18-April 18

Re: JAVA Swing GUI Invoice - problem with correct actionPerformed

Posted 19 April 2018 - 04:34 PM

View Postg00se, on 19 April 2018 - 04:26 PM, said:

You need to add a getStaw() method to that enum. Then:

int selectedIndex = cbTax.getSelectedIndex();
tax = cbTax.getItemAt(selectedIndex).getStaw();

You are my GOD :) Thank you.

I'm going to sleep and see you tomorrow(new challenges, new problems :)).
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2