How do I insert a node and make the node below the inserted one it's child

Example: '+' indicates a parent and '�' indicates a chialed
root
+ a   
+ b
    - 1
    - 2
after insert:
root
+ a
+ B    <----- new insert
  + b
     - 1
     - 2

treeModel.insertNodeInto(node, (MutableTreeNode) parent, parent.getIndex(nodeToInsertAt));thanks,
Anil

Similar Messages

  • How can i repair my logo and make the fill transparent, in ID CC?

    I am first time user for InDesign CC how can i repair my logo and make the fill transparent, in ID CC?

    No I did it InDesign CC, ill try illustrator, but I was able to fill in with a light grey that made the other parts of logo stand out, so I may just leave it that way.

  • How could we delete transport request and task(the released one)

    Hello
    We have a released transport task(not request). Transport request is not released.
    How could we delete transport request and task(the released one). Namely we would not like to transport it to production

    Hi, never delete directly in table.
    There are more tables which depends each other...
    Here, you can find nice example how to do it: Help on ABAP: Few Tips for Transport Request Manipulation
    Using program: RDDIT076 and changing status.

  • HT1918 i can not change the address from USA to Canada so i live in Canada now How can i do that? or if i can not change How can i delete an account and make the new account by use the same email address?

    because i can not use the Canadian card to redeem in my account from USA. should i delete an account and create the new one that should valid in Canada by using the same email address? or what should i do? (i really want to use my recent email)

    Hi Kazmania89,
    Welcome to the Support Communities!
    If you require additional assistance with this, click on the link below for guidance:
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Once you are able to gain access to the old Apple ID, this article may be helpful:
    Using your Apple ID for Apple services
    http://support.apple.com/kb/HT4895
    I have purchased music, apps, or books with multiple Apple IDs. How can I get all of this content onto my iOS device?

    First, you need to copy all of your purchased content so it is on the same Mac or PC with iTunes. This computer should be the one you sync your device with. For more information on how to move your content, see these articles:
    Mac:  iTunes for Mac: How to copy purchases between computers
    PC:  iTunes for Windows: How to copy purchases between computers
    Next, authorize your computer to play content with each Apple ID in iTunes. Once your computer is authorized for all your content, it can be synced to your iPhone, iPad, or iPod touch. 
    Cheers,
    - Judy

  • How do you sync voice memos and make CD's of them?

    How do you sync voice memos and make CD's of them?

    When you sync the phone with your computer voice memos are copied to your iTunes library with the Genre "Voice memo".
    To burn to CD you do it the same way you would any music; create a playlist of the memo(s), the right click on the playlist and choose "burn to CD".

  • I was trying to make a new screen recording using quicktimeplay, but when I watched the video after recording it all I could hear was me talking while the video was showing on the screen. How do I turn off that recording and turn the right one on? thanks

    I was trying to make a new screen recording using quicktimeplay, but when I watched the video after recording it all I could hear was me talking while the video was showing on the screen. How do I turn off that recording and turn the right one on? thanks

    Hi j2399123,
    It sounds like your screen recording is doing what it was designed to do, capture what is happening on your screen, with optional voice over with the microphone.
    Screen recording is for recording what you see on the screen, it is not a "video capture" option, like for capturing a movie with sound that is playing on your screen.
    For the QuickTime recording options, check out "Recording with QuickTime Player" in
    Mac Basics: QuickTime Player creates, plays, edits, and shares video and audio files
    http://support.apple.com/kb/ht4024
    And for screen recording specifically, there's
    QuickTime Player 10.x: Record your computer’s screen
    http://support.apple.com/kb/PH5882
    Thank you for thinking of Apple Support Communities for your support needs.
    Nubz

  • How can I make the background one solid color?  It is too difficult and noticeable when I use the retouch button and try to erase all the creases in my backdrop.  So, how can I have just a solid white background?

    How can I make the background one solid color?  It is too difficult and noticeable when I use the retouch button and try to erase all the creases in my backdrop.  So, how can I have just a solid white background?

    When talking about a specific image posting the image may be useful.
    One can use a Layer Mask and add a white Layer underneath.

  • How do I fix my left shift key? Any open windows leave and make the desktop visible.

    How do I fix my left shift key? Any open windows leave and make the desktop visible. I have tired to go into system preferences and reset all of the keyboard settings to default but the issue hasn't gone away.

    You are not running as administrator, I think, which may be required and the only way to properly work and register. Also check for compatibility mode settings, UAC and DEP, all of which may require to be adjusted for a legacy app like PS CS2 to run properly. Also turn off Aero and switch to a conventional visual theme. The brush issue may be related to that or is a more generic problem with your graphics card and mouse config, but since you didn't provide any info on that, it will be hard for anyone to advise.
    Mylenium

  • I have alot of loose photos at home (old) and I would love to make a bunch of iphoto books and make the pages like whole page collages?  How do I get my photos into iphoto in order to do this?  Can I make a DVD at the drugstore and add them to iphoto?

    I have alot of loose photos at home (old) and I would love to make a bunch of iphoto books and make the pages like whole page collages?  How do I get my photos into iphoto in order to do this?  Can I make a DVD at the drugstore and add them to iphoto?

    You can make the collages easily if you have iWork.  Just open a letter sized page in landscape mode and drag the photos onto the page, rotate and postiion as necessary.  Then do a Print ➙ PDF ➙ Save PDF to iPhoto to get a 200 dpi jpeg version of the Pages page into iPhoto.  From there you can add it to your book and use a blank page with the option to have an image as the backbround. 
    If you have a 3rd party image editor that supports layers you can create the collage with it. 
    OT

  • How to import and make the content of the original PDF document editable and preserves the pdf appearance and retains existing fields and formatting in LiveCycle

    Can someone tell me how I can see my content (artwork and text) after I import  it into LiveCycle Designer ES4?  I like to import and make the content of the original PDF document editable; preserves the pdf appearance and retains existing fields and formatting, then allow me to do the modifications and save it back into the original PDF document with changes. I have tried everything but still cannot see my content(artwork and Text) of my original PDF after importing it into LiveCycle. All I see are is a blank page with the formatting and layout of where my artwork and text should be. I like to see everything if possible so after I make my change I will know how it will look when I save it back into the PDF and open it in Acrobat Reader.

    Can someone tell me how I can see my content (artwork and text) after I import  it into LiveCycle Designer ES4?  I like to import and make the content of the original PDF document editable; preserves the pdf appearance and retains existing fields and formatting, then allow me to do the modifications and save it back into the original PDF document with changes. I have tried everything but still cannot see my content(artwork and Text) of my original PDF after importing it into LiveCycle. All I see are is a blank page with the formatting and layout of where my artwork and text should be. I like to see everything if possible so after I make my change I will know how it will look when I save it back into the PDF and open it in Acrobat Reader.

  • How do I take a photo and make it the shape of the object I choose, eg. oval, etc?

    How do I take a photo and make it the shape of the object I choose, eg. oval, etc?

    I am not in front of a Mac at the moment but believe it is:
    select the image > Menu > Format > Mask with shape > choose oval
    Peter

  • How to clean up my mac and make it run faster

    I want to know how to clean up my mac and make it run faster.. seems very bogged down lately and doesnt do stuff very fast anymore..

    macworld.com/mac-troubleshooting-what-to-do-when-your -computer-is-too-slow.
    Basically... Make sure you have enough Free Hard Drive space for your Mac to Perform as expected...
    This is what Apple has to say.
    http://support.apple.com/kb/PH10798
    More Info Here...
    ds store  >  Why is my computer slow?
    Thomas A Reed  >  Mac Performance Guide
    To keep your Mac Happy... See Here...
    http://support.apple.com/kb/HT1147
    http://www.thexlab.com/faqs/maintainingmacosx.html
    Mac OS X: About background maintenance tasks

  • How to create website on iweb and make it public, and tell me how to put a password on it.

    Hi, can you tell me how to create website on iweb and make it public, and tell me how to put a password on it, thanks.

    Find a webhosting company :
    http://www.google.jo/search?q=webhosting+jordan
    They will provide the instructions how to password protect a directory (=folder)?
    Until you find one, you can practice on your own computer :
    http://www.wyodor.net/Tutorials/iWebDemo/sFTP.html
    Here's a some tutorials :
    http://www.apple.com/findouthow/web/

  • I created a new collection and put all of my same photos in them as a previous collection, then I changed them to black and white and both collections changed. How do I keep the first collection colour and make the second collection black and white.

    I created a new collection and put all of my same photos in them as a previous collection, then I changed them to black and white and both collections changed. How do I keep the first collection colour and make the second collection black and white.

    For the second collection, choose the option to make virtual copies. Then you can turn the virtual copies to black & white, leaving the first collection in color. If you want file copies of the B & W images you can export copies.

  • How to save a list template and make use of it in another website as webpart ?

    How to save a list template and make use of it in another website as webpart ?
    1. Save As "List A" as .STP
    2. Go to another website, in the document workspace I try to Add webpart -> Browse -> Upload the STP file, but after that the List A webpart still doesn't appear.
    Any clue which part went wrong? 

    Hi,
    firstly you need to upload the .STP file to a list solution gallery of the site and then you can add the list (under custom name) to the webpage
    see here for how to-
    http://office.microsoft.com/en-us/sharepoint-server-help/copy-or-move-a-list-by-using-a-list-template-HA101782479.aspx
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • How to Configuration Boleto and make the files  - Bank Itau00FA   - Brazil

    Hi, Friends
    I need to configuration a bank since the beginning until to make a boleto and and make the files to send to the bank.
    I am alone in the customer and I do not have anyone  to help me.
    Thaks a lot.

    HEllo,
    The main transaction you'll use is FBZP. In this transaction you'll configure the payment method and the RFFO* program or PMW format you'll use.
    The main RFFO* programs are RFFOBR_V and RFFOBR_D.
    If you read the documentation of the programs (se38 -> program name -> documentation) you can see the steps you must perform in order to use the program.
    If you're going to use PMW you should check the  FEBRABAN_P format.
    After doing all the configuration steps you should create a variant for the print program and depending on your business requirements you shoulda add this to the last tab of F110.
    Regards,
    Renan

Maybe you are looking for