Question:

Can anyone help with setVisible and hide() methods (java)?

by  |  earlier

0 LIKES UnLike

In one part my code, I want a frame to disappear but remain in the memory of the computer. I tried using <framename>.setVisible(false); and <framename>.hide() but both failed to make the frame disappear. How am I gonna solve this?

 Tags:

   Report

1 ANSWERS


  1. Not certain, as unsure just what IDE toolbox you might be using, but judging from the decribed behavior, perhaps you need to do a repaint() or similar function after you change the property of the frame and/or specify a different frame to obtain the focus?

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions