Adding an image that a user can click.

Hi
Been programming java for nearly a year now and I was wondering if there was a way I can add images to a frame, which a user can then hover over to receive information of click to go to the next screen with sub information on it. Any help currently would be much appreciated.
Gretna

I was wondering if there was a way I can add images to a frameJLabel. http://java.sun.com/docs/books/tutorial/uiswing/components/label.html
which a user can then hover over to receive informationtooltip. http://java.sun.com/docs/books/tutorial/uiswing/components/tooltip.html
click to go to the next screen with sub information on itMouseListener. http://java.sun.com/docs/books/tutorial/uiswing/events/mouselistener.html
Or use a JButton instead of a JLabel.
http://java.sun.com/docs/books/tutorial/uiswing/components/button.html
If the frame is to be a container for numerous "screens", consider giving it a CardLayout.
http://java.sun.com/docs/books/tutorial/uiswing/layout/card.html
(Specific problems you have with adding the images would best be addressed to the Swing forum.)

Similar Messages

  • How can I create a DVD image that PC users can retrieve and burn...

    I need to create a DVD disc image that PC users can retrieve from a private network share and burn to a blank DVD. Once burned, it needs to auto-start at the Menu. The master works fine. Images burned using the Mac Disk Utility work fine. But I have little control over who will download the image or the method by which they will burn it, so I need to provide visitors with guidance. Thank you in advance for any assistance you can provide.

    Thank Jeff for this one.....
    http://homepage.mac.com/geerlingguy/macsupport/mac_help/pages/0023-convert_dmg_imgiso.html
    I've also heard that you can just copy an ".img" iDVD image to a pc, change the extension to .iso and then burn with Nero, etc. But I haven't tried it myself.....
    John B.

  • TS3276 Having trouble sending jpeg images as attachments in Mac email.....they go thru as images and PC users can't see the SAVE or QUICK LOOK boxes that Mac mail has.  One friend scrolled over the image, right clicked on it and saved as a PNG file.

    Having trouble sending jpeg images as attachments in Mac email.....they go thru as images and PC users can't see the SAVE or QUICK LOOK boxes that Mac mail has.  One friend scrolled over the image, right clicked on it and saved as a PNG file.

    Apple Mail isn't going to change the format of any of your attachments. it isn't going to corrupt them either.
    Exchange is a transport protocol and server. The issue you describe is not related to Exchange.
    There are many different versions of Microsoft Outlook in use and they all have e-mail bugs. Different versions have different bugs. Some Apple Mail hack to get around a bug in Outlook 2003 may cause the same message to be problematic in Outlook 2000. Fix them both and another issue will cause trouble in Outlook 2007. You can't fix this. Apple can't fix this. Microsoft can and has but that is irrelevant if your recipients are using older versions.
    One specific problem is that Apple Mail always sends image attachments inline, as images, not as iconized files. You can change this with Attachment Tamer. Just be aware that use of this software will break other things such as Stationery. E-mail is just a disaster. To date, no one outside of Apple has ever implemented the e-mail standards from 1993. Apple has continually changed its e-mail software to be more compatible with the de-facto standards that Netscape and Microsoft have unilaterally defined and people documented as "standards" after the fact. The e-mail messages that Apple Mail sends are 100% correct and do not violate any of the original standards from 1993 or the Microsoft/Netscape modifications. The problem is entirely bugs and limitations in various versions of Outlook.

  • SEARCH function in Adobe Captivate 8 so that the user can search key words within a project?

    Hi, I am wondering if there is a way to implement a SEARCH function in Adobe Captivate 8 so that the user can search key words within a project?

    Hello again
    Click the slide in the film strip, then examine the properties. You name the slide in the properties. And once you name it, the name should appear below the slide in the film strip, Then when you choose to enable the TOC, what you have there pulls in as shown below:
    If you have already constructed your TOC and wish to change this later, repeat the steps of naming the slides. Then click the Reset TOC icon just above the Settings button in the TOC section of the Skin editor to pull in the new names.
    Cheers... Rick

  • How to limit the max dialog no that one user can use at the same time?

    Hi,
    I meet one performance problem that one user can open 6 sessions in the GUI and he/she can run 6 reports at the same time witch could occupy 6 dialogs in the sap R/3 instance. It makes poor performance for other users.
    Would you pls tell me how to limit the no. of sessions one user can create at the same time or how to limit the no. of dialogs one user can occupy at the same time?
    Thanks a lot!
    I used this parameters in the default profile as blew:
    rdisp/rfc_check 1
    rdisp/rfc_use_quotas 1
    rdisp/rfc_max_own_used_wp 20 (means: 20%)
    It still didn't work.
    Sean

    Hello,
    We can reserve DIA W.P by giving value to the parameter :- rdisp/rfc_min_wait_dia_wp=1(default)
    that have to necessarily remain free for other users.
    This parameter is used to reserve a number of dialog work processes for Dailog mode.
    For eg. If 10 dialog w.p. are configured for the instance(rdsip/wp_no_dia=10) and the parameter rdisp/rfc_min_wait_dia_wp=3 is set,parallel RFC's can occupy a maximum of 7 DIA W.P.3 DAI W.P. always remain free for dialog mode.
    But now the question is how we assign/restrict this free dialog w.p. to the specific user.
    Reply...
    Regards,
    JUNAID

  • How to set the maximum length that a user can enter in Msgstyledtextinput

    Hi Everyone,
    I'm currently using EBS 11.5.1 and 10.2g DB
    Is there a way that I can set the maximum length that a user can input?
    I changed the Maximum Length to lower number (from 150 to 100) but I get the following error.
    Developer Mode Exception encountered in item SaveLocation
    Error: The item SaveLocation has a maximum length (100)
             which is not equal to that of the corresponding VO attribute
           , SaveLocation length (150).
    Action: Make sure they are equal in size. There must be other way to set that value
    Thanks,
    Elmer

    You have to set the maximum length of column to 150 to avoid this error.
    You can set the same in Jdev.
    Thanks
    --Anil                                                                                                                                                                                                                                                       

  • Limit the amount of tasks that a user can claim

    I have a custom worklist and I need to develop a requirement for not allowing the users to claim more than one task at a time. Does the Worklist API have something to limit the amount of tasks that a user can claim at a time?.
    Thanks in advance.
    Neuquino

    Apparently the Family Base add-on (https://my.verizonwireless.com/vzw/nos/safeguards/SafeguardProductDetails.action?productName=familybase) from Verizon will allow you to set limits on how much data a particular device can consume.  I think it is free for the first 3 months (not sure) after that it will cost $5 per month.  I have heard rumors though that it does not work well with iPhones???

  • Saving so that windows user can have access?

    I have my project all ready and those with quick time...loads up perfectly. However those who have windows have a long wait or pile will not come up. Do you know how i can save my final cut express project so that window users can have access to it?

    thank you. one last question....the quick time movie file can not be seen when opening on a windows. do you know if i need a quick time pro so that i can convert it? or is there a way that i don't know about?

  • What are the command line options to start firefox to start in a kiosk mode which restricts the options that a user can select

    I would like to use Firefox as my browser but want to restrict the configuration options that a user can do. Is there a command line option to start in a kiosk more in which no toolbars are visible including min/maximise buttons so that only the rendered webpage is visible? I am interested for both Windows and Linux environments.

    There is a /wait option for the Windows "start" command to wait for the program to get finished.
    *http://technet.microsoft.com/en-us/library/bb491005.aspx
    <pre><nowiki>/wait : Starts an application and waits for it to end. </nowiki></pre>

  • How do I attached a jpg from iPhoto to mail as so that it appears as an icon and not an image. PC user can nor download as entire image

    How do I attach a jpg from iPhoto to mail so that it appears as an icon only and NOT the photo image. Mac and PC user can no download in format as entire image. thx

    Use Apple Mail as your e-mail client and under the format menu set format to plain text
    LN

  • In javascript, how do I open a dialog so that the user can input the value of a variable?

    I'm working on a script that will be used for many images, all of them using the same format (size of the image, layer layout, etc).
    All of these images will have a layer of text, and what I want is to have the script modify the horizontal length of the text layer (horizontal percentage scale), shrinking it so that all of the text appears on-screen, in case there's too much of it.
    But the text will vary from image to image, and what I want is for the script to display a dialog box were the user can input the text that will be put on the text layer and scaled down.
    Can this be done?

    If you want the user to both enter then fit the text while your script is running, here is one way to do that.
    var typeLayer = activeDocument.activeLayer;
    var type = typeLayer.textItem;
    var t = prompt ("Enter text" , "new text");
    type.contents= t;
    transformLayer();
    function transformLayer() {
         try{
         var desc = new ActionDescriptor();
            var ref = new ActionReference();
            ref.putEnumerated( charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
        desc.putReference( charIDToTypeID('null'), ref );
        desc.putEnumerated( charIDToTypeID('FTcs'), charIDToTypeID('QCSt'), charIDToTypeID('Qcsa') );
            var desc1 = new ActionDescriptor();
            desc1.putUnitDouble( charIDToTypeID('Hrzn'), charIDToTypeID('#Rlt'), 0.000000 );
            desc1.putUnitDouble( charIDToTypeID('Vrtc'), charIDToTypeID('#Rlt'), 0.000000 );
        desc.putObject( charIDToTypeID('Ofst'), charIDToTypeID('Ofst'), desc1 );
        desc.putUnitDouble( charIDToTypeID('Wdth'), charIDToTypeID('#Prc'), 100 );
        desc.putUnitDouble( charIDToTypeID('Hght'), charIDToTypeID('#Prc'), 100 );
        desc.putBoolean( charIDToTypeID('Lnkd'), true );
        executeAction( charIDToTypeID('Trnf'), desc, DialogModes.ALL );
         }catch(e){}

  • How to disable airport so that standard users can't reenable it ?

    Even when I disable airport interface from the command line :
    sudo ifconfig en1 down (what requires sudo privileges)
    a standard user can reenable it ! Strange behaviour compared to linux or windows OS.
    If someone knows how to block airport, please let me know.
    Thanks

    Hello,
    Thank you for the answers.
    All users are standard users.
    The option I was searching for is in System Preferences - Network - AirPort - Advanced - Require admin password for : Disabling or enabling AirPort. The other two options could be useful too.
    I think I'll add this to my base image. In the meantime I'll try to apply the settings via Apple Remote
    I didn't find the exact settings to enable the 3 options from the command line, if you know how to do this please tell me.
    I found a few very useful commands though :
    Disable/Enable airport from the command line
    networksetup -setairportpower en1 off/on
    That's the command I will use when all machines will be configured with "Require admin password for : Disabling or enabling AirPort". If it's not configured the user can reenable airport.
    Disable/Enable airport service from the command line :
    networksetup -setnetworkserviceenabled AirPort off/on
    That's the command that can help when you haven't block the users yet. A standard user can reenable the service but he needs to know the command as well as how to use terminal.
    p.a

  • Is there any way to embed the pdf file in the book created in iBooks Author to make it available to be downloaded or sent to email? So that the user can print it out.

    Is there any way to embed the pdf file in the book created in iBooks Author to make it available to be downloaded or sent to email?
    I'm making the book for children and there is one chapter providing coloring pages. So I wish to attach pdf files that allow users to download it at the end of chapter so that  they can print it out. Been searching through discussion, I've found some advice about taking screen snapshot page-by-page > then send the pics from photo album to email. However, I'm wondering if there's a way that make the process easier.

    Warehouse that PDF on your own server, then link to it from your book.
    Ken

  • Can I open file in shared mode so that multiple users can write at same tim

    Hi,
      I want to write to a trace file from a user exit and BADI. But I want to create only one trace file in which multiple users can simultaneously append. Is it possible to do this? How? Code could really help as this is urgent.
    Thanks for reading.

    Hi,
    I think we can use the locks shared or exclusive locks concept here
    you can find examples in this section on how to implement them -
    http://help.sap.com/saphelp_47x200/helpdata/en/41/7af4c5a79e11d1950f0000e82de14a/frameset.htm
    There are two types of lock in the R/3 System:
    Shared lock
    Shared locks (or read locks) allow you to prevent data from being changed while you are reading it. They prevent other programs from setting an exclusive lock (write lock) to change the object. It does not, however, prevent other programs from setting further read locks.
    Exclusive lock
    Exclusive locks (or write locks) allow you to prevent data from being changed while you are changing it yourself. An exclusive lock, as its name suggests, locks an application object for exclusive use by the program that sets it. No other program can then set either a shared lock or an exclusive lock for the same application object.
    Regards
    Chandralekha
    Regards
    Chandralekha

  • Am I able to add items to my website that my users can download with Dreamweaver?

    I'd like to add a feature where my users can download my
    ebooks from my website for free. Is this available with Dreamweaver
    and if not, does anyone have a resource on this method?
    Thank you
    D Sterlin

    There are only two ways to process form data -
    1. Use mailto:[email protected] as the action of the form
    2. Use a server-side scripting method to a) harvest the
    form's data, b)
    process it in some manner, e.g., enter it into a database, c)
    formulate and
    send an email to one or more email recipients, and d)
    redirect the visitor
    to some ending page
    Method 1 is quite simple, and is also the least reliable. It
    depends both
    on your visitor having an email client already installed on
    their computer -
    this eliminates public computers, or home users without email
    clients
    installed (more and more it seems) - and on the installed
    email client
    responding to
    the mailto call. It is not possible to use this method *and*
    send the
    visitor to a
    thank you page as well.
    Method 2a is the preferred method, since it eliminates the
    problems of
    method
    1, but it means that you have to grapple with
    server-scripting somehow (ASP,
    CF, PHP, perl, etc.).
    Method 2b would be to use some third-party form processing,
    like
    http://www.bebosoft.com/products/formstogo/.
    You would have to decide which of these methods is best for
    your needs,
    but if it's Method 2a, then start by asking your host what
    they provide for
    form
    processing. If it's 2b, then read their FAQ/instructions
    carefully.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "dsterlinjustin" <[email protected]> wrote
    in message
    news:g1dfdi$5bq$[email protected]..
    > thank you. I will do the above method. Do you know how
    the information in
    > the spry fields get sent to you?
    >
    > Im a bit confused about that also.
    >
    > D Sterlin

Maybe you are looking for

  • How can I know if a process is running in the system???

    Hello all, I generate a pdf file with Reports Builder called from Forms Builder. This pdf is printed in the default printer with the command line "start AcroRd32.exe /p /h path_file", inside host command, which open the Acrobat Reader and prints the

  • Can fonts in a PDF be converted to outlines with Acrobat Pro 9?

    Acrobat Pro 9.....Sometimes I get a PDF that I will have to do some edits to.  Because I dont have some of the fonts used, I cant edit the file without losing the fonts used.  Is there a way to have Acrobat maybe resave itself with all the fonts conv

  • Select into internal table

    Hello abap-gurus, I have a small problem when doing a select into an internal table. As i select and append into an internal table, the program dumps as there is not enough memory for the internal table. The SAP-table i'm selecting from is simply too

  • Invoice List, via EDI

    Hi, We are trying to create an IDOC for our INVOICE LIST,by using the function module IDOC_OUTPUT_INVOIC but is failling to popuplate IDOC segments with the line item data. The function module seem not ready to read the structure of INVOICE LIST, bec

  • FI_ITEMS_DISPLAY for fbl5n

    Hi Friends,     I need to add some lines in Header and Footer in Standard Tcode FBL5N so that i have copied that to Z* now in that report FM FI_ITEMS_DISPLAY how can i add header and footer.........? do some reply