I'm creating a program that will save what the user enters into a file and in the end check to see if what the user typed in is correct and have it display whether or not it is correct. My problem is I created a JComboBox and I'm wanting to save whatever the user clicked on in the JComboBox and its giving me this error:
C:\Documents and Settings\sth-g200\Desktop\BillPayer.java:180: cannot resolve symbol
symbol : method writeUTF (java.lang.Object)
location: class java.io.DataOutputStream
output.writeUTF(pmt.getSelectedItem());
If anyone can take a look at my code and point me in the right direction it would be greatly appreciated.
Thanks,
Matt
[ edited to preserve formatting using the [code] and [/code]
UBB tags -ds ]
[ August 08, 2004: Message edited by: Dirk Schreckmann ]