Add picture in a Dialog ????

please is there any simple code to add a little picture in a a dialog.
thankx in advance

Use this method for getting icon:
public ImageIcon getIcon( String iconName ){
java.net.URL url = getClass ().getResource ( iconName.trim ) );
if ( url != null ) {
return new javax.swing.ImageIcon( url );
return null;
now your icon's directory have to be in classpath

Similar Messages

  • Add picture in a Dialog or Frame??

    hello everybody,
    i ask about how add a picture in a pan of a dialoge a frame. and how change the icon placed in the top right of a dialog.
    thakx in advance

    Do a search on "coffee cup". That question has been answered in detail within the last few days.
    Try the same on "adding image" or "toolkit"
    Cheers
    DB

  • How do I add pictures of my family on our family share plan?i jus

    I Would like to know how to add pics of my family on our family shardd plan can someone please help me I'm new to this

    Hi Laura720,
    With Family Sharing enabled, you get a Family album that all members can add pictures to.
    Family Sharing
    The whole family can contribute to the family photo album.
    Now collecting and sharing family memories is easier and more fun. When Family Sharing is turned on, a shared album is set up automatically in the Photos app on all family members’ devices. Then everyone can add photos, videos, and comments to the album and be notified when something new is added.
    Just have them add the pictures to the Family album.
    Thank you for visiting Apple Support Communities.
    Nubz

  • Can not add pictures to my website

    When I edit my website on (bluedomino.com) I can not add pictures I receive an error message - an error has interrupted communication between your browser and the website server. Bluedomino looked at the problem and could not resolve said it was firefox issue. I switched over to Int.Explore and I have no problem it also seems to run faster. I have no problem viewing my web sites all the pictures display I can't add new ones. I'm able to upload the pictures to bluedomino but can not insert them on the edit page or post them.

    Hello solidroq,
    This can be worked around by creating a version of the video that is compatible with your iPod.
    Select a video and choose File > Create New Version > Create iPad or Apple TV Version.
    iTunes: Videos may be unable to sync to iPhone, iPad, or iPod
    http://support.apple.com/kb/TS1497
    Cheers,
    Allen

  • How do you add pictures to your photo book after saving it? Can you re-save it to send to blurb?

    How do you add pictures to your photo book once you have saved it? Moreover, can you save it again and send it to Blurb.

    Go back to Library and drag the extra photos into the book collection.

  • How do I save my video in jpeg format so I can add picture to it and burn a DVD through Photo Explosion version 4

    How do I save my video in jpeg format so I can add picture to it and burn a DVD through Photo Explosion version 4

    LRP
    Thanks for the follow up.
    In Premiere Elements 13/13.1, your export choices are in the Publish+Share section of the project. There are several choices and sub-choices.
    Example: Publish+Share/Computer/and then a list of choices under that, such as, MPEG, AVI, AVCHD, XAVC-S, Windows Media, QuickTime, Image, Audio.
    And each has Presets which define the export settings. Adobe offers default settings which are usually optimized ones. But, it also allows you to customize the preset selected. You do that by clicking on the Advanced Button of the selected preset and customizing the settings under the Video Tab, Audio Tab, and, if applicable, Multiplexer Tab.
    From what you wrote, I thought that you might be asking about exporting a video with a video codec = Photo JPEG.
    To do that you would to to
    Publish+Share
    Computer
    QuickTime
    with Presets = either the one for 4:3 of 16:9 as appropriate for your project,
    and then clicking on the Advanced Button, and then the Video Tab under the Advanced Button.
    Then selecting Photo JPEG for the video codec field.
    Tip: The QuickTime choice is not seen unless you scroll down the list of Computer choices. Use the thin scroll bar to the right of the Computer choices.
    Please explore Premiere Elements 13/13.1's Publish+Share/Disc/DVD with standard or widescreen preset for your creation of the DVD-VIDEO on DVD disc.
    The Premiere Elements timeline destined for this choice could consistent of supported photos and or videos.
    Please consider.
    Any questions and need clarification, please do not hesitate to ask.
    ATR

  • How do I add pictures to my contacts on galaxy s5?

    Can I add pictures to my contacts on my galaxy s5 from pictures I store in one drive?

        brilpitch, we want you to see whose calling you! Just access your contacts and select Edit. You will be provided with the option to add a photo for that contact from your picture gallery.
    LasinaH_VZW
    Follow us on Twitter @VZWSupport

  • Is there any way to turn off the auto formatting in Pages?  I just want to type a letter and add pictures and titles, and Pages keeps changing font sizes and doesn't let me "Do it my way".  I HATE this!

    Is there any way to turn off the auto formatting in Pages?  I'm using a blank document, so I figured I could write my letter and add pictures any way I wanted to.  But NO!  Pages keeps changing the font size!  I typed a large heading as a title, and when I try to change to a smaller font for the body of the letter, it changes the size back to the larger size!  I am getting SO FRUSTRATED!  I've spent over an hour trying to get the stupid program to let me just type my letter!  Can anyone help?

    The only one left is the "unsubmitted text" dialogue, which would not be a problem if I were not a Facebook user; after updating the "Richard is..." field (which does not require a manual submit to actually send) I get the above message. This is obviously Safari just not realising that the info has been sent and is therefore (I imagine) one for Apple themselves to answer!!
    You're welcome Rich. Glad to help.
    Not being a Facebook User, I'm not sure how to respond to the error situation. However, this would be something to report to Apple as a bug via the Safari Menu. First, open to the page in question, then select "Report Bugs to Apple".
    Mahalo for the and Aloha from Big Island.

  • How do i add picture from my computer to my ipod

    how do i add picture from my computer to my ipod

    Connect the iPod to your comouter and click on the iPoid under devices i iTunes. Got tothe Photos pane for the iPod. Check the box that says sync photos and select the source of the photos yu what to synce. A PC usually uses a syncing folder in which you copy the photos you want to sync.

  • I reinstalled iPhoto on my MacBook Pro. It opens, but only shows the loading bars and does not allow me to add pictures. How can I fix this?

    I reinstalled iPhoto on my MacBook Pro. It opens, but only shows the loading bars and does not allow me to add pictures. How can I fix this?

    Mac 101: File Sharing
    Mac OS X 10.7 Help: Transfer files between two Mac computers
    Mac OS X 10.7 Help: Set up a Windows computer to share files with Mac users
    Mac OS X 10.7 Help: Use iDisk to share files
    Mac OS X: Sharing your files with non-Apple computers
    How to share a Mac's files with a PC and vice versa.

  • I am wanting to add picture and designs to my form how do I place it in a specific place on my form?

    I am wanting to add picture and designs to my form how do I place it in a specific place on my form?

    Currently we only support one field/item on a line. We are working on adding a feature that allows you to put multiple fields/items on a single line. We hope to have that out in a few months.
    Randy

  • What happens if I make a picture album on my ipad or iPhone and then sync with my Mac? Will it add a new album to iPhoto on my Mac? Also, what will happen if I add pictures on my ipad to existing albums that I made in iPhoto on my Mac?

    What happens if I make a picture album on my ipad or iPhone and then sync with my Mac? Will it add a new album to iPhoto on my Mac? Also, what will happen if I add pictures on my ipad to existing albums that I made in iPhoto on my Mac?

    ubercoder wrote:
    So what I have gleemed from this thread - is that Apple will not help me if an iPad mini is dropped and the screen breaks.  I would have lived without the insurance if I could have simply bought a new screen and then had it replaced by Apple.
    On something so fragile I would have expected a piece of glass to be a replacement part. But I am glad I made this post because now I no for sure if I break the screen there is no way to have it fixed by Apple and keep it in Warranty.
    Yup, kind of like anything else you accidentally break that is more cost effective to replace than to repair. Keep that iPad away from the toddler

  • Can I Add User Defined Tab Dialog From just like kTextFrameOptionsDialogBoss?

    Can I Add User Defined Tab Dialog At Build-In kTabSelectableDialogBoss, just like kTextFrameOptionsDialogBoss?
    If it is possible, How?
    Pls Help Me...

    Impliment IUnitOfMeasure with custom units.

  • HT204407 How do you add pictures of friends in the map on Find My Friends app?

    How do you add pictures of friends in the map on Find My Friends app?

    Nope.  I have pictures in contacts but no picture in the app.  What else must I do?

  • NW2004s Java Add-in on a Dialog Instance

    Hello All,
    Is it possible to perform a Java Add-in on a dialog instance for NW2004s SR1? I don't see any option in the installation master. It only shows the option for Java Add-in in Central Service instance, Database instance and Central Instance.
    I already have both ABAP+JAVA on CI (NW2004s SR1). There is a dialog instance which is running only ABAP (NW2004s SR1). Can I add Java to this dialog instance?
    Can someone please help me on this?
    Thanks.
    Fahad

    Hi Fahad,
    You can only add Java-Addin to a Central instance.
    Regards,
    Siddhesh

Maybe you are looking for

  • Nvarchar Columns are not imported into OWB 10g

    Hi Team, I am quite new to Oracle BI(Just 2 weeks old) environment. I have completly gone through oralce wharehouse builder user's guide. I am trying to setup a datamart in which data will be pulled from MS SQL server 2008. Here is my Problem 1. Setu

  • Clean install with no OS X install disc

    Due to glitches, teenager messing with settings, me messing with settings, internet connection probs, etc I think I need to do a clean install of my OS (10.6.8) but do not have the original OS install disc. How do I get a copy of that?

  • SRM Outline PO line not unique with ECC PO line

    Hi Experts, We are using SRM 7.01 Extended Classic scenario. We have requirement in BI reporting for Shopping Cart and Purchase Order Overview Report. There is 1 issue with Outline PO(PO created from external Requirement) in SRM. In SRM, it is create

  • Shot mark metadata from C300 not showing up

    I would love to see my "shot marks" that I set while recording with the Canon C300 show up on the clips in the timeline.  Is this possible?  Premiere Pro does not seem to recognize this data.  It does recognize the "Good Take" data but not the shot m

  • How to install Linux on Sun Blade 2000

    hi,all. There is a sun blade 2000 workstation in our lab.And my teacher ask me to install a Linux OS instead of the Solaris8 which is preinstalled in this machine.This thing is very difficult to me,for I am not only a new to Linux,but also a totally