JComboBox help

I'm new to java and I'm trying to setup a listener for a JComboBox. I have no idea. SO anyway, I'm setting up a store for a friend on Prostores, and I need the combobox to update the price on the page. It's a little weird since Prostores uses SSML tags, but it should still work. I guess basically if you could show me the code to setup a jcombobox and a related listener to change the price displayed that would be awesome. If you need more code or something from my store to give me an example, I can supply it. Otherwise any sample would be great.

Thanks in advance,

Josh

[597 byte] By [jcomboboxa] at [2007-11-26 21:00:55]
# 1
Read the API docs - it even has a link to an how-to. http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JComboBox.html
CeciNEstPasUnProgrammeura at 2007-7-10 2:32:04 > top of Java-index,Java Essentials,New To Java...
# 2
I've seen that, but the question is which listener script am I supposed to use, and how do I put it together... When I said new to Java, I meant new ;)
jcomboboxa at 2007-7-10 2:32:04 > top of Java-index,Java Essentials,New To Java...
# 3

I'm a guessin' that you are not talking about a JCombobox, rather an HTML SELECT menu. In which case, you'll want to head over to a JavaScript forum.

But hey, what do I know? Ulrika/Embla is the smart person in the fora and only she knows what the correct question and answer really is.

filestreama at 2007-7-10 2:32:05 > top of Java-index,Java Essentials,New To Java...
# 4
I need the javascript to make it update the price displayed. For example: an item has 12 options, each has a different price. I need it to show/update the price just for the option chosen.thanks
jcomboboxa at 2007-7-10 2:32:05 > top of Java-index,Java Essentials,New To Java...