ToolTipText for an image

Hey all!
I've created a panel that contains 10 images in two rows of five, and i want to add tooltiptext to the images. It appears that there is no method to do such a thing, so i decided that one way to do it would be to draw a panel underneath each image and add the tooltiptext to that. However, the images are drawn in different places due to their height and width, making things a little tricky... i have a few quick questions:
Do you think that this approach is a good idea?
How would you go about drawing these panels, which layout manager would you use etc...
Thanks as always :)

JComponent (which is what JPanel is) contains the following method:
public String getToolTipText(MouseEvent event)
Returns the string to be used as the tooltip for event. By default this
returns any string set using setToolTipText. If a component provides
more extensive API to support differing tooltips at different locations,
this method should be overridden.(http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JComponent.html)
Your panel can figure out where the mouse is, and set the text to appear
in the tooltip accordingly.
It would be neater if each image was in its own component (JLabel).
That way each could have its own tooltip associated with it.
If you get stuck, post some code to the Swing forum.

Similar Messages

  • Adobe Bridge (CS6) - bulk action - JPEG Options must be OKed for every image

    Hi all-
    I created an action script for a watermark in Photoshop CS6. Then, I ran my script as a bulk action in Adobe Bridge (CS6) against my JPEGs. However, the JPEG Options dialog/window appears for every image in PS. Is there a way to have this automatically OK (and at the highest quality) so that I don't have to sit and click OK over and over?
    I am on a Mac btw.
    Thanks!

    Please help

  • Open Dialog box: disable image preview (For large images, it's SLOOOWWWW)

    Open Dialog box in column view:
    Can I disable image preview?
    For large images, it's SLOOOWWWW !!!!!
    ( I often work with 8000 x 3500 panoramic images )

    William
    Mostly this is a problem in PhotoshopOK, my Photoshop is still a Classic version. I was looking at one or two others, like GraphicConverter, but the only pref there seems to be to generate a Preview if one doesn't exist.
    I'll look some more—it's irritating me now

  • Data type for Saving Image in SQL database

    Hi,
        Which is the best way for saving images in the database? Filestream or Varbinary(max)?. Will the Varbinary max comsume much space or it will only take the actual size of the data?

    I've used FILETABLE for storing images in SQL 2012
    You can configure it to have transact and non transact access if you want
    see
    http://visakhm.blogspot.in/2012/07/working-with-filetables-in-sql-2012.html
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Is there a way to use a single bitmapdata for multiple images with GPU mode?

    With GPU mode is there a way to bring in a single 1024 X 1024 png containing all my sprites and then slice it up into multiple display objects all refering to the original BitmapData?
    I have an app that runs in GPU mode - but I want to optimize the image management.
    I am making three sets of images in the orders of 2048, 1024 and 512 px.
    The app is a book app and each page has around 4 to 5 bitmaps. I would like to bring in one single image and slice it up - but just refer to the original bitMapData in the memory.
    Is there a way to do this - e.g. using a masking technique?
    I think it is possible using textures in direct mode - but that is not an ideal solution for me - as the app is already in the appstore - and I would have to entirely refactor it for stage3D. Also I use very large bitmaps which have some masking animations applied to them dynamically: http://youtu.be/Nm0T1jLCTz8?t=42s
    Currently, I use jpgs and a jpeg mask file for each image which I composite to get the alpha - then I scale them.
    PNGs may be better for GPU - (no compositing) but they make for a huge app file.
    Now I am converting it to use diffent sized assets depending on the device, then scaling them if need, and then compositing them for apha.  What I was hoping was to find a technique that could reduce the number of bitmapdata objects used and reduce the operations in general. 
    Any thoughts on optimizing would be appreciated.  I can add my code here if it helps.

    Tell Apple:
    http://www.apple.com/feedback/iphone.html
    We're all users here, just like you.

  • How do use the same crop for multiple images.

    I have a number of images that I want to use the same crop on. Instead of go through the whole slow process for each image is there a way to use the same crop for all of the images?
    And in iPhoto there was a way to copy the adjustment settings to multiple images, I can't see how to do that in aperture.

    Use the "Lift&Stamp" tool:
    Crop one image.
    Lift the crop using the "Lift" tool.
    Select the other images.
    Stamp the crop adjustment to all of them.
    But caution: By default "Lift" will copy all Metadata tags and all adjustments, but the gps data. If you only want to transfer the cropping rectangle, deselect all lifted items but the crop adjustment before stamping.
    Regards
    Léonie

  • All of a sudden the screen on my iMac 10,1 is too small for the image. Can't figure out how to reduce the size of the Finder or any of the Apps.

    All of a sudden the screen is too small for the image. Hard to explain, but in order to see the entire Finder window, I must scroll the image up/down, left/right.
    It's not just the Finder though, all of the apps are affected this way too.
    It's probably got something to do with the fact that I have an HDMI cable running from the Mac to a Vizio 42" TV. It's been running this way just fine for over two months though.
    Any ideas?

    You probably accidently zoomed the screen.  Hold down CNTL while scrolling down with the mouse or trackpad to unzoom.  Cntl - scroll up to zoom.
    Regards,
    Captfred

  • I am using Adobe Pro 11 and on opening a pdf I am getting error 'Insufficient Data for an Image'. Please help and provide a workaround if the solution not there.

    Hi all,
    I am using Adobe Pro 11 and on opening a pdf I am getting error 'Insufficient Data for an Image'. Please help and provide a workaround if the solution not there.
    I have already set the preferences to for page view to low zoom settings, and page fit view settings, but it never opens the pdf. Please check and provide a solution asap.
    Thanks in advance!

    Most of the documents have sensitive info on them.  I will have to do some looking for some that i can share, but will get something to upload (dropbox) as soon as I can.
    Thanks for you help.

  • For a laptop for LR image loading on trips - is 1366x768 screen enough and HDD size?

    I have big pc and big screens for editing at home, but for travel am looking for a laptop for loading images on the road and basic LR sorting and tagging while away.
    2 questions to get your experiences, forum regulars, about my direction:
    1. 1tb HDD with an external 1tb HDD as backup - rather than 256 or 512 gb inboard SSD (reasons of $$$ and also to load all my images on a trip)
    2. 14 inch screen with 1366 x 768 or similar rather than full HD ($$$ reasons and becasue I figure I can zoom in to check focus on that screen just fine)
    Your comments and experiences?
    Oz

    It meets the minimum requirements for display size which is 1024 x 768
    I use a 15 inch Macbook Pro on the road, so pretty close in size.
    You may find this video useful on the subject of working away from base and exporting the laptop catalog into your master catalog when you get back.

  • ADD FILES FOR UPLOAD - IMAGE PATHS DO NOT WORK IN WIDGETS

    Hi There
    I'm trying to add my own images to a widget I bought from Qooqee - the Wrapper_v2 image slider. But when I try to add my own images with the image path it doesn't work. I've tried adding the image with 'Add Files for Upload' - and then using the full path which I get from right clicking on it in the assets panel - but it still doesn't work.
    Most of the widgets require you to either specify the image path, or an external URL. I do not want to use a third party image hosting site to get URL's for every image I want to use on the site - so I just need to know what I'm doing wrong with the Add files for Upload - why do my file paths not work in the widgets?

    Provide the name of the program you are using so a Moderator may move this message to the correct program forum
    This Cloud forum is not about help with program problems... a program would be Photoshop or Lighroom or Muse or ???
    Also, you need to ask for help from the widget maker

  • "Insufficient data for an image" when saving a file

    I'm running Acrobat 9.5.0 on a Macbook Pro running OS X 10.6.8.
    After scanning a document from my Canon MX882, or opening and editing an existing pdf I get the following error when I try to save the file:
    Insufficient data for an image
    When I try to save the file again, I get this:
    The document could not be saved. There was a problem reading this document (109).
    Sometimes the error also has (8) instead of (109).
    When this occurs, the thumbnail of the page appears correct in the left pane; however, the content of the page itself is entirely or partially missing.
    Any suggestions would be appreciated.
    -c

    I am also having this problem, especially with scanned documents. Since I need to download scanned documents in my work this is a big problem!Sometimes I can read but not save the document, sometimes one or two of the pages will be blank from the start. I have the latest version of Adobe Reader XI (11.0.10). I tried reducing the page zoom, a suggested workaround on this page: Acrobat: “Insufficient data for an image” error after updating to 10.1.4 or 9.5.2,  but that did not help at all. FWIW I use a Windows 8.1 PC with 4 GB RAM. I usually download PDFs from the internet using Firefox.

  • Disable link for a Image in Content editor web part

    Hi
    i want to disable hyperlink for a banner added using content editor web part. Instead of hiding using Target Audience, i want to disable the link.
    Please help me how can i achieve this?
    regards,
    Vinay
    Thanks and Regards, vinnu

    Hi Vinay,
    I recommend to disable the link for an image using Jquery in Content Editor web part.
    First, you need to use F12 tool in Internet Explorer(IE) to get the html tag for the image, and you’d better find the class or id value for the tag of the image.
    For example, if the class for the image is test, then the code should be:
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js"></script>
    <script type="text/javascript">
    $('.test').click(function(e) {
    e.preventDefault();
    </script>
    You can also paste the code of the image here for further research.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Error when opening legitimate documents "Insufficient data for an image"

    I work for a company who has sold "downloadable resources" via PDF for years now. We created a large batch of PDF documents in 2003 with
    Adobe Acrobat 6.0 paper capture, and these are all PDF 1.5 type documents. We've provided these resources for years, however just today we were notified by a user that upon downloading the file they get a message "Insufficient data for an image". These ARE NOT HACKED PDF's. and they worked fine until 9.0. I have tried 9.0 and 9.1, on multiple computers and have confirmed this issue.
    Now we are stuck with hundreds of PDF's that won't open in 9.x.
    I did try downloading a free demo of "PDF-TOOLS" Recovery & Analysis tool, and I open the file using that program, scan the file - TELLS ME ALL IS OK, then resave it using that program.
    Only then can I open it in 9.x.
    What are we to do now short of buying a $200 tool and taking perhaps several days of time to open and save hundreds of "previously working" PDF files???

    RollingRocker, did you ever get a solution for this? I am having the same problem. I produce a pdf using a JSF third party api called flying saucer, which actually uses itext to produce the pdf. I can attempt to produce the same exact pdf over and over and about 85% of the time the error occurs and the rest of the time the pdf opens successfully with no error. Obviously 15% of the time the reader is completely happy with this pdf, so it is not a malicious document in any way.

  • White balance for infrared images

    Hello there,
    I love making infrared photos with my digital camera (Canon dSRL).
    When I take an IR shot, I usually set the custom white balance inside the camera, so that false colours appear correctly. If I open the CR2 RAW file using the software provided by Canon (Digital Photo Professional) the image appears correctly; on the contrary, if I use Adobe Camera Raw (which I prefer to) it seems that my custom white balance is not properly displayed.
    So I'm wondering if this is an issue of CR or there is something to do that I don't know. Can you help me?

    This tutorial by Sean MacCormick shows how you can edit the camera profile so that White Balance for IR images is brought within the adjustment range that Camera Raw and Lightroom http://lightroom-blog.com/2009/05/creating-ir-camera-profile.html

  • Edit capture time doesn't work for multiple images

    Hi all, hope you can help me.
    I'm trying to edit capture time for multiple images. I select the images using the grid view, and go to Metadata>Edit Capture Time>Adjust to Specified Date and Time, enter the time, and select "change all." However, it seems that some, or perhaps most of the images don't actually have a new Date Created when this process is done.
    I thought perhaps I needed to select 'write metadata to files', but the Date Created seems to revert back prior to writing to the file, or indeed, it doesn't actually change in the first place.
    Any ideas?
    Thanks,
    J

    Think I've fixed this using the following site: -
    http://www.thexlab.com/faqs/helpviewer.html
    Will update if that changes....

Maybe you are looking for

  • Please advise on Basis Certification

    Hi, I have a question from all the SAP Basis certified consultants, how many hours of study we require per day for passing the exam and how many times we need to go through the manuals. Please feel free to proivde tips of study which could be helpful

  • [SOLVED] Ruby 1.9.2

    I can't get the new Ruby to work. It's ruby 1.9.2 from Extra. Here is what I get when I run gem: [root@xhkr ruby]# gem /usr/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:68:in `installed_spec_directories': undefined method `path' for Gem:Module (

  • No Sound Quicktime

    I am having a rather odd issue with my macbook. I installed flip4mac on my machine to watch broadcasts which are in Windows Media Player. It is from this site: http://www.pm.gov.uk/output/page306.asp, it is quite boring without sound. Does anyone kno

  • Customizing the basic search

    hi all is there a way to fully customize the basic search portlet? how can i change the name of the "search" button - i want it to be in my native language, and the portal doens have a translation for it can anyone help?

  • Html5 page vertically distorts image in fx only fine in all other browsers!

    john-law.net/projects/lbox/ is an example file. No distortions in mac safari, chrome or win7 explorer, chrome. I've tried everything I can think of - installed a fresh copy of fx 22, restarted in s mode, cleaned up with applejack then progressively c