Why do I have an error in this line? fis.read(readers);
This is my code
FileInputStream fis;
File file;
int sizeFis;
file = new File("C:\\fasmw167\\sambler\\textbox 3\\ textbox3.ASM");
sizeFis = (int) file.length();
byte readers[] = new byte[sizeFis];
try
{
fis = new FileInputStream(file);
}
catch (FileNotFoundException e)
{
}
try
{
fis.read(readers);
}
catch (IOException e)
{
}
String s = new String(readers);
jTextArea1.append(s)