How can I store variables in an array. With a mixture of strings, variables and information entered in textfields. With what I have below. If I wanted to store numbers, price, total, tax, and name in an array, how can I do it? Thanks in advance.
String[] numbers = { "1","2", "3", "4", "5", "6" };
double price = 50.0;
double total = 100.0;
JComboBox tax = new JComboBox(numbers);
JFormattedTextField name = new JFormattedTextField();