The title says it all.

Basically what I'd like to do is have a JComboBox drop down with a list of items. When the user clicks on that item it will redirect them, or open a new browser tab, of the url to that specific item.

Quick example (these sites are solely for the example):
Item list - apple, orange, banana

apple: www.apple.com
orange: www.orange.com
banana: www.banana.com

When the user clicks apple, it takes them to www.apple.com

I know there's a hypelinklistener class, should I mess around with that? I really don't know where to begin after setting up my ComboBox.

Any help is much appreciated!

Edited 4 Years Ago by Dmiller071: n/a

This question has already been answered. Start a new discussion instead.