Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
If it works after minimizing, it makes me wonder if you forget to repaint() changed component. > We are trying to have an applet display different questions and answer sets in a JPanel when a "next" button is pushed. We are using panelName.removeAll() to clear, then adding a different set of Q and A's, then validating. It does not appear to remove the components we have asked it to remove, just adds the new set on top. However, if the screen is minimized and then maximized, the components are removed. Given that it works after minimizing, it makes us wonder if it could be a bug in java. Has anyone had experience with this situation?
Replies: |
Sponsored Links
|