As title. If so, will the file included when I Export the hole Program?
I want make a RPG game, and I also want know, can Greenfoot do something with SQL, Thanks.
OK,I,v tryed in my program, the answer is NO.
It runs well when I'm editing it, but after I exported it ,it can't run anymore.
I,ve tryed to read some srtings from an TXT file,and here comes some of the code
path = System.getProperty("user.dir");
try
{
fis = new FileInputStream(path + "/doc/Data.txt");
try
{
read = new InputStreamReader (fis, "UTF-8");
B_Reader = new BufferedReader(read);
}
catch(UnsupportedEncodingException e)
{
e.printStackTrace();
}
catch(IOException e)
{
e.printStackTrace();
}
}
catch(FileNotFoundException e)
{
e.printStackTrace();
}