as some of you are aware, I am writing a card game in Java. Part of the excercises in my book. well, anyway, I put graphics to it and not sure how to proceed... I am using a class extended from JPanel, placing the graphic on that and passing it to my calling class to place on the GUI. my question is, if I want to 're-deal' new cards, do I need to dispose of the old cards? if so, can you tell me how to clear a component from a GUI? I am assuming there is some sort of a .remove() method