He there,
Im very new to JDE so i hope you can help me out.
I have a class which reads data from an URL and returns string:
Like this:
Code:
textReader r = new textReader();
Dialog.alert(r.readData());
Now, wheh i press Start in mij ContextMenu i would like it to display the
r.readData() on the mainscreen in a RichTextField. But when i try to do
that i get an error like:
blocking on event dispatch thread
So the action below isn't working:
Code:
private MenuItem _mGetData = new MenuItem("Ophalen",1,10){
public void run()
{
rTextFiel.setText(r.readData());
}
};