Fire  the ToolTip in different way

HI Coders
I've extended Jpanel and I draw an Image inside it so that Jpanel is the viewport of the image.
In usual circumstances when i mouse over the image's viewport the ToolTip execute ,but in my case I need to execute the ToolTipText without actually mouse over the image's viewport, instead I need to press a button which in turn execute the ToolTipText that registered with that image�s viewport.
I was thinking about dispatching mouse event but it must be more ways, How can I provide such a performance in efficient way?
Does the Jpanel able to capture mouse event ?
(code please)
thanks in advance
Shay Gaghe

You can do this only by implementing the MouseListener and coding the change in tool tip loginc in either, mousepressed or mouseclicked event.

Similar Messages

  • Trying the question a different way -Ical function question

    I just got the new phone and the calendar function does not seem to match the Iphone 3. I can not find the option for inviting attendees to a scheduled meeting event. This is true of existing calendar events I am trying to change, as well as new ones I am adding.
    Anyone have advice? User error… or is it really missing in the upgrade?

    hmm, I confess, I did this before installing 10.5.2 so i can't say for sure. However, I've dealt with a few people (see e.g. this [thread|http://discussions.apple.com/thread.jspa?messageID=7012957]) who are running 10.5.2 and still have this issue. I don't know what if anything 10.5.2 did about this but I'm quite sure that it didn't change the group structure inherited from Tiger.
    Message was edited by: V.K.

  • Round the value in different ways

    hi all,
    I have a column of number datatype and values are
    column_number
    10923
    1253
    4326
    2003
    501
    But i want the values should be rounded like this
    column_number
    11000
    1300
    4400
    2100
    600
    I want a query for any precision value(as here -2).
    Thanks
    sanjay

    select n, ceil(n/100)*100 r from
    ( select 10923 as n from dual union all
      select 1253 as n from dual union all
      select 4326 as n from dual union all
      select 2003 as n from dual union all
      select 501 as n from dual)
        N      R                       
    10923  11000                      
    1253   1300                       
    4326   4400                       
    2003   2100                       
      501    600                         Flavio
    http://oraclequirks.blogspot.com

  • Iphone 4s freezing at start up then shuts off and keeps restarting then repeating that process over and over. I have tried to reset the phone two different ways and still this problem occurs after I update it or turn off the phone.

    yes the title says most of what is going on.
    I recently reset my phone, losing all contacts and pictures. It was working fine, then after I updated it, it will not turn on completely.
    It starts up with the apple logo
    -goes to the ios 6 (please slide to open) screen
    -then shuts off
    -and repeats the process unless I shut the phone off manually
    I have tried to hold the lock and the home button down to manually reset the phone
    I have also tried reseting the phone completely previously, and I still have this problem.
    Any ideas?
    Thank you!!

    I really don't have an answer for that one. I guess that while trying to get things working correctly, I would use the most basic monitor I had which in your case would be the Eizon using the Thunderbolt port and adaptor.
    When you boot into Safe Mode the startup is quite slow, but you should get the Apple logo and then the spinning gear below it (release the SHIFT key when it appears.) Then after a little more time you should see a gray progress bar appear below the spinning gear. When that disappears the computer will startup to a login screen.

  • Different way to aggregate Essbase: Cannot aggregate to parent level

    Hi,
    I used to use the following statement in BR to aggregate dimensions:
    FIX("Segment Allocation Base")
    FIX(@IDESCENDANTS("YearTotal"))
    @IDESCENDANTS("Total Company"); /*Total Company is member of spare dimension: Market Segments */
    ENDFIX
    ENDFIX
    The tree structure is like this:
    Market Segments (Never Share)
    |__ No Market Segments (Never Share)
    |__ Total Company (Never Share)
    |__Total Market Segments (Dynamic Calc)
    |__SC (Store) -> Level 0
    |__SE (Store) -> Level 0
    1. However, I found that the parent level cannot be aggregated. After I enter a value for Total Company (I think I am creating a block for Total Company), the above BR works.
    2. If I change the BR to the following statement, it works. I don't need to create the block first.
    FIX("Segment Allocation Base")
    FIX(@IDESCENDANTS("YearTotal"))
    AGG("Market Segments");
    ENDFIX
    ENDFIX
    Any gurus knows the difference about the above 2 different ways to aggregate? What's wrong with the first one?
    Thank you in advance.
    Casper

    Unless you wrote the first statement wrong. The reason the first one doesn't calculate is because it does absolutely nothing
    @idescendant is a declaration not a calculation
    Definition of @idescendant is: Returns the specified member and either (1) all descendants of the specified member or (2) all descendants down to a specified generation or level. You can use this member set function as a parameter of another function, where that parameter is a list of members.
    AGG is a calculation.
    So unless I'm reading it wrong you declare the children of Total Company and then do absolutely nothing. Therefore it has nothing to do with dense/sparse or blocks existing or not.

  • CSS Acts in different ways according to the logged in user.

    Hi All,
    I have used CSS within my Master Page i.e. Oslo. I have changed the SharePoint 2013s' default Start.aspx file as the new Sites' home page. I also used this CSS code snippet for creating a web menu because SharePoint's default navigation is rather odd. 
    However the menu within the master page was a success and I created several pages using the master page and each new page contains the CSS custom made web menu without any error.
    But when I logged using a different Farm Admin Account the CSS menu changes to a somewhat else. But when I logged in using the built in Administrator account the menu is displayed as it should be. But when I logged in as a different Farm Admin the menu is
    not showing as it should be. I have tried inserting the CSS directly to the Master Page and from the Style Library. Both ways are Ok with the built-in Administrator. But when I logged in using another Farm admin the use of Style Library was a useless thing
    and the direct code input method is was the only success one. The style library has all the permission for all users.
    The source code is at the below.
    <style type="text/css">
    .ms-navedit-editLinksText{
    display: none;
    /*This script part will remove the default SharePoint Navigation & the Site Name Sections **/
    ms-core-navigation {
    display:none
    body{
    width:absolute
    /* This CSS Snippet will style the Web Menu in the MasterPage. */
    /* CSS Document */
    /* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
    html,body, div, span, applet, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    a, abbr, acronym, address, big, cite, code,
    del, dfn, em, font, ins, kbd, q, s, samp,
    small, strike, strong, sub, sup, tt, var,
    dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend,
    table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
    :focus {/* remember to define focus styles! */
    outline: 0;
    ol, ul {
    list-style: none;
    table {/* tables still need 'cellspacing="0"' in the markup */
    border-collapse: separate;
    border-spacing: 0;
    caption, th, td {
    font-weight: normal;
    text-align: left;
    blockquote:before, blockquote:after,
    q:before, q:after {
    content: "";
    blockquote, q {
    quotes: "" "";
    a img {
    border: 0;
    article, aside, details, figcaption, figure,
    footer, header, hgroup, menu, nav, section {
    display: block;
    .clear {
    clear: both;
    h1 {
    font-size: 18px;
    h2 {
    font-size: 16px;
    /* Lay out design */
    /************** start menu design *************/
    #mainMenu {
    width: relative;
    height: 80px;
    background: url(http://pc/PublishingImages/SitePages/Home/menu-bg.png) repeat-x;
    #main-Menu ul {
    padding-left:10px;
    #main-Menu ul li{
    top: 20px;
    background-color: #4e34ee;
    float: left;
    display: block;
    text-align: center;
    margin-left: 5px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 4px 4px 0px 0px;
    border-radius: 4px 4px 0px 0px;
    /* Tab Content - menucool.com */
    ul.tabs
    padding: 7px 0;
    font-size: 0;
    margin:0;
    list-style-type: none;
    text-align: center; /*set to left, center, or right to align the tabs as desired*/
    ul.tabs li
    display: inline;
    margin: 0;
    margin-right:7px; /*distance between tabs*/
    ul.tabs li a.tab1
    font: normal 15px Calibri;
    text-decoration: none;
    padding: 16px 16px;
    border: 0px solid #CCC;
    border-bottom-color:#B7B7B7;
    color: #000;
    /*background: #F0F0F0 url(http://pc/PublishingImages/SitePages/Home/menu-sep.png) 0 0 repeat-x;*/
    background-color:#0072c6;
    border-radius: 4px 4px 0 0;
    outline:none;
    text-align:center;
    ul.tabs li a.tab2
    font: normal 15px Calibri;
    text-decoration: none;
    padding: 16px 16px;
    border: 0px solid #CCC;
    border-bottom-color:#B7B7B7;
    color: #000;
    /*background: #F0F0F0 url(http://pc/PublishingImages/SitePages/Home/menu-sep.png) 0 0 repeat-x; */
    background-color:#00aa9e;
    border-radius: 6px 6px 0 0;
    outline:none;
    ul.tabs li a.tab3
    font: normal 15px Calibri;
    text-decoration: none;
    padding: 16px 16px;
    border: 0px solid #CCC;
    border-bottom-color:#B7B7B7;
    color: #000;
    /*background: #F0F0F0 url(http://pc/PublishingImages/SitePages/Home/menu-sep.png) 0 0 repeat-x; */
    background-color:#00adc6;
    border-radius: 6px 6px 0 0;
    outline:none;
    ul.tabs li a.tab4
    font: normal 15px Calibri;
    text-decoration: none;
    padding: 16px 16px;
    border: 0px solid #CCC;
    border-bottom-color:#B7B7B7;
    color: #000;
    /*background: #F0F0F0 url(http://pc/PublishingImages/SitePages/Home/menu-sep.png) 0 0 repeat-x; */
    background-color:#00adc6;
    border-radius: 6px 6px 0 0;
    outline:none;
    ul.tabs li a.tab5
    font: normal 15px Calibri;
    text-decoration: none;
    padding: 16px 16px;
    border: 0px solid #CCC;
    border-bottom-color:#B7B7B7;
    color: #000;
    /*background: #F0F0F0 url(http://pc/PublishingImages/SitePages/Home/menu-sep.png) 0 0 repeat-x; */
    background-color:#0072c6;
    border-radius: 4px 4px 0 0;
    outline:none;
    ul.tabs li a.tab6
    font: normal 15px Calibri;
    text-decoration: none;
    padding: 16px 16px;
    border: 0px solid #CCC;
    border-bottom-color:#B7B7B7;
    color: #000;
    /*background: #F0F0F0 url(http://pc/PublishingImages/SitePages/Home/menu-sep.png) 0 0 repeat-x; */
    background-color:#00aa9e;
    border-radius: 6px 6px 0 0;
    outline:none;
    ul.tabs li a.tab7
    font: normal 15px Calibri;
    text-decoration: none;
    padding: 16px 16px;
    border: 0px solid #CCC;
    border-bottom-color:#B7B7B7;
    color: #000;
    /*background: #F0F0F0 url(http://pc/PublishingImages/SitePages/Home/menu-sep.png) 0 0 repeat-x; */
    background-color:#8dc63b;
    border-radius: 6px 6px 0 0;
    outline:none;
    ul.tabs li a.tab8
    font: normal 15px Calibri;
    text-decoration: none;
    padding: 16px 16px;
    border: 0px solid #CCC;
    border-bottom-color:#B7B7B7;
    color: #000;
    /*background: #F0F0F0 url(http://pc/PublishingImages/SitePages/Home/menu-sep.png) 0 0 repeat-x; */
    background-color:#ab23cd;
    border-radius: 6px 6px 0 0;
    outline:none;
    ul.tabs li a.tab9
    font: normal 15px Calibri;
    text-decoration: none;
    padding: 16px 16px;
    border: 0px solid #CCC;
    border-bottom-color:#B7B7B7;
    color: #000;
    /*background: #F0F0F0 url(http://pc/PublishingImages/SitePages/Home/menu-sep.png) 0 0 repeat-x; */
    background-color:#00adc6;
    border-radius: 4px 4px 0 0;
    outline:none;
    ul.tabs li a:visited
    color: #000;
    ul.tabs li a:hover
    border: 1px solid #B7B7B7;
    background:gray 0 -36px repeat-x;
    ul.tabs li.selected a, ul.tabs li.selected a:hover
    top: 0px;
    font-weight:bold;
    border: 1px solid #B7B7B7;
    border-bottom-color: white;
    ul.tabs li.selected a:hover
    text-decoration: none;
    #sub1{ background: #e3d0e6; }
    #sub2{ background: #00adef; }
    #sub3{ background: #8dc63b; }
    #sub4{ background: #8dc63b; }
    /************** end menu design *************/
    </style>
    The web menu is at the below.
    <!------ Web Menu ------>
    <div id="mainMenu">
    <ul class="tabs" data-persist="true">
    <li><a href="http://pc/SitePages/Home.aspx" class="tab1"><b>HOME</b></a></li>
    <li><a href="http://pc/Pages/IT-Help-Desk.aspx" class="tab2"><b>IT HELP DESK</b></a></li>
    <li><a href="http://pc/Pages/Electronic-Forms.aspx" class="tab3"><b>ELECTRONIC FORMS</b></a></li>
    <li><a href="http://pc/Pages/Contacts.aspx" class="tab4"><b>CONTACTS</b></a></li>
    <li><a href="http://pc/Budget/Forms/AllItems.aspx" class="tab5"><b>DOCUMENTS STORAGE</b></a></li>
    <li><a href="http://pc/Pages/Image-Library.aspx" class="tab6"><b>IMAGE LIBRARY</b></a></li>
    </ul>
    </div>
    <!------ End of Web Menu ------>
    I cannot figure the error I am facing. Could someone help me to solve this matter ?
    Thank You,
    Regards,
    Chiranthaka

    I haven't seen this issue before. What I would do is, log in as each user then view the source of the page in the browser (right click the page and click "View Page Source" from the context menu, or use developer tools/firebug in the browser). Compare
    the HTML generated for the menu for each user and see if any other CSS classes get applied. My gut is that another class is being applied for the other users, or the HTML is different in some way.
    Brandon Atkinson
    Blog: http://sharepointbrandon.com

  • Two separate versions of the same file corrupted in different ways...

    I was working on a Photoshop CS4 file last night that was created in CS4 and has only been opened on this machine in CS4. I saved the file and closed Photoshop. When I open the file today, all my layers are gone, flattened into one Background layer, and the image looks like colored TV static. On top of that, the separate, older version of this file with a different name (created earlier in the week on the same machine in the same CS4) will not open at all - I get the error message, "Could not complete your request because the file is empty" and the file size has mysteriously shrunk to 76 KB from 20+ MB. What happened?! I'm guessing these files are corrupted beyond recovery, but why and how did this happen? Has anyone had this or a similar problem? I want to know how to prevent this from happening in the future. Please help! Thank you. =)

    Thanks for the suggestion, Chris.
    Same issue, new question - don't ask me why I did this, but while both Photoshop and the now corrupted file were open, I changed the name of the folder containing the file, then continued to save the open version of the file without first closing it and reopening it from the newly renamed folder. Could this have caused both files in that folder to become corrupted in different ways? The other file that gives me the "file is empty" error was not open at the time, but it was in that folder. I'm thinking maybe by changing the path to the files while Photoshop was running, that could have triggered this. ?? I have 3 1TB internal drives raided to read as 1 drive, so I'm really hoping that one of these disks is not dying on me as you suggested. I was also backing up an external drive using BackBlaze when this all occurred - any possible connection? How can I find out if one of my three raided drives (and which one) might be going bad?
    Thanks!!

  • The tooltip pop up when hovering over a link gets in my way if something is at the very bottom lower corner of a page...

    .and I don't want to upgrade FF to what might be a beta version to get this status4eva addon!
    I prefer to keep my status bar visible as I have a weather addon and like to see up to the minute info on the temperature outside and I use foxclocks to keep track of timezones where online friends live.
    Now for what I'm talking about:
    For example, I'll go to Livejournal and some layouts have the "previous/next" link in the lower left(your left if you face the screen) corner where the tooltip pops up. Well, the pointer will spaz between becoming the pointer finger and an arrow, and the link becomes impossible to click. I can get around it by opening a new tab, but this is really annoying to have to open and close tabs constantly. I REALLY think the tooltip should just pop up across the status bar area itself if at all, because it seriously gets in my way.
    Yes, I am aware it will move to the right if it's still there when a page is loading and you move the mouse pointer down there. However, this is not the case if a page isn't loading and you're trying to click that "next" link at the bottom of a page.
    This is VERY annoying. Please look into it when upgrading FF further.

    A possible workaround could be to have the horizontal scroll bar visible all the time.
    <pre><nowiki>body { overflow-x: scroll !important; }</nowiki></pre>
    * Stylish: https://addons.mozilla.org/firefox/addon/stylish/

  • What are the different ways to upload file data to SAP? Please help

    Hi Experts,
       I have to transfer huge file data (few lakhs records) to SAP business transaction. What are the different ways to do the same? I have heard of BDC and LSMW. But are there any more options?
    Which option is best suited for huge file data?
    Is LSMW an old technology and SAP will not support it any more?
    Kindly answer my queries at the earliest.
    I will be greatful to you if you can help me.
    Thanks
    Gopal

    for uplodig data to non sap we have 2 methodes
    i) if u know bapi u will use lasm
    2) bdc
    but u mentioned so many records isthere
    best thing is u will uplode all record sto al11 using XI interface
    then u have to write bdc / lsmw  program
    beter to go for lsmw before that u will find bapi
    if u will unable to find bapi
    u have to create bapi and use it in lasmw
    ofter that u have schedule the lsmw program as a bockground
    then u have to create a job for it
    and release from sm 37
    then u have to moniter through bd87
    if u want to go through i will help u.
    if it is usefull to u pls give points
    Saimedha

  • What are the Different Ways of receiving Acknowlegements ?

    Hi Experts,
    Can you please let me know what are the Different Ways of receiving Acknowlegements from target system as a response to the Message sent from source system.
    As when we send Idoc to target system acknowledgement is sent through XI to Source system, what are the configuration steps required for it. Can we use Webservice or link which can be provided to target/customer system and acknowledgement is confirmed using this medium. Please suggest any possible option.
    Where I can find the related information or standard document about the same.
    Please guide.
    Regards,
    Nitin

    Hi ,
    Can you please let me know what are the Different Ways of receiving Acknowlegements from target system as a response to the Message sent from source system.
    System acknowledgments used by the runtime environment to confirm that an asynchronous message has reached the receiver.
    Application acknowledgments used to confirm that the asynchronous message has been successfully processed at the receiver
    These are of positive or Negative.
    As when we send Idoc to target system acknowledgement is sent through XI to Source system, what are the configuration steps required for it. Can we use Webservice or link which can be provided to target/customer system and acknowledgement is confirmed using this medium. Please suggest any possible option.
    This is based on your souce system to accept the ack, what is the protocol used to communicate with the source system.
    http://help.sap.com/saphelp_nw04/helpdata/EN/55/65c844539349e9b1450581ab44a5e6/frameset.htm
    Regards
    Harsha Paruchuri

  • What are the different ways to back up your photos from iphoto using a MacBook Pro which does not have a disk drive?

    What are the different ways to back up your photos from iphoto using a MacBook Pro which does not have a disk drive?

    Note - that no internet backup service has been proven to be safe and effective for backing up the iPhoto library - unless you personally have backup uyp an iPhoto library and restored it sucussfuly form one it should not be recommended - a large number of people have lost their photos trying it
    LN

  • TS2771 My ipod touch will not hare no matter what and I've tried many different cables and different ways to charge it. What should I do? If I complain to the Apple store co. will they replace my ipod for free?

    My ipod touch will not hare no matter what and I've tried many different cables and different ways to charge it. What should I do? If I complain to the Apple store co. will they replace my ipod for free?

    - See:
    iPod touch: Hardware troubleshooting
    - Try another cable
    - Try another charging source
    - Look at the dock connector on the iPod. Look for abnormalities like bent or corroded contacts, cracked or broken plastic.
    - Make an appointment at the Genus Bar of an Apple store.
    Apple Retail Store - Genius Bar

  • Is there a way to automate file creation based on a template with content in the file being different based on a list?

    That was very wordy and I can not at the time make it any better.
    I have a template of a decal. I want to make many of these decals but with a different name on each decal. Is there some way I can feed a list to Illustrator and have it automatically generate the decal files, with the text changed in each file to a name on the list? That way I don't have to open up the same template, 30, 40, 50 times and manually change the text content for every name I need.

    The Variable Data function should be the direction to take for this type of workflow.
    http://help.adobe.com/en_US/Illustrator/14.0/WS714a382cdf7d304e7e07d0100196cbc5f-6298a.htm l
    This link will give you a quick overview.
    http://help.adobe.com/en_US/Illustrator/14.0/WS714a382cdf7d304e7e07d0100196cbc5f-62a2a.htm l
    This is not something I do everyday. Only done this on a couple of jobs which had to have text change in a couple of places with a static background. I don't see a need for this function much with my current workflow, seems like the setup of the template file with variables takes longer than just creating the 12 or 15 files needed. But if you have to create 500 files from one template and can determine what variables need to change then this may be something you want to get good at.

  • HT3576 I have many apps where i must swipe down and it constantly brings down the notification screen. Is there anyway to disable this or activate it a different way because this really bugs me.

    I have many apps where i must swipe down and it constantly brings down the notification screen. Is there anyway to disable this or activate it a different way because this really bugs me.

    I don't have that problem.  Perhaps I touch the screen lower when I wipe down?  I don't know for sure but there's got to be some difference in the way that we wipe down.  you might wish to do some experimenting.

  • What are the different ways to transfer BAPIs from one company to another?

    Hello friends
    There are some ZBAPIs that we have written which has to be given to a partnering company.
    Instead of recreating the whole BAPIs and related structures and data elements etc.,, is there a way I can package them and send them.
    For example, on XI side I can export the mappings etc., to a tpz file which can be imported on a different server out side our network.
    Any suggestions or feedback will be greatly apprecited.
    Thanks
    Ram

    I am really sorry..
    I thought that people will be looking at the different areas of the forum based on their interest. So I thought of putting the question in other areas where I thought may get the attention of different people who have expertise in this area.
    Thanks for letting me know.
    Thanks a lot for the answer also. I appreciate it
    Ram

Maybe you are looking for

  • My ipod touch is not recognized in itunes and when i turn it on the screen just stays at the apple logo.

    Is there something i can do to fix it? Or should I just send it in to apple?

  • Why can't i set up my facebook account for sharing?

    Just upgraded to Mountain Lion, and I am trying to set up my facebook and twitter for sharing, but when I try to add my facbook in system prefernces, I cant find the facebook logo. All that is there is the following: Icloud Microsoft Exchange Gmail Y

  • Wireless not working after iPhone 2.0 upgrade

    I have the original iPhone and upgraded to 2.0 Friday night. No problems with the upgrade, but now I can't get onto any wireless network. It is not detecting networks and I am not able to manually add networks that I have access to. Seems others are

  • Reading xml tag

    i'm doing a chat application using smack API and when someone send me a message, i got these words <message id="PwIG5-6" to="attlzj1@voip1svr1/Smack" from="[email protected]/firestation" type="groupchat"><body>test</body><x xmlns="jabber:x:delay" sta

  • Swing class hierarchy

    Hi Guys, I am looking for an application which can give me the class hierarchy for a running Swing application. I am just a beginner and sorry if this is very dump to ask for :-) Thanks Raman