String filename = jfr.getTitle();
File fname = new File(filename);
System.out.println(filename);
if(filename.equals("untitled"))
{
System.out.println(filename);
return;
}
else
{
System.out.println(filename+"+");
}
when i run the above code though the filename is "untitled",the statements under both if and else are been executed...
is there any wrong in it??