Re: refresh problem



On 2005-09-29, alex_us01 penned:
> hello,
>
> I have a JFrame that I put two components, one on
> BorderLayout.CENTER and the other is at EAST. When I cover with
> another window, and then uncover, the part that is uncovered does
> NOT refresh. It is unbelievable.
>
> I put the component at EAST to another JFrame and no such problem
> happens. The component on CENTER uses some library and rendering
> that I didn't write myself (JUNG's GraphDraw).
>
> What could be the problem? Or, how can I fix it?
>
> thanks, alex

Without knowing much about your problem, I suspect you need to
implement paint() or paintComponent() for the component using
GraphDraw.

--
monique

Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
.



Relevant Pages

  • Re: JFrame refresh problem
    ... >I have a JFrame that I put two components, ... >When I cover with another window, and then uncover, ... cpu intensive task. ...
    (comp.lang.java.programmer)
  • refresh problem
    ... I have a JFrame that I put two components, ... When I cover with another window, and then uncover, ... Prev by Date: ...
    (comp.lang.java.help)