Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: repaint?

  1. #1
    New Coder
    Join Date
    Mar 2005
    Location
    Indiana (USA)
    Posts
    50
    Thanks
    4
    Thanked 0 Times in 0 Posts

    repaint?

    I have a window and after an event I rebuild a container that is in the window. currently I empty the container and then re-add the elements to it so get me new container. The container is the windows content pane. When I make changes in the container they do not show up. Can anymore offer me a bit of help? I can post my code if you need me to.

    And btw, repaint() is not doing anything. I know stuff is happening because I can hide the window and show it and the new one is correct, but I then have 2 windows.
    Last edited by chiefbutz; 04-23-2008 at 08:52 PM.

  • #2
    New Coder
    Join Date
    Jun 2005
    Posts
    32
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Try calling validate() on your container.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •