The Artima Developer Community
Sponsored Link

Java Answers Forum
Refresh swing component using graphics

1 reply on 1 page. Most recent reply: May 17, 2003 2:21 PM by Charles Bell

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 1 reply on 1 page
DIAMS

Posts: 1
Nickname: diams
Registered: May, 2003

Refresh swing component using graphics Posted: May 16, 2003 6:38 AM
Reply to this message Reply
Advertisement
Hello everybody!
I have a problem: I have a Frame containing a JPanel(named tranlator) which can't refresh itself when I put it on another Jframe containing Graphics paints. I try to set the opacity of the painted JFrame but the problem stays unresolved. Can't someone help me? If necessary I can send screenshots.
Thanks in advance.


Charles Bell

Posts: 519
Nickname: charles
Registered: Feb, 2002

Re: Refresh swing component using graphics Posted: May 17, 2003 2:21 PM
Reply to this message Reply
try validate() or setVisible(true);

Flat View: This topic has 1 reply on 1 page
Topic: Error with java SimpleServlet Previous Topic   Next Topic Topic: Ant execution

Sponsored Links



Google
  Web Artima.com   

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