r/javahelp • • Apr 03 '17

Want to make gpa calculation in java using jcombobox

Hi, i want to make gpa calculation for my university.so i need to help.i want to make using jcombobox in GUI.but i have a problem.i couldn't understand how to get output from jcombobox. Need your help

2 Upvotes

3 comments sorted by

3

u/wildjokers Apr 03 '17

The Combo Box tutorial from Oracle should be helpful, it has an example of getting the selection from a combo box:

https://docs.oracle.com/javase/tutorial/uiswing/components/combobox.html

4

u/PosterOfHonesty Apr 03 '17

What have you tried? ActionEvents/listeners work fine.