I tried it and it is not working.
But as I stated in a previous mail, nit is working fine if the JWindow
isVisible().


Gregg G. Wonderly wrote:

> >But if I move the JFrame on the screen (with the mouse), and then
> >display JWindow, it shows where it has to.
> >I use jdk 1.1.7-v1a-glibc with native threads on a RedHat5.1.
> >
> >Does anyone know what is happening, and how can I solve that ?
>
> The base AWT has many courtesy calls to "repaint".  Swing seems not
> to which allows it to execute faster since repainting is kept to a
> minimum.  However, this puts the responsibility on the program to repaint
> with wild abandon to make sure that changes are displayed to the user.
> Anytime you modify a component within another component, you need to remember
> to call repaint.  Add a Window.repaint() call and I bet it will work.
>
> -----
> [EMAIL PROTECTED]  (C2 Technologies Inc)



--
 \|/ ____ \|/
  @~/ Oo \~@
 /_( \__/ )_\
    \__U_/


Reply via email to