0

How to create run as a process or thread

asked 2010-07-29 14:17:06 +0800

Naveen gravatar image Naveen
42

Hello
i am new to zkoss i have created an window
<window id="st" use="com.start" title="Add Site to Crawl">


<button label="Start " onClick="st.onStart()"/>

</window>
and i have extend it in java like
public class start extends Window{
public void onStart()
{
Start_process p =new Start_process();
p.start();

}

}
i have done like this the Start_process() is an class that gets the value form the db and process for some 20,000 datas and while the process is started i the window is busy can i do it as separate thread or run as an background process

delete flag offensive retag edit
Be the first one to reply this discussion!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2010-07-29 14:17:06 +0800

Seen: 123 times

Last updated: Jul 29 '10

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More