EDIT: A EASIEST, SIMPLE AND CHECKABLE PROBLEM BELOW
RESUME
I\'m doing a Latin Square application, which, sets a square of size
Need another Thread for fix it.
Changing the listener class, works fine:
class ResolveListener implements ActionListener
{
@Override
public void actionPerformed(ActionEvent e)
{
new Thread(new Runnable()
{
@Override
public void run()
{
try {
TestContainerButtonJPanel.this.testJPanel.colourCells();
} catch (InterruptedException e1) {
e1.printStackTrace();
}
}
}).start();
}
}
}