How do a reference a container from one of its objects?

If i have on object in a container, how do i reference the
container from inside the object. For instance, if i have
a textbox and i want it to change color depending on
a value in the container, how do i get to the container.
thanks for any help
owen brandon

If you are asking about AWT or Swing, the Component class has a getParent() method that returns a Container.

Similar Messages

  • How do i reference a container from inside an object.

    if an object is in a container, how does the object
    fetch a value stored in the container. do you
    have to pass a reference to the container when you
    create the object. In Visual Foxpro it is easy, you
    this go
    value = THIS.PARENT.GetValue().
    what is the best way to do this in java?
    thanks for any help
    owen brandon

    I'm not sure what you're getting after -- maybe you could explain your actual setup.
    Taking a SWAG:
    If you have a textfield within a panel, you just reference the textfield directly. The container is just for visual organization.
    If you have a textfield in a different frame, you need to make the textfield public (i.e. no access modifier) or you need to make the textfield private and provide accessor (and maybe a mutator) method for it (i.e. create your own getValue(Object component) method to grab the data.

  • How do I move imove content from one user to another on the same computer?

    We bought our Macbook pro about six months ago. We made the mistake of creating two users for it (my husband and myslef) but bow we only log in under my user name. The problem is we originally imported all of our video camera content to his "log in" and now it is in his imovie folder, and not mine. I want to make a movie on my log in with the fottage that we imported to his. So, how do I get video content from one users login on the SAME computer to the other log in users? I cannot seem to move it for the life of me. I did not expect this to be so difficult.

    Hi,
    You need to log into his account and look, under the Movies folder, for iMovie Events. Inside, you'll find folders with the events names and still further will be the movie itself. Copy each to an external media or use the Shared folder so both accounts can reference them.
    Another option would be to attach an external HD and via iMovie (Events Library pane) move them to the new disk. You would preserve the thumbnails and analysis already performed on the videos.
    Good luck!

  • How can I script moving paths from one file to another?

    Hello. I have 1 image with various color correction layers. The other is the exact same size but only contains paths. How can I script moving paths from one file to another? Thanks, in advance, for any help you can offer. Thanks!

    Thanks! This one actually worked for me. Thanks for your help.
    http://forums.adobe.com/message/3305389#3305389

  • How do I transfer a clip from one project to another?

    How do I transfer a clip from one project to another?
    [Title edited to remove personal information... Mod]
    [personal information removed... Mod - https://forums.adobe.com/docs/DOC-3731]
    [This is an open forum, not Adobe support, please do not post personal information]

    Gene
    Thanks for the reply.
    For now assuming that you are using Premiere Elements 11, 12/12.1, or 13/13.1 on Windows 7, 8, or 8.1 64 bit....
    I am not sure that Left and Right channel audio editing is the answer to your DVD echo issue, but the opportunities for audio channel editing in Premiere Elements would include (before burn to)
    1. Audio Mixer - Balance.
    2. fx Effects/Audio Effects
    Please refer to https://helpx.adobe.com/premiere-elements/using/effects-reference.html#audio_effects
    for explanations of the Audio Effects.....
    Balance
    Channel Volume
    Left Fill, Right Fill
    Invert
    Swap Channels
    And, there is the free audio editor, Audacity Audacity: Free Audio Editor and Recorder for channel editing.
    Do you hear the echo before the burn to disc?
    Is any of the Timeline video content from your cell phone? If so, did you have any issues with a variable frame rate when you were preparing the video in Edit area for burn to in Publish+Share?
    What audio effects, if any, did you apply to the Timeline audio content prior to burn to?
    Please consider.
    ATR

  • HT1349 How do I copy my playlists from one computer to another?

    How do I copy my playlists from one computer to another? Both Acer.

    The playlists are contained in the iTunesLIbrary.itl file.
    If you are moving your library from one computer to another, simply copy the ENTIRE iTunes folder from the old computer to the new computer.

  • How do I copy and paste from one page or file to another page or file - on the same screen?

    How do I copy and paste from one page or file to another - on the same screen?

      Open both of your images in the Editor. Click on the image you want to copy and press Ctrtl+A (select all) followed by Ctrl+C (copy) then click the tab for your other image and press Ctrl+V (paste)
    Alternatively click on your background image then simply drag the second image from the photo/project bin and drop it into the main editor workspace on top of the background image. Use the move tool to position and the corner handles of the bounding box to scale.

  • How we can get the values  from one screen to another screen?

    hi guru's.
         how we can get the values  from one screen to another screen?
              we get values where cusor is placed but in my requirement i want to get to field values from one screen to another screen.
    regards.
      satheesh.

    Just think of dynpros as windows into the global memory of your program... so if you want the value of a field on dynpro 1234 to appear on dynpro 2345, then just pop the value into a global variable (i.e. one defined in your top include), and you will be able to see it in your second dynpro (assuming you make the field formats etc the same on both screens!).

  • How to EXPORT a concurrent program from one instance to another

    Hi,
    I am new to EBS.
    How to EXPORT a concurrent program from one instance to another. I dont want to use FNDLOAD.
    Is there any other way from where we can export the concurrent program to anothere instance from CLIENT connection server.
    Thanks
    Asis

    Hi;
    What is EBS version? Why you dont use FNDLOAD?
    Pelase see below thread
    Move concurrent program to prod
    Move concurrent program to prod
    Regard
    Helios

  • How do i move a file from one external drive to another

    This is my first Mac computer and I have no idea how to move/copy a file from one external hard drive to another? It won't let me drag and drop from one Finder window to another and there is no copy/paste option on the left mouse click.

    mediamagnate03 wrote:
    This is my first Mac computer and I have no idea how to move/copy a file from one external hard drive to another? It won't let me drag and drop from one Finder window to another and there is no copy/paste option on the left mouse click.
    That is because it is on the Right Click, and the menu.

  • How do I move Contacts & Calendar from one User to another User on the same Macbook Pro?

    How do I move Contacts & Calendar from one User to another User on the same Macbook Pro? OSX 10.9.5

    is this second library in a different account on the computer?
    Look at Home Sharing.
    iTunes: How to share music and video - http://support.apple.com/kb/HT2688 - about Music Sharing and Home Sharing
    Home Sharing Support page - http://www.apple.com/support/homesharing/
    iTunes: Setting up Home Sharing on your computer - http://support.apple.com/kb/HT4620
    iTunes Home Sharing now works between users on same computer - https://discussions.apple.com/thread/3865597

  • HT4528 how do i move an icon from one screen to another on my Iphone 5?

    How do I mov an icon from one screen to another on my Iphone 5?

    Tap and hold an Icon until they begin to shake. Move the Icon towards the edge of the screen and hold for a couple seconds. The Icon will then "jump" to the next screen.

  • How do I move a contact from one group to another?

    On my device, or in iCloud on the web, how do I move a contact from one group to another.  This should be as easy as it is with calender items, but the only solution I've found is to change your default contact group, and email the contact to yourself.  Then tap the contact, and add it to your contact list.  You can then delete the original.  Is there an easier way???

    Hi rjwrjw11,
    Thanks for visiting Apple Support Communities.
    If you want a song to be listed under a different album in iTunes, you can edit the song information:
    Fixing Incorrect Song or Album Listings in iTunes
    http://support.apple.com/kb/TA24677
    Editing Track Information in iTunes
    To view and edit a song or video's info in iTunes:
    Click once on the track title to select it
    From the File menu, choose Get Info
    Click the Info tab
    Best,
    Jeremy

  • How do I move vznavigator favorites from one phone to another?

    how do I move vznavigator favorites from one phone to another?
    Wife has Pre 2 where GPS works beautiful... my old Pre Plus was always hit or miss on GPS.
    But I've developed quite a library of favorites on my Plus.  How do I move these to our new Pre 2?

    Good afternoon CWFlink.
    I am a fan of the VZ Navigator myself, and all of the great features of this application!  Is the Palm Pre 2 on the same number as the Palm Pre Plus?  If yes, you can synchronize your Favorites through our website at the following link: VZ Navigator  
    You will sign in using your My Verizon login information, and sync the Settings and Favorites to your new device.  However, if your Favorites are on a different mobile number, you will have to manually enter in the information/ settings.  I still encourage you to use the website to set everything up as you like, in case you need to change devices in the future.
    I trust this information is helpful.  
    Thank you,

  • How do i move an app from one page to another

    how do i move an app from one page to another? When I upgraded to the latest software on my 4s, the camera went to the last page rather than remaining on the home page

    What Rudegar says is true, but it's a lot easier to rearrange icons in iTunes:
    Connect your phone and open iTunes. 
    Click on the Apps tab. 
    You will see your home screen in the main window, with the other screens in a scrollable column on the right. Scroll down and click on the last page to put it in main window. 
    Now scroll the column so the home page is visible on the right.
    Click on the Camera and drag it onto the home page at the right. 
    Be careful not to accidentally insert it into another app, thereby creating a group.

Maybe you are looking for