Results 1 to 2 of 2
  1. #1
    blug is offline Member
    Join Date
    Oct 2010
    Posts
    26
    Rep Power
    0

    Default GetComponent using Direction

    Hello, I was wondering how I would go about getting a component from Direction (Sort of like how you go jpanel.add(content, layout.NORTH);

    Am just curious because I am trying to remove a particular component from another class but am having trouble getting the particular objects I am after. Something like "remove(getComponentDirection())" would be good.

    Thanks

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is online now Moderator
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    9,937
    Rep Power
    16

    Default Re: GetComponent using Direction

    If this is about a container that uses BorderLayout, then go through the API for BorderLayout and check out the methods that have a return type of Component.

    db
    Why do they call it rush hour when nothing moves? - Robin Williams

Similar Threads

  1. Need direction please
    By kprofgold in forum New To Java
    Replies: 3
    Last Post: 01-06-2012, 05:45 AM
  2. Need Direction
    By johnjacob in forum New To Java
    Replies: 10
    Last Post: 06-16-2011, 06:45 AM
  3. Replies: 3
    Last Post: 10-12-2010, 12:01 PM
  4. random direction
    By i8java in forum Threads and Synchronization
    Replies: 5
    Last Post: 04-26-2010, 10:37 PM
  5. Looking for direction...
    By ewomack in forum New To Java
    Replies: 4
    Last Post: 09-13-2009, 11:00 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
  •