Page 2 of 2 FirstFirst 12
Results 21 to 26 of 26
  1. #21
    atrodeyo is offline Member
    Join Date
    Apr 2012
    Posts
    41
    Rep Power
    0

    Default Re: Please help me with the following code

    its the GridBagLayout, I have the button on that GridBagLayout

  2. #22
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,308
    Rep Power
    25

    Default Re: Please help me with the following code

    A layout is not a Container.
    If you don't understand my response, don't ignore it, ask a question.

  3. #23
    atrodeyo is offline Member
    Join Date
    Apr 2012
    Posts
    41
    Rep Power
    0

    Default Re: Please help me with the following code

    ok then it has to be the JPanel because thats what I initially extended

  4. #24
    atrodeyo is offline Member
    Join Date
    Apr 2012
    Posts
    41
    Rep Power
    0

    Default Re: Please help me with the following code

    dont quit on me please I know I am slow but I am trying my best to learn :-)

  5. #25
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,308
    Rep Power
    25

    Default Re: Please help me with the following code

    Think of the add and remove methods as going together. Use one to add a component to a container and the other to remove a component from a container.
    Where you call add() you can call remove()
    If you don't understand my response, don't ignore it, ask a question.

  6. #26
    atrodeyo is offline Member
    Join Date
    Apr 2012
    Posts
    41
    Rep Power
    0

    Default Re: Please help me with the following code

    ok I think I got this... I will appy this on my main program thanks a lot for your help

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 16
    Last Post: 01-31-2012, 08:36 PM
  2. Replies: 3
    Last Post: 08-10-2011, 09:17 AM
  3. Replies: 0
    Last Post: 08-07-2011, 08:32 PM
  4. Replies: 0
    Last Post: 02-21-2011, 11:50 AM
  5. Replies: 1
    Last Post: 04-26-2007, 03:52 PM

Posting Permissions

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