Hello again Candy,
Is the problem that the line Symbol.setText("AEP") never gets set, even when you feel that StockName.getSelectedItem() should return "American Electric Power Company"? If that's the case then probably the value returned by the method is not what you think it is for some reason. It could be that there is some white space at either the beginning or end of the
string. If so, you can change the statement to if (StockName.getSelectedItem().trim().equals.("American Electric Power Company")) and that will fix the problem. You can also put a System.out.println(StockName.getSelectedItem()) right before the if statement and see what pops up on the console. Also, I would strongly advise you to enclose all if blocks with curly braces {} even when there is only one statement to execute. For one thing, it makes the code more readable and if you later need to add a line to that if block you won't get a syntax error or worse a statement that executes whether the if evaluates true or false.
Michael Morris
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher