0

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 by Dmiller071: n/a

3
Contributors
4
Replies
5
Views
5 Years
Discussion Span
Last Post by Dmiller071
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.