Opening a dir & showing files inside

Is there any way, any method, to open a dir in a window and show, in this window, its content, such as I'd clicked on this directory ?
I've preferred an O.S. independent way, but it's not so important.
Thz

hi ,
use JFilechooser for selecting the directory and add the bellow code to get the windows view.
String s = "com.sun.java.swing.plaf.windows.WindowsLookAndFeel";
UIManager.setLookAndFeel(s);
hope this may solve your problem.
prabhakar.

Similar Messages

  • Is it possible to open up an excel file inside a Web Browser not IE?

    I'm trying to find out if it is possible to open up a pivot excel file inside the a web browser, but i don't want to use Internet Explorer for that i'd prefer firefox for that.
    I have a web application that uses an excel file for one of its reports but i don't want the user to have to download the file in order to view the report and that particular report has various ordering criteria so i don't want any of the funtionality of the file to be lost in the process, so is it possible to do it? what tools would help me acomplish that?

    I don't think this is possible.
    You may be able to make it display in Firefox if the file is defined as the XML Excel format and not the xls or xlsx formats. But that would require saving the file differently and you would most likely loose all/most functionality
    You may find some Excel translators in Java (most notably POI from Apache). But they would still require you to adapt them to web format and you would have to duplicate much of the Excel functionality yourself. So it would be a long term option.
    You could check out Google Docs. They have a spreadsheet application that I believe can convert Excel files to their format. You may be able to use it inside your web site with permissions.

  • Showing powerpoint slide show file inside page

    Hi All
    I just want to know, is there any way to embed powerpoint slide show inside a sharepoint aspx page. I dont want to open powerpoint file in a new tab using office web app.
    please suggest.

    if you are using the PowerPoint Web App then its easy, check this blog
    http://blogs.technet.com/b/ptsblog/archive/2011/02/01/embedding-a-powerpoint-deck-on-sharepoint-2010.aspx
    or you can chose the page view webpart and embed PPt into it.
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/8169d6d7-38f0-4735-a2fc-04096d21a17b/embed-a-powerpoint-ppsx-file-in-a-page-viewer-web-part?forum=sharepointdevelopmentlegacy
    http://www.sharepointmint.com/2011/03/how-to-embed-powerpoint-presentation.htmlhttp://blogs.office.com/b/office_blog/archive/2010/09/23/how-to-embed-a-powerpoint-presentation-on-a-web-page.aspx
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Firefox 30.0 - Used to open PDF file in a new tab when clicked a link. Now new tab opens, does not show file, tab closes. How do I fix it?

    I am using Firefox 30.0. I open a page that has links on it to see some PDF files. When I click on the link, Firefox use to open a new tab and display the PDF file. Now a new tab is opened, nothing gets displayed, and the new tab closes. What setting do I need to change in order to see the PDF file.

    Firefox Menu > Settings > Application
    *Search for "PDF" > Change the Action to "Preview in Firefox"

  • When l plug my ipad into my computer it just shows files from the ipad. And doesn't open itunes.

    When l plug my ipad into my computer it just shows files from the ipad. And doesn't open itunes...Help???

    Check for Update (tap to enlarge image)

  • Open an html file inside spry collapsible panel

    Greetings,
    Using CS5
    Does anyone know the CSS code/possibility of opening an html file inside the Spry panel?
    I've tried the following code:
    .CollapsiblePanelContent {
        background-image: url(lookoutgraph.html);
    Is there a better CSS element for calling up an html file?
    For what it's worth...the html file I'm tring to open uses a <canvas> tag. When opened by itself, the html file has no problem opening and displaying the canvas data.
    Much Thanks!

    With the exeption of images, to add external content to a document you will need to make use of either serverside or clientside code.
    Have a look at the SpryHTMLPanel here http://labs.adobe.com/technologies/spry/samples/htmlpanel/html_panel_sample.html
    Otherwise, please supply a link to your site so that we can come up with alternatives.
    Gramps

  • HT202879 I am stumped - trying to open a recent Pages file but error message says that I need a "newer version" of Pages.  My software updates show that there are no updates available.  I recently updated Pages but it is not consistent.

    I am stumped - I am trying to open a recent Pages file (created with a newer software that I thought was correctly installed recently) but error message says that I need a "newer version" of Pages.  My software updates show that there are no updates available. Pages 09 version 4.3 shows as my current version.

    You have 2 versions of Pages on your Mac.
    Pages 5 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5/5.01 can not open Pages 5.1 files and you will get the warning that you need a newer version.
    Pages 5.1 sometimes can not open its own files and you will get the warning that you need a newer version.
    Pages 5 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has not only managed to confuse all its users, but also itself.
    Note: Apple has removed over 95 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Archive/trash Pages 5, after exporting all Pages 5 files to Pages '09 or Word .docx, and rate/review it in the App Store, then get back to work.
    Peter

  • To open a Excel and Doc file inside the AIR application

    How to open a Excel and Doc file inside the AIR application.  I have opened the PDF file inside the AIR application.  But i got stuck in opening the Exce and Doc file.  Please help me in this issue.

    AIR does not support this inherently. However, you could write code to parse these file formats. For example, the following is an ActionScript 3.0 library for reading and writing Excel files:
    http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=1375018

  • How to open a .par file inside NWDS

    hi all,
    please help me out I want to open a .par file inside NWDS and make change the theame.
    thanks & regards

    Hi Jitender,
    Please try and do the customisation of teh Login page using this Document:
    <b><a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/_a-c/customizing%20the%20logon%20user%20interface%20of%20sap%20enterprise%20portal%206.0">Customise the Login Page</a></b>
    Also try the how-to guide:
    <b>http://service.sap.com/epinstall -> SAP Enterprise Portal 6.0 -> Documentation and More -> How-To Guides -> How to Customize the Logon Screen</b>
    I hope this helps you..
    Regards
    Pravesh

  • Photoshop files won't open in an way but inside Photoshop

    I just set up a new Intel Mac Pro and installed Photoshop CS4 on it.
    Now when I try to open Photoshop files by just clicking on them none of them will open in anything but Preview.
    The only way I can get any to open is through the "file - open" window inside Photoshop, which is a big waste of time.
    Everything worked fine on my other Mac, but now on this new one many things have changed even though it's the exact same program.
    And I can't find any settings that effect this.
    How can I change it?
    THANKS!

    Click once on a closed file (to highlight it) then from Finder go File>Get Info. In the Get Info window chose Open with: Photoshop CS4 and click the Change All button.

  • Every time I open a pdf file which includes a javascript, a dialogue box pops up. I have a question why 'Do not show this message again' is not working even I checked on the checkbox. It should block the dialogue next time when I open the same pdf file bu

    Every time I open a pdf file which includes a javascript, a dialogue box pops up. I have a question why 'Do not show this message again' is not working even I checked on the checkbox. It should block the dialogue next time when I open the same pdf file but not working. What is the matter and how can I deal with it?

    I am trying it on Adobe Acrobat Reader 9.2.1. Tried to fix Hex code, and also tried 'edit-preference-trust manager'. I focusing on Adobe registries but still couldn't fix the problem.

  • I have mountain lion OSX and parallels with Windows.  Every time I click on a hyperlink in other applications it opens - some 7 Zip file explorer inside Parallels but doesn't go to Safari.  Does anyone know solution?

    I have mountain lion OSX and parallels with Windows.  Every time I click on a hyperlink in other applications it opens - some 7 Zip file explorer inside Parallels but doesn't go to Safari.  Does anyone know solution?

    I suggest that you run software update, after which you should have Safari 6.0.5 - then check Safari - Preferences - Privacy & see that 'Block cookies' is not set to Always.
    Failing that - switch Safari extensions Off via Safari - Preferences - Extensions & test again

  • Opening html files inside jar

    Hi,
    I'm making a program where i have a set of help files in the form of html and i would like to open them when the user clicks the "Help" button and I used this code at first
    try
         Desktop.getDesktop().browse(new URI("resources/html/help.html"));
    catch (Exception ex)
         JOptionPane.showMessageDialog(null, "Could not open help.html in default browser\n", "Error", JOptionPane.ERROR_MESSAGE);
    }However after I made the jar and tried to execute on another computer however, it wouldn't work and would display the error message. I was wondering if there was some way that I could open the help.html in their default browser, or maybe a frame if that works, from the jar and have my program still be platform independent?

    ok so i just realized that it doesn't make sense for a program outside the jar, like IE or Firefox, to be able to access and open a file inside of the jar. I am now looking for suggestions on how to work around this problem for my program to be able to have a simple help system located inside the jar that can be loaded during runtime.
    Thanks for your suggestions.

  • I used tag to show PDF file inside my JSP page, It is working properly in IE but nothing shows in Mozilla. What should I do?

    I've used to display a PDF file inside my JSP page. It is working fine in IE. However, many of users of this application are using Mozilla and the platform is Ubuntu so it is vital that the file is shown in Mozilla as well. How can I solve this problem.
    == This happened ==
    Every time Firefox opened
    == I run my jsp page

    Such conditional code will only work in IE and not in other browsers like Firefox.
    You can ask questions and advice about web development at the mozillaZine Web Development/Standards Evangelism forum.<br />
    A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.<br />
    The helpers at that forum are more knowledgeable about web development issues.<br />
    You need to register at the mozillaZine forum site in order to post at that forum.<br />
    See http://forums.mozillazine.org/viewforum.php?f=25

  • File not showing up inside iTune

    Hi. I have some albums I bought from iTunes store that came with a pdf album liner file. The pdf liner used to show up inside iTunes, but they no longer do, even though they are inside the correct folder and can be seen via Finder. When I add them to iTunes library via File -> Add to Library the liner just gets moved to Unknown Artist/Unknown Album folder.
    How do I add the pdf liner files so that they can be seen from inside iTunes within the correct album? Thanks.

    Apple won't merge Apple IDs

Maybe you are looking for