Hi...
How could I be able to update or refresh the contents of my components in the JInternalFrame.
I've been researching any methods yet none of them works.
I have a hard time implementing those codes ony my JIF.
Could someone help me..
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
Hi...
How could I be able to update or refresh the contents of my components in the JInternalFrame.
I've been researching any methods yet none of them works.
I have a hard time implementing those codes ony my JIF.
Could someone help me..
It depends how you wish to 'update'. You can try calling repaint() to repaint some components, or if you've added other components you should call revalidate.
Can you post a sample code of repaint?
repaint()
That's about all it takes...why don't you post your sample code, in which case the situational conditions and reason for updates/refresh will be more apparent and a better answer might be unveiled.
Darryl.Burke
I'm eager to find solutions to my question.
I know a sample code is needed and it will be up after this reply.
So you actually think cross posting to 3 forums will get you an answer sooner?
That's not how it works.
db
Problem is resolved thanks to repaint()
Thanks to copeg
I have resolve this problem.