Newbie here looking for a bit of advice!
I find these things hard to explain so I'll just tell you what is on my GUI -
At the top there are 2 combo boxes with 4 options each(say a,b,c,d in each one). There is also a button that says Calculate and a text field for the output to go in.
My aim is for a number to be produced in the textfield when two options are selected in the combo boxes and the calculate button is clicked.
So, for example, if a is in the first box and b is in the second, produce 4.5 in the text box.
I'm very new to Java and understand it must be something to do with an ActionListener but I'm not sure how to go about this.
Thanks for the help.