// This delay is essential to prevent the
// assertion below from executing before
// swing thread finishes updating the combo-box
- Thread.sleep(100);
+ Thread.sleep(350);
} catch (InterruptedException e)
{
e.printStackTrace();
{
// This delay is to let
// cacheBox.updateCache() finish updating the cache
- Thread.sleep(200);
+ Thread.sleep(350);
} catch (InterruptedException e)
{
e.printStackTrace();