cardlayout problem

Discussion in 'Java' started by BG, Jul 30, 2003.

  1. BG

    BG Guest

    I have an applet (awt/1.1) that shows a few components on one card. If the
    next card doesn't have components over the components of the first card, the
    old components are still visible until i move the mouse. I thought that
    calling invalidate()/validate() and repaint() would fix this but it
    doesn't...is there a reason why the new cards don't remove the old
    components? is there anyway to fix this?
    BG, Jul 30, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Lee Fesperman

    CardLayout on JRE 1.4.2

    Lee Fesperman, Jul 4, 2003, in forum: Java
    Replies:
    0
    Views:
    363
    Lee Fesperman
    Jul 4, 2003
  2. AJ
    Replies:
    2
    Views:
    327
    Wilhelm Stockhammer
    Jan 10, 2004
  3. steve

    problems with a cardlayout.

    steve, Nov 21, 2004, in forum: Java
    Replies:
    1
    Views:
    354
    steve
    Nov 21, 2004
  4. roadkill
    Replies:
    7
    Views:
    616
    roadkill
    Jan 9, 2005
  5. RedGrittyBrick

    Re: CardLayout & setting focus problem

    RedGrittyBrick, Feb 3, 2010, in forum: Java
    Replies:
    1
    Views:
    430
    John B. Matthews
    Feb 3, 2010
Loading...

Share This Page