g*y
2 楼
This FrameWork will be used if you have
1.your own GUI updated part, not calling repaint().
2.Tough work, like lots of calculations
3.You want to be able to stop the thread.
Thread workHarder = new Thread() {
public void run() {
doTougherWork();
SwingUtilities.invokeLater( new Runnable () {
public void run() {
updateMyComponents(); // update the state of
component(s)
}
});
}
};
workHarder.start();
public void doT
1.your own GUI updated part, not calling repaint().
2.Tough work, like lots of calculations
3.You want to be able to stop the thread.
Thread workHarder = new Thread() {
public void run() {
doTougherWork();
SwingUtilities.invokeLater( new Runnable () {
public void run() {
updateMyComponents(); // update the state of
component(s)
}
});
}
};
workHarder.start();
public void doT
k*n
3 楼
maybe that's the next obama
相关阅读
问题请教A question about Content-type & encodinghelp needed谁共享一下jive的source code?问题征解question about repaint, update and paintinterface可不可以有variable?Re: help with JTextArea怎样替换字符串中/n 到 <br>java求救javaw是不是没法写文件?[转载] JBuilder's project source treeChess question Documentum DFC如何获得类定义的public methods?hwo to insert vedio into Java appletJava 1.5 Exciting new features!solvedRe: how to change the input mode?有人用过hp Jornada上的chaiVM?Get the vouchers(Free) for SCBCD