Forum: Java May 26th, 2004 |
| Replies: 5 Views: 14,571 Review the following
CLASS I (Partical)
.
.
.
public String climateDataOut[];
try |
Forum: Java May 26th, 2004 |
| Replies: 5 Views: 14,571 you need to change your climaticData method to return String[] instead of void. Add return(climateDataOut); at the end of the method and then change your calling class to catch the String[]. |
Forum: Java Apr 8th, 2004 |
| Replies: 12 Views: 5,037 another thing ... quick paste into eclipse and it suggests that you cast "this" with (ActionListener) and (ItemListener) .... Also I think you may have meant addItemListener on the second food.add*... |
Forum: Java Apr 8th, 2004 |
| Replies: 12 Views: 5,037 First thing I see is that you missed semicolons on the following lines:
order.addActionListener(this)
food.addActionListener(this) |