tylerjemarshall / ChatServer

Will support lobbies and mini-games.
Eclipse Public License 1.0
0 stars 0 forks source link

GUIConsole - clientList doesn't populate consistently. #8

Open tylerjemarshall opened 9 years ago

tylerjemarshall commented 9 years ago

This is a rare bug, but sometimes when the client is receiving the object ClientInfo[], and populating the list with the array in a for loop, it will somehow crash and not populate all the items. This bug is not consistent.

tylerjemarshall commented 9 years ago

Tried adding a Thread.sleep(5); Found slight improvement. See the following link: http://stackoverflow.com/questions/7442310/adding-elements-to-jlist-in-swing-java

tylerjemarshall commented 9 years ago

I could be completely wrong on why this bug is occurring. Just a warning.

tylerjemarshall commented 9 years ago

Haven't been able to re-create. Going to leave open.