Hi daim
You are not taking into account the asynchronious
nature of the request that you use to initialize the
Databank.dataArray. When the constructor returns
dataArray is null until request completes so
prepature access to the dataArray gives you null.
--
waf
--~--~-~--~~-
her's my problem:
JsArray db = new Datenbank("data.php");
if(db.getData() == null)
System.err.println("getData() is null!");
and everytime i get: getData() is null!
her's my class:
public class Datenbank
{
private String phpURL = null;
private RequestBuilder requestBuil