todo:
in outbox
add some checkboxes (NEW, INPROGRESS, SENT, UNSENT, DELIVERED)
change resend unsent button to resend button to resend selected status
http://wiki.jetbrains.net/intellij/Developing_applications_for_Android_in_IntelliJ_IDEA
Swing, Second Edition ( 2003 - 193011088X ) page 24 :
the following code shows a typical way to build your own separate
thread to do some time-intensive work while using invokeLater() or invokeAnd-
Wait() in order to safely update the state of any components in the event-dispatching thread:
Thread workHard = new Thread() {
public void run() {
doToughWork(); // do some time-intensive work
SwingUtilities.invokeLater( new Runnable () {
public void run() {
updateComponents(); // do some work in event thread
}
});
}
};
workHarder.start();
1910
No comments:
Post a Comment