No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
7 Posted Topics
how can I know how many time the system.gc will take? how many time it take in the most of the times? | |
the object is not thread and he had a data about the number of threads and he have data on the result from the internet and all the threads get an manager object - new thread(this); I call it from the manager | |
i have a program with 1 thread that run all the time and after I make connection to the internet - my memory get bigger with more than 25000 bytes and it all the time grow how can I make it smaller? | |
i have picture that when i go right created communication to the internet in order to import new data. the communication to the internet blows the movement on the screen. how can I set low Priority to the internet thread - i use this: thread.setPriority(1); but it not help - … | |
this is the wat i make new thread: public void startThread(){ if (threadIsActivate==false){ new myThread(this); threadIsActivate = true; } } and this is my constructor : public myThread(Object o) { this.o = o; Thread thread = new Thread(this); thread.start(); } //in object the thread make changes all the time after … | |
//this is my thread: public class threadMoveRight implements Runnable{ Storeroom sto = new Storeroom(); String url; Image image1; boolean flag; public threadMoveRight(String purl,Image pImage) { this.url = purl; this.image1 = pImage; } public void run() { searchData(); flag = true; } } //and after the user press on right he … | |
The End.