How can I open a picture with Jtree

hi,
I want to write a Filemanagerprogramm with JTree, but how can I open it, after I clickt the .jpg or .png file. Thank you for your Tip!

The java tutorial at http://java.sun.com/docs/books/tutorial/uiswing/misc/icon.html will tell you a lot of what you need to know.

Similar Messages

  • How can I open items made with apple works

    How can I open items made with apple works

    You need to purchase Pages for your iMac. You can buy it from the App Store.
    I don't know if the version of Pages for the iPad will open the Apple Works documents. If you have the documents on your Mac and want to open them on your iPad the easiest way I can think of is to open a DropBox (Google it) account and store the documents there. Then you can try to open the documents in Pages on your iPad. If that doesn't work then I know Pages for OS X will open the Apple Works WP documents.

  • How can I open a document with applescript without the doc. window opening.

    How can I open a document with applescript without opening the document window and speak the text of the document?  I can get it to open the file but the doc window always opens up. 

    try
              set pathToMyFolderOnDesktop to ("Macintosh HD:Users:jodyconnor:Desktop:") & "Dsource:" as alias
              set rnd to (random number from 1 to 6)
              set rndFileName to (rnd as text) & ".scpt"
              set FullPath to pathToMyFolderOnDesktop & rndFileName as text
              set myScript to load script (FullPath as alias)
      run script myScript
    on error the error_message number the error_number
              display dialog "Error: " & the error_number & ". " & the error_message buttons {"OK"} default button 1
              return
    end try
    This code answered my question:  Hats off to Digimonk from stackoverflow and Darrick Herewe from stackoverflow.

  • How can i open my imac with mountain lion in 32 bit. With the Mountain Lion, some important softwares are not functioning. Please help !

    How can i open my iMac with mountain lion in 32 bit. With the Mountain Lion, some important softwares are not functioning. Please help !

    Thx for yr reply. maybe i don't express myself very well. i know ML is 64 bit system. and it does not open up my VPN connection (the VPN connection i am talking here is Cisco and it is only in 32 bits) . i was wondering is there a way my macbook air 11 inch first generation can turn back into its original operation system, so that i can use the VPN connection. THX

  • How can i open a attachment with the fileextension .note sent from an Ipad

    A friend of mine sent me an email from his Ipad with an attachment which has the extension .note. How can I open this file on my Mac?

    It appears that this extension is related to the ipad app 'notability'. It would have to be exported as a pdf or rtf file to be opened.
    You can do some googling, but might be better if the sender converts the file to something more common and sends again.

  • How can I open Elements 8 with "Open with dialog" in Windows XP?

    When I try to open a photo from My Pictures using the Open with dialog (when I click on Register) I get a message"Specified file is missing! No changes were made"   Photoshop Elements 8 is installed and working. For some reason Adobe Photoshop Elements 8 no longer appears on the list of programs in the Windows Open With dialog. How can I add Adobe Elements 8 to the Open With dialog?  There are programs listed that I do not use. Is there a way to delete or add programs to the Open With dialog?

    I couldn't get this to work for some reason. I solved the problem by
    downloading
    OpenWithAdd_1.2.zip.   This adds the program to the "Open with dialog"
    The procedure is:
    Download OpenWithAdd.zip and run it. Locate the application that you
    want to add to the Open With dialog.
    Type the command-line parameter (if the application requires one) in the
    appropriate text field. And optionally, you can give a personalized name
    for the application which you're trying to add to Open With. This text
    will appear in the Open With dialog, describing the application.
    Once done, click Register.
    Your application is now added to the list.
    Bob Ennis

  • How can I open Word docs with Pages?

    I just installed the iWorks software because it said it would open Word docs. Now I can't seem to open any Word .doc files I had archived onto CDs, after abandoning my PC.
    I've made Pages my default application for opening text, and that didn't help. I just keep getting the error message "The document "X.doc" couldn't be opened." Any ideas?
    IMAC   Mac OS X (10.4.8)  

    Welcome to Apple Discussions Paul
    Pages - the word processing/page layout application in iWork (no "s") - usually doesn't have any problems with opening Word files, but I do believe it can't open any Word files older than version 6. It is also highly unlikely that it would be able to open any from the new 2007 version. If your documents are from a version in between those, they should open.
    How are you trying to open them? There are at least three common methods, but, since you say the documents are on a CD, I suggest copying them from the CD to your hard drive first. To open one at a time you can use File > Open (where > means following menu commands with your cursor). To open more than one at a time, select the ones you want by Command- (⌘) clicking the files & then dragging them onto the Pages icon in the Dock or a Finder window or Control- or right-click & choose Pages from Open with in the contextual menu that appears.

  • How can I open a picture file in PS Elements after installing service pack 2?

    Since I installed service pack 2 on my HP computer a week or two ago, the Photoshop "Open" tab no longer appears at the top of my Pictures screen, but rather a "Preview" tab, and I haven't been able to open a picture in Photoshop.  Instead, when I double click on a picture, it opens in Windows Picture Gallery.  Not long after I installed service pack 2, I also changed my default browser from Internet Explorer to Mozilla Firefox, so I don't know if that has anything to do with it.  Thanks...

    Reinstall PSE or manualyl adjust your file associations.
    Mylenium

  • How can I open a file with a REM format on my PC ?

    Hi!I wanted to open a picture on my PC, but it has a REM format and my PC can't support it. I have red that this type of formats are an encryption of BB and I can open the picture if I desencrypt my media card....but now the main problem is that I don't find the options for my media card!It doesn't appears on my BB options! So,I need help please! Thanks!

    "not supported, or might have been damaged."
    That's key. If you're using Safari to download PDFs, it can do this.
    Trash the SPD file. It can't be repaired.
    Download the Adobe Reader FULL installer here: http://get.adobe.com/reader/enterprise/
    Save the DMG to your downloads folder.
    Go to: Mac HD/Library/Internet Plugins
    Trash the AdobePDFViewer.plugin and AdobePDFViewerNPAPI.plugin files.
    Empty the trash.
    Download AppZapper (it's a free trial) and install it.
    Launch AppZapper, and drag the Adobe Reader app to the window.
    "Zap" it and anything else in the window to the trash.
    Empty the trash.
    Install Reader from the downloaded DMG and re-download the SPD file.

  • How can I open the packages with examples (e.g. com.sap.caf.eu.gp.example)?

    Good day! I wanted to view the example 'com.sap.caf.eu.gp.example.timeoff.wd.create.CCreate' how can I achive it? Is it possible?

    not answered

  • How can I open RAW files with PSE 12 from Olympus o-md e-m 10?

    How cam I open RAW files ? I use PSE 12, the Olympus om-d em 10 and windows 7.

    Photoshop Elements 12 should be able to recognise raw files from the OM-D E-M10.
    Check which camera raw you currently have by loading the editor, going to the Help menu and selecting About plug-in -> Camera Raw
    If it not at version 8.5 then go to the Help menu and select Updates
    Brian

  • How can I open a picture in a new window?

    on my site when you click on a picture it automatically goes into a slide show view of all the pictures, however I currently have add to cart buttons that stay in place and cover parts of the picture in the slideshow view. I am thinking it would be better if the picture just opened up in a separate window, or if someone knows how to keep the buttons from appearing in the slideshow view. Thanks in advance for your help. here is a link to my site: www.wittewear.com. on the hats currently in stock page.

    notice Scripts/Widgets/toggleHTMLSnippets in the url path
    the code won't work in html snippet widget because it is a widget itself. it only works when directly add on the page or directly linked to the page.
    here are your options, you can:
    a) post edit your page to add the code. you will have to do this every time you publish.
    b) decode the code and make it to work in html snippet widget.
    c) save the code as a file and link it to your page with something like this: http://lnw.me/fmYv4R
    here is how to open a new window in photos page grid view:
    http://temp.cyclosaurus.com/PhotosRelinked/My_Albums/Pages/Photos.html

  • How can I open a file with an SPD file extension?

    Hi
    I have started a course for which I have received some literature in pdf format. I have made hand written annotations to a pdf file using my Samsung Note tablet, which I have then put into Dropbox, with the intention of storing on my IMAC.
    I then tried to open this file on my IMAC but received a message that Adobe Reader couldn't open it as the file was not supported, or might have been damaged.
    Any ideas on how I might be able to get around this problem?
    Do I need something other than "Reader"?
    Comments will be very gratefully received by this novice user
    regards

    "not supported, or might have been damaged."
    That's key. If you're using Safari to download PDFs, it can do this.
    Trash the SPD file. It can't be repaired.
    Download the Adobe Reader FULL installer here: http://get.adobe.com/reader/enterprise/
    Save the DMG to your downloads folder.
    Go to: Mac HD/Library/Internet Plugins
    Trash the AdobePDFViewer.plugin and AdobePDFViewerNPAPI.plugin files.
    Empty the trash.
    Download AppZapper (it's a free trial) and install it.
    Launch AppZapper, and drag the Adobe Reader app to the window.
    "Zap" it and anything else in the window to the trash.
    Empty the trash.
    Install Reader from the downloaded DMG and re-download the SPD file.

  • How can I print a picture with a caption and EXIF information?

    Hi,
    I want to print a picture and use the caption from the meta data and the information about shutter speed, focal length and so on. I figured out that there is a way to print this information in the print module, but it is attached directly to the image, which does not look good. Question is there another way? Maybe involving Photoshop? I would like to have the flexibility I have with the slide show designer, where I can put caption to the left side of the image and ISO, shutter speed and so on to the right. Is this possible somehow?
    I am looking for an easy preset that I could apply to a lot of pictures.
    Thanks!

    There's a Lightroom addin called Mogrify that will do this (and a lot more). Just google it. It's something you have to buy but it's not a lot of money.

  • How can I open a picture in Photoshop from Photos?

    I migrated my pictures from IPhoto to Photos. Why can't I open them in Photoshop? Please help. Can I just go back to using IPhoto?

    Nope, It said "A newer version of this software is already installed." so I won't let me go back. Also, after exporting editing and importing back there is still no easy way to open a photo in photoshop. I have to drag them from stupid photos to my desktop and then open them from there. I have 300 photos to edit and put a watermark on. There HAS to be an easier way!

Maybe you are looking for

  • Is WD7500BPVT with MacBook Pro Model A1226?

    Hi Guys, I had a bad experience when I bought the Western Digital Hard Drive which had 12.5 mm thickness and did not fit in my A1226. I want to know everybody's opinion on if the WD7500BPVT is compatible with my A1226. Here is the website for the WD7

  • Olympus E-520 RAW files

    Just got back from overseas, and back to my mac, with a new Olympus E-520 to replace my E-410 which was fine in Aperture. Any ideas when the Olympus update will appear in Aperture?

  • Problems using Ajax-AutoComplete with FireFox

    Hello I'm trying to use the JSF-Ajax AutoComplete (java 1.4) with the FireFox with no success. The errors, according to the firefox console, is: BPUI IS NOT DEFINED. The DIV does`t show and the backing method responsible to do the completion result w

  • Demand Planning Retraction

    Hello All, We are creating a sales forecasting application in IP.  We need to retract our sales demand to R/3 into S076.  I am looking for alternatives to do this.  We have come up with the following: 1) Create a table using open hub and write a prog

  • Hi problem with the transaction XD02.please help..full marks given

    Hi, I am running a transaction XD02 and providing the following details. Tcode: XD02 Customer: J101 Company Code: C800 Sale Org: CJRP Dist Chan: 00 Divison: CH <ENTER> and then Click on pushbutton "Other Communication" - the popup does not include op