JTree- Seperate ToolTipText for open and close icon

Hi,
I want seperate tooltiptext for open and close icon.
for Open icon, it has to be "click to view subprocesses"
for close icon, it will be " click to vie process"
Thanks in advance
Pankaj

Use a customized TreeCellRenderer:
    class Renderer extends DefaultTreeCellRenderer {
        public Component getTreeCellRendererComponent(JTree tree,
                                                      Object value,
                                                      boolean sel,
                                                      boolean expanded,
                                                      boolean leaf,
                                                      int row,
                                                      boolean hasFocus) {
            super.getTreeCellRendererComponent(
                            tree, value, sel, expanded, leaf, row, hasFocus);
            setToolTipText(expanded ? "Click to view subprocesses" : "Click to view process");
            return this;
    }

Similar Messages

  • Reg:T-CODE for open and close period for materials(new plant).

    hi sap guru's
    T-code for following process
        can anybody send me , how to create calendar to new plant . and what is the T-code to be use for open and close period of materials for new plant.
    thanks
    sakthi..

    Hi Sakthi,
    I am assuming that you are asking about the factory calendars which are assigned while difing the plant.
    Factory calendars are created through transaction "SCAL".
    Opening and closing of MM periods can be done through transaction MMPV.This is based on the company code.Before using MMPV ,you can look the last opened period in the transaction MMRV.
    Reward points if it helps.
    Regards
    Karan

  • Authorization check for Open and Close Periods ( OB52)

    Dear Experts,
                           We have created ZOB52 for Opening and closing periods. This is replica of Tcode: OB52 with some other developments that we required. Here for resticting user I had tried authorization Object: F_BKPF_BUP for particular company code wise posting. This was however not working. Kindly suggest.

    Hi,
    The last column in OB52 - AuGr (Authorization Group) helps you in restricitng certain users to use a posting period. This field is freely definable.
    If only a limited set of users is to be able to post in a particular posting period, proceed as follows:
    Add the posting period authorization (authorization object F_BKPF_BUP) to the authorizations of the selected users. Assign an authorization group (e.g. '0001').
    In OB52,  in the row with the account type '+', enter the period(s) whose use is to be restricted in the first period, those which are available to all users in the second period, and the authorization group (e.g. '0001') in the last column.
    For company code wise restrictions, you should have a seperate posting period variant for each company code.
    Edited by: Michael Gerard Leo on Jan 12, 2010 2:55 PM
    Edited by: Michael Gerard Leo on Jan 12, 2010 3:01 PM

  • I need the code for creating popup windows and code for open and close

    I can write the code for creating popup window , i am getting problem while trying to open and closing that popup windows.
    Can anybody help me in that pls ?
    Regards
    Sreeni.

    Hi
    For pop up window
    IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("PopWin");
    IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);
    window.setWindowPosition (300, 150);
    window.show();
    wdContext.currentYourNodeElement().setPopupAttribute(window);
    For closing window code
    IWDWindow window = wdContext.currentYourNodeElement().getPopupAttribute();
    window.hide();
    window.destroyInstance();
    For more infornation refer this link
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20d2def3-f0ec-2a10-6b80-877a71eccb68&overridelayout=true
    This link is very useful for you.
    Regards
    Ruturaj
    Edited by: Ruturaj Inamdar on Aug 13, 2009 9:10 AM

  • Open and close posting period authorization control TCODE: S_ALR_87003642

    HI All,
    Is there any chance to control the user to open and close another company code posting period variant in TCODE: S_ALR_87003642.
    In our system we are using the same client for different countries. So user can able to change the other country company code posting periods.
    We would like to control either on the country (or) organizational unit(company code) (or) posting period variant so that user can only open/close  their country / company code posting periods.
    Our present authorization role for open and close posting period contain the auth.Obj. : S_TABU_DIS.
    Please share your knowledge if you come across this problem..
    Thanks in advance..

    Hey Sandhya,
    Congratz, this can be done using linbe item authorization with the object S_TABU_LIN.
    Field ORG_CRIT - Value 02
    Field ORG_FIeld1 - Value ZT001B
    We have successfully done it in our client.
    You need to contact your BASIS consultant for this.
    Thanks,
    Nitish

  • My iPhone camera will not open up. When I press on the icon it open and closes quickly. When I open it from my home screen it reboots my phone. What should I do?

    My iPhone camera will not open up. When I press on the icon it open and closes quickly. When I open it from my home screen it reboots my phone. What should I do?

    Tried that and it still isn't working. Not sure if it's software thing but I just noticed when I swipe up my control center the flashlight option is not available as well. I'm not sure why this is. I have a 5s with the newest software. That's for the suggestion

  • When I click on the pinned Firefox icon it only opens and closes one window rather than opening a new window.

    It used to be that every time I clicked on the pinned Firefox logo in the taskbar a new window would open. Now when I click the pinned logo it only opens and closes one window.

    hello, this seems to me like intended behaviour - all other open programs behave the same way, a click on the pinned icon minimizes them, another one brings them back to the foreground.
    you can open a new window by right-clicking on the firefox icon & selecting that option. the keyboard shortcut for it would be ctrl+n, or you can also [[Customize Firefox controls, buttons and toolbars|add a "open new window" button]] onto the firefox user interface.

  • Any way to see ICONS in Open and Close Dialog boxes?

    Is there any way to see ICONS in Open and Close Dialog boxes, instead of just lists of items names?
    I know you can preview one at a time, but I'd love to see all my artwork as picture icons, just as you can in a finder window.
    Windows does this, but not OSX that I know of. Is there a third party app that enables you to see icon view in the Open and Close Dialogs?

    Thank you Steve Jobs. I guess that feature has been added in Leopard. Now there really is nothing that I'll miss from Windoze.

  • Can we open and close Posting period for HR module

    Dear All ,
    Can someone please tell me is there any option available to open and close Posting period for HR Module.We have In Finance and MM.
    Cheers
    Balaji Dhanavel

    check
    the report RPCIPE00 useing SE38
    can u be some wht clear of ur query once

  • How to open and close posting period for both material  , n invoicing

    HI
    how to open and close posting period for both material  , n invoicing , AM NEW TO SD , SO ALL DOUBTS I DO POST IN HERE PLEASE DONT MIND

    Hi Sunaina
    Period Open T.code: MMP1
    Period Close T-Code: MMPV
    Automate the opening of MM periods 
    How can you automate the monthly opening of MM periods (transaction MMPV - program RMMMPERI) with 
    SM36?
    RMMMPERI accepts a period/year or a date.
    If you enter a date the period is derived by it.
    1. create a variant and check the attribute 'selection variable' for the parameter date. Then click the button 'Selection variables' and set the current date. Every time this variant is used the parameter DATE is filled with the current date.
    2. create a job for RMMMPERI with the variant created in the preceding step. Set it as periodic.
    If you're not using a fiscal year variant simply schedule it as monthly (to be executed the first day of the month).
    If you are using a fiscal year variant you'd have to define a calendar with only the first day of each period defined as working 
    day and use it in the periodicity restrictions.
    Another possibility:
    Write a very simple ABAP which run daily to check if the period has changed and submit RMMMPERI.
    Reward if useful to u

  • Is an Open and Close Stmt of some kind mandatory for BDC?

    If so what is the quickest way to code it? I am restricting a batch in an interface. In the same interface I unrestrict but it does not work. I am using BDC. I am thinking I may be missing some syntax for open close in my BDC.
         Thank-you

    With out open and close Group function it is not possible to create the sessioon and not possible to use the BDC session method. only when you open the session then only you should insert and close the Group.
    CALL FUNCTION 'BDC_OPEN_GROUP'.
    if Open = 'X'.
    CALL FUNCTION 'BDC_INSERT'.
    endif.
    if open = 'X'.
    CALL FUNCTIOn 'BDC_CLOSE_GROUP'.
    endif.

  • Apps in iPad 1 open and close quickly

    Hello,
    My mother has an iPad 1 (she has her own itunes account) but had never synced and updated her iPad with a computer (pc or mac).
    Today I had to use it and connected to my iTunes on the pc but only to update her iOS on the iPad wich was 3.x. After the whole update process (wich went normal and smooth) almost every app that I woud open, closed imeadtly. I say ALMOST because, a few from the default apps (like Mail, Photos, Safari, System, etc) opens normaly. Though iBooks doesnt and all 3rd party apps also doesnt open normaly.
    I've tryed to reboot it one more time thinking it was some kind of strange bug or something but didn't work. The apps continue to open and close almost instantly.
    I'd like to know if anyone had a similar problem and how they solved it or if my only resource is to roll back to the iPad backup made in my pc.
    Thanks in advance.
    Luis Felipe

    Try double-tapping the home button, then holding the app icon until the minus sign appears. Touch the minus sign to kill all the apps. Then restart the iPad with the home/power buttons (hold for ten seconds) until the apple appears.

  • App Eckhart on Emerson Tolle TV-Ipad  open and close quickly.

    Recently I purchased app Eckhart on Emerson Tolle TV-Ipad directly from App Store, once installed, an icon was created in my Ipad screen but when I try to open the application it open and close quickly.
    When I review installed applications this app does not appear.
    Actually I had installed ibooks, Numbers and pages. All other applications works fine.
    IOS release is 5.0.1 Spanish no update pending.
    In order to solve this issue i trying deleting  and reinstalling the app but the problem steel persist

    Try double-tapping the home button, then holding the app icon until the minus sign appears. Touch the minus sign to kill all the apps. Then restart the iPad with the home/power buttons (hold for ten seconds) until the apple appears.

  • Creative Cloud App open and close / crash immediately.

    Creative Cloud App open and close immediately on mac book pro.
    There is no error message.
    I just see cloud icon on top bar for few second and the it disappear and nothing happened.
    What  I done:
    reset and reinstal the CC App few times
    uninstall CC App and run a Adobe Cleaner Tool and clean CC App. The install again
    I have CS6 still installed on Mac and can't uninstall right now.
    MacBook Pro
    15-inch, Mid 2012
    Processor  2.3 GHz Intel Core i7
    Memory  8 GB 1600 MHz DDR3
    Graphics  NVIDIA GeForce GT 650M 512 MB
    Software  OS X 10.8.3 (12D78)
    Any solution ?

    Hi Harvester,
    I've been having this issue for a while, and I FINALLY got it to work.  For what it's worth, here's what I did.
    I was trying to send files from my laptop to my desktop and for some reason i saw that my desktop couldn't find my laptop.  I went to the Sharing settings and saw that under my "Computer Name" there was nothing there.  This may have happened due to my upgrade to Mavericks.  Once I placed filled that info in, and restarted my laptop.  Lo and behold, Creative Cloud and Growl started working side by side again
    This may not be your issue, but I thought I'd pass it along.

  • My macbook is going to sleep while I'm working or viewing something. I will sometimes have to open and close it several times to get it to "wake up" again. Any suggestions?

    my macbook is going to sleep while I'm working or viewing something. I will sometimes have to open and close it several times to get it to "wake up" again. Also, no sound comes out of my Macbook. I only hear with earbuds or headphones. Any suggestions?

    If you have more than one user account, you must be logged in as an administrator to carry out these instructions.
    Triple-click anywhere in the line below to select it:
    syslog -k Sender kernel -k Message CSeq "Previous Shutdown" | tail | open -f -a TextEdit
    Copy the selected text to the Clipboard (command-C).
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V).
    The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear.
    A TextEdit window will open with the output of the command. Post the contents of that window, if any — the text, please, not a screenshot. The title of the window doesn't matter, and you don't need to post that.

Maybe you are looking for