The Artima Developer Community
Sponsored Link

Java Answers Forum
GUI component dumping...

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Guido

Posts: 38
Nickname: kiethb
Registered: May, 2002

GUI component dumping... Posted: Jul 30, 2002 11:51 AM
Reply to this message Reply
Advertisement
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

Topic: screensaver Previous Topic   Next Topic Topic: Slow running Java

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use