Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

jComboBox catching operators?

$
0
0
I've been playing around with GUI, and I came to an idea to try something like this.
Posted Image
As you can see on the picture, this is a simple calculator.
So here is my idea, as first I want to store operators (+, -, *, /) into jComboBox.
Picture says alot, so my question is, how I come to that idea, to pick up an operator from jComboBox?
Since, jComboBox can only be used for primitive data types, or I'm wrong?

Viewing all articles
Browse latest Browse all 51036

Trending Articles