5. Overriding DefaultBinder's applyTo() method to ensure Swing-friendliness.
- By Mike Mannion
- March 23, 2000
Listing 5. Overriding DefaultBinder's applyTo() method to ensure Swing-friendliness.
public void applyTo(final Object target)
{
SwingUtilities.invokeLater
(
new Runnable()
{
public void run()
{
SwingBinder.super.applyTo(target);
}
}
);
}