So I have this website that has a chatbox. I now have an offsite way to chat to the chatbox and get chats from it, the problem is that it only updates other users chats when I post or manually hit refresh, is there a command in java that will run a method, say every 10 seconds (the getChatData method lets say), so that it will auto refresh and not require me to manually refresh?


Thanks!

Oh..never heard of that before, I shall look into it.
If I don't find anything could you post a quick easy example?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.