I am making something which displays HTML data in a GUI. Here is a part of the code I am having diffculty with:
I made the application wait with a while loop until the user had finished entering his details and has pressed OK. which sets wait to false. Well this works fine in the isolated class test, but when I display the info in a GUI, the GUI just hangs, (sortof, can move the frame and the Dialog Box, but the contents is frozen and blank). I tried to run the processConnection method from my Dialog class after the user had pressed OK, but then it seems I fail to connect, which seems like you are denied connection if you leave the object?? Alright so what other ways is there to do this? Please bare in mind I have not learnt how to use Threads. Thanks.