JAVA-SWING:
Is your UI changes are not
reflecting when your Java-Swing application is running? OR Do you want to run UI stuffs
from non-UI thread? Below snippet will be handy for you..
EventQueue.invokeLater(
new Runnable()
{
public
void run()
{
//UI processing done here..
//Finally validate..
validate();
}
}
);
Happy coding
.
No comments:
Post a Comment