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?

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?