This is something random I made to warn people on my server to relog every once and a while to save their stats. I think it might be useful to you guys as well. Please post your comments here. Rep is appreciated if you use this! 
------------------------------------------------------------------------------------------------
First off, declare this int with the rest of them in your client.java:
Code:
public int popTimer = 1000;
*Note: Divide the number in the above piece of code by 2 to get the amount of seconds it will take for the pop-up to pop up! You can change the number to anything.
Add this with your other menus, which is pretty much with all of your other public voids.
*Note: The above is a menu. If you don't know how to edit/make one, please use one of the menu making tutorials you can find around here.
Then, add this entire thing in your public boolean process():
Code:
popTimer -= 1;
if (popTimer <= 0)
{
popUp();
popTimer = 1000; //Change this to what the int that you declared is.
System.out.println("Pop up sent successfully to players!");
}
*Note: In the above code, make sure to change the number in popTimer = 1000; to what the number is in the first piece of code (the declared int popTimer).
------------------------------------------------------------------------------------------------
There you go! You've now successfully added a server pop-up!
Please post any errors you get here, or just comments! Remember, like I said before, help is always appreciated! Don't be a leecher!
Have fun!