求助:读写文件时出现的问题
米娜嘟 2007-05-07 03:48:32 1.写文件时语句如下:
OutputConnection connection = (OutputConnection)
Connector.open("file://c:/myfile.txt;append=true", Connector.WRITE );
运行时会抛出java.lang.IllegalArgumentException异常,请问该如何解决?
2.读文件界面:is it ok to read your files?
按下yes键,运行后出现警告:
Warning: To avoid potential deadlock, operations that may block, such as
networking, should be performed in a different thread than the
commandAction() handler.
请问这是怎么回事啊??????????