Re: using SkinLF to change application LF



On Thu, 27 Oct 2005 09:49:00 GMT, Thomas Fritsch
<i.dont.like.spam@xxxxxxxxxxx> wrote, quoted or indirectly quoted
someone who said :

>Subclasses of JComponent in their setUI(..) method typically call
>super.setUI(..) so that finally JComponent.setUI(..) is called, which in
>turn calls revalidate() and repaint().
what I was getting at is whether you had to revalidate/repaint the
tree after using your code.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.



Relevant Pages

  • Best way to force a JComponent to repaint itself
    ... What's the best way to force a JComponent to repaint itself? ... I've got three candidates: ...
    (comp.lang.java.programmer)
  • Re: repaint method and design question
    ... The repaint() and revalidate() methods queue requests for the event-dispatching thread to call paintand validate, ... The invalidate() method just marks a component and all of its direct ancestors as requiring validation. ...
    (comp.lang.java.programmer)
  • Re: Best way to force a JComponent to repaint itself
    ... repaint is sometimes used in client context, ... revalidate is/should be for component context only. ...
    (comp.lang.java.programmer)
  • Re: Need jdbNavTrees to be larger in gridbaglayout
    ... It responded to padding changes immediatly. ... Adding calls to revalidate() and repaint did the trick. ... visible container, I'm sure someone would have certainly pointed you to ...
    (comp.lang.java.gui)
  • Re: repaint or revalidate ?
    ... > need to call repaint or revalidate or anything else - the system will ... > will notice the change and cause a repaint for you. ... I have some GUI modules(JPanel), ... this I do in Loader thread and button appear in panel more later that ...
    (comp.lang.java.help)