Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JComboBox selection and counting arrays  RSS feed

 
D.Travis Smith
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a program that allows the user to enter a value (mortgage amount) and then they use a drop down menu to choose the interest rate and the term years of the loan.
i cant seem to figure out how to step to the next Array based upon the option number chosen in the drop down box. Thanks in advance

 
Wouter Oet
Bartender
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Without testing it:



2 remarks.
Make your instance variables private and create getters and setters for them.
Your creating a JFrame in go but why not use the class instance because the class extends JFrame.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!