Windows File viewer in JavaFX?

Is there any built in JAVAFX which is similar to the file viewer in windows?
Edited by: 901246 on Dec 8, 2011 2:14 AM
Edited by: 901246 on Dec 8, 2011 2:15 AM

The Swing FileChooser is rendered by Swing, so for a given app it will be look the same no matter the platform.
The JavaFX FileChooser is rendered by the native platform, so every app on a given platform will have the same looking filechooser, but for a given app the look of the file chooser will differ from platform to platform.
As a user, I much prefer applications to use the native platform file chooser rather than creating their own.
is there something similar to this in javafxIt's possible to create a FileChooser control in JavaFX which is implemented as a JavaFX Stage with nodes, but I am not aware of the existence of one at the moment - it's not part of the base platform yet => feature requests may be created at http://javafx-jira.kenai.com.
Swings has a FilePreviewer which can be used to display the preview of the files selected.. can i integrate this in a JAVAFX applicationYou can launch a Swing FileChooser from a JavaFX application.
I copied the code from a Swing demo (http://docs.oracle.com/javase/tutorial/uiswing/examples/components/index.html#FileChooserDemo) into a parallel directory to the following JavaFX application and ran the application and it launched the JavaFX UI with a Swing FileChooser fine.
import javafx.application.Application;
import javafx.scene.*;
import javafx.stage.Stage;
public class FilePreview extends Application {
  public static void main(String[] args) throws Exception { launch(args); }
  public void start(final Stage stage) throws Exception {
    stage.setScene(new Scene(new Group(), 300, 200));
    stage.show();
    FileChooserDemo.main(new String[] {});
}If you go this route just watch out for threading issues and make use of JavaFX's Task or Platform.runLater interfaces and SwingUtilities invokeLater routines to make sure the Swing thread isn't touching JavaFX components and vice-versa.

Similar Messages

  • How to view hidden window file in a memory card?

    I am connecting a memory card to a mac
    But i cant view the hidden files in it
    It is a window file
    Can anyone help ?=)

    Symbian^3 currently has no way of looking at stored messages in the memory card. If you would like to access them, load the memory card back to your old phone and sync them to your PC via Ovi suite where these messages can be read on the program. You can move these to the C6-01 via Ovi Suite should you desire to do so.
    If you find my post helpful please click the green star on the left under the avatar. Thanks.

  • Bridge opens JPEG files in Windows Photo Viewer not Photoshop

    How do I tell Bridge to open my JPEG files in Photoshop and not Windows Photo Viewer? I see that Windows Photo Viewer is selected as the default in my preferences and I do not see Photoshop as an option. I do see COM Surrogate 6.1. I just upgraded from CS5 to CS6 yesterday and I am just noticing this issue. I never dealth with this problem with CS5. Any suggestions? Thank you all for the help.

    If you deleted CS5 after installing CS6 you are one of the unfortunate that also fouled up the file associations. 
    The safest way to restore function is to uninstall CS6, run the Adobe script cleaner and reinstall.
    There is a registry fix that I include as an option, but on vacation so can not find that references.
    Some have had succes with running CCleaner, but registry cleaners can cause some problems of their own if the delete "good files".

  • View proof sheets in windows file manager

    Is there any way I can save proof sheets to my hard drive and later view them in Windows File Manager?

    Rob,
    Do you have any network dri'ves assigned, or lots of extra optical/hard-dri'ves?
    Check out this knowledgebase case to see if the information hel
    ps.
    Cat

  • Windows photo viewer - problem with JPEG files

    Can not open JPEG files and can not create JPEG files from other software (For example from Solidworks).
    When I try to right click on a JPEG, a notice window appears written: "Windows Explorer has stopped working - Windows is
    checking for a solution to the problem" and then the notice box disapears, the desktop appears and I can continue working. 
    From the other side - If I try to save as JPEG a screen of Solidworks (like a view of a part) the Solidworks falls but the JPEG
    is created (I can see its name in the directory I created it).
    I can open the JPEGS with the Paint software if I want but not with the Windows Photo Viewer.
    I have the feeling that the Windows Photo Viewer disapeared from my computer - just a feeling. 
    I will appreciate your assistance.
    Avi T. 2014

    Hi,
    According to your description,please  re-associate the .jpeg with Windows photo viewer.
    1.Open Control Panel\All Control Panel Items\Default Programs\Set Default Programs.
    2.Click Windows Photo Viewer, and choose defaults for this program, check the .jpeg, and then click Save.
    3.Next,click Windows Photo Viewer again, and click Set this program as default.
    As you said, when you tried to right click on a JPEG, Windows Explorer stopped working.
    I suggest you use ShellExview to remove the third-party shell extension.
    http://www.nirsoft.net/utils/shexview.html
    Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
    Regards,
    Kelvin Xu
    TechNet Community Support

  • Excessive disk usage when I drag the log file viewer window (why)?

    When I drag the Log File Viewer window in Gnome, I get huge amounts of hard disk usage and the hard drive makes a loud rumbling noise. This happens only while dragging the Log File Viewer window and no other windows (that I've noticed so far).
    Why is this happening?
    Last edited by trusktr (2012-01-11 05:27:54)

    Elements11DRC
    What version of Premiere Elements are you working with and on what computer operating system is it running?
    Can we assume by your selected ID, that the program is Premiere Elements 11?
    Pending further details, I will assume that you are working with Premiere Elements 11 on Windows 7, 8, or 8.1 64 bit.
    Where is this "My Videos" Folder - on a DVD disc being used as a DataDisc for video storage purposes?
    If so, Add Media/DVD Camera or Computer Drive/Video Importer and from there automatically into the project in Project Assets as well as on the Timeline.
    If your "My Videos" Folder is a folder on the computer hard drive, then Add Media/Files and Folders to get the video into Project Assets from where you drag the video to the Timeline.
    Now for the video that you are trying to import...what are its properties
    Video Compression
    Audio Compression
    Frame Size
    Frame Rate
    Interlaced or Progressive
    File Extension
    Pixel Aspect Ratio
    Probably answered the easiest by knowing the brand/model/settings of the camera that recorded the video.
    Prime interest, that video compression. It could be MotionJPEG which can be problematic for Premiere Elements. It could be AVCHD.avi which cannot be imported.
    We can go into greater detail on your project details once we rule in or out any of the factors mentioned above.
    By the way, what is the destination for this project....burn to disc DVD or Blu-ray...export to file saved to the computer hard drive...other?
    More later.
    Thanks.
    ATR

  • Need native InDesign file viewer for Windows

    We are evaluating the usage of InDesign as a layout programm for web sites. At the moment we do create our mock ups using Photoshop.
    A great thing about that: At least the flattened photoshop layout can be viewed by everybody in our company.
    Now - as we do have .indd files there is a desire to have a look on the work results without having a full copy of InDesign installed!
    At least for Mac there is http://www.code-line.com/software/sneakpeekpro/
    But we still need a file viewer für native InDesign files on Windows!
    Any suggestions?

    1. You can change the preview size of your documents in Preferences -- it's under File Handling. Other than most of the preferences, this is a system-wide setting, so you don't have to change it per document. Opening, then forcing a file to save (you have to change something or use Save As) will update the previews in the file. I've read that CS5 allows you to save a preview of more than the first spread.
    2. http://www.jongware.com/binaries/extractIdThumbnails.zip (Windows) -- drop an InDesign file on this, and it will extract the preview (or previews) into the same folder the file came from. Only works, of course, if there *are* previews in that file. Seems to work fine with CS4, I only have one or two CS3 / CS5 files to test with and it theoretically *should* work with those as well.
    This doesn't bring the count of InDesign viewers to '1', though. The file format of InDesign is WAY too complicated to make a 'real' file viewer.
    ... How about Bridge? Did you try that?

  • DW CS5 "Get" bug in expanded site files view

    Hi,
    I just installed the CS5 Design Premium trial and have been playing with Dreamweaver. Just wondering if anyone else is experiencing the following issue...
    When in expanded site files view (showing both local and remote), selecting a file on the REMOTE site and trying to "Get" the file does not download the remote file. It instead tries to retrieve the remote copy of the file(s) selected in the LOCAL file list pane.
    If no file is selected on the local file list, pressing "Get" after selecting a REMOTE file from the list brings up the "Are you sure you wish to get the entire site" dialog.
    Steps to reproduce:
    1. Open expanded site files view (local and remote)
    2. Click on a file in the remote file list. For testing purposes, click on a file in the LOCAL list first, then select a remote file
    3. Click the Get button or right click on the remote file and choose Get.
    DW should download the selected REMOTE file if that was the last selected file prior to executing the Get command. (this is the action that DW CS3/CS4 does)
    I have submitted this bug in the official Adobe bug reporting system, but I'm curious as to whether others can reproduce this bug.
    Thanks

    @Murray, I think I have discovered exactly where the bug lies and how you may be able to reproduce it yourself...
    @quantumlight - do you happen to have your Site Files panel UNDOCKED and in its own floating panel??
    I work with Dreamweaver on a dual/multi monitor setup. I have my split design/code view on one screen, and the site files and code inspector on a DETACHED Files panel on the 2nd monitor.
    I did a full DW prefences reset and everything went back to the factory setting, with the Files panel docked to the right hand side of the DW program window. With it docked, I opened the expanded/split site files view and IT WORKED NORMALLY as is expected.
    However, as soon as I UNDOCKED the Files panel into its own floating panel and expanded the file view, the bug appeared and selecting a REMOTE FILE and pressing Get, asked to either download a copy of the selected LOCAL file, or if no local file is selected it asks "Are you sure you want to get the entire site"
    Redocking the Files panel back to its original position makes the bug disappear.
    I have tested this on two Windows 7 machines and one Mac Snow Leopard machine, both with the CS5 11.0.2 updates installed.
    It seems it's a Windows version only bug as both Win7 machines produced the bug, with the Mac machine NOT presenting the bug in either docked or floating panel state.
    Hopefully the Adobe DW guys see this soon and can work on fixing this bug in the next update.
    Do you think i should re-submit my previous bug report with this updated discovery?

  • Using numbers 2.3 how do i split windows to view more than 1 spreadsheet at a time?

    using numbers 2.3 how do i split windows to view more than 1 spreadsheet at a time?

    Hi seth,
    Numbers vocabulary:
    Spreadsheets (aka: Document)
    contain one or more Sheets
    on each of which may be placed one or more Tables
    each of which contains one or more cells
    each of which may contain either data or a formula.
    Spreadsheets open in separate windows. Depending on the contents of each spreadsheet, and the scale at which you want to see it (and the size of your display), you can view more than one spreadsheet in the same manner as you can view more than one of any kind of document—open two documents in separate windows. Resize the windows to allow both to be viewed at the same time. Place and scale the individual documents to permit viewing the desired part of each
    Sheets within the same document cannot be displayed simultaneously. You can make and open a copy of the document, then open and view both copies as described above, but this introduces new opportunities to edit the wrong copy. You could Copy a Table from one part of the document, open Preview and go File > New from Clipboard to create a PDF copy of that table (readable, but not editable), and view the spreadsheet and pdf documents as described above.
    Tables can be rearranged, or have rows or columns (or both) hidden to permit simultaneous viewing of selected parts of both.
    A Table can have Table > Freeze Header Rows and Table > Freeze Header Columns set to keep these rows/columns visible as the rest of the table is scrolled. Or can have a range of rows (or columns) hidden to allow viewing of rows (columns) adjacent to that range visible on the same screen.
    Numbers does not support freezing of rows or columns other than Header rows and Header Columns.
    Regards,
    Barry

  • Can't open a link in a web page, goes immediately to down load and then when opened it shows downloaded to windows photo viewer, which won't open

    I open a web page, in the web page there is a link to open another link. I click on this link and the doc is 'downloaded' automatically , I click on the 'green arrow' download button at top of screen, the page opens and says 'windows photo viewer can't open the picture because photo viewer doesn't support this file format or you don't have the latest update to photo viewer'!! I just want to open the link. Grateful for advice.

    Where is that happening? Please provide the URL.

  • Can you tell me how I can ask for help with the following Indesign question:  I am a new Indesign user and a Creative Cloud member.  I was using the Window/Pages drop down window to view my pages alphabetically or by page number and also to determine whet

    I am a new Indesign user and a Creative Cloud member.  I was using the Window/Pages drop down window to view my pages alphabetically or by page number and also to determine whether or not my JPEG files were sufficiently HI-Res for the printer.  I don't know how I did it but somehow the window has changed so that now it does not have the alphabetical/numerical/Hi-Res information.  It just shows the pages in a two page spread in numerical order.  How can I restore the window so that I will be able to view the information as I did previously.
    Your help will be appreciated,
    Don Unwin
    [Personal Information Removed]

    The pages panel is not the place where you see this information.  You can customize the Links panel to show all sorts of things, including the page number, effective and actual ppi, and whether the link is OK or needs updating.

  • Officejet pro 8000 wireless will not print from windows photo viewer. all other diagnostics ok.

    OS is Windows 7 Home Premium x 64. All functions and printing are ok with this unit, excepting for printing through Windows Photo Viewer. Have latest software, drivers, etc., and all HP software and hardware diagnostic tools check out ok.
    Checked Windows event log, and get Event 350, PrintService - Document  failed to print and was deleted because of corruption in the spooled file. The associated driver is: . Try printing the document again.
    There is no additional info on this event listed in the Microsoft TechNet Events and Errors Message Reporting Center
    When this happens, all of the lights on the printer flash very rapidly.
    To correct, I clear the queue through Explorer, Troubleshoot, and unplug printer to reset.
    Any suggestions appreciated.
    Thanks

    FYI, I got this to work by treating my printer as a wired printer, even though it allegedly has wireless functionality. Luckily, my ohter devices can print to it wirelessly. At least I don't need to replace my printer just yet...

  • Windows Explorer View, Server 2012 and WebDAV

    I am using SharePoint Server 2013 on Windows Server 2012. I cannot get Windows Explorer View working from client machines on this server. These machines are Windows 8, running IE 10 (I am also having problems on my Windows 7 / IE 9 machine).
    I have done everything on the client that I have read about (Trusted Site, the WebClient services, the patch mentioned in a Kb article), but to no avail.
    The client machines CAN open Windows Explorer View on a SharePoint Foundation site that I have hosted on the internet, although in this instance they access the internet directly, rather than through the company network.
    Therefore, I take it that my problem lies either on our SharePoint server, or somewhere in the network. The Proxy does not seem to be a problem as this is bypassed for local sites.
    Somedody said for an earlier version of SharePoint that the WebDAV server role should be
    disabled (which seems counter-intuitive).  Does this make sense, or what else should I be looking at on either my server or in the network environment?

    Thanks for the reply.
    I get the standard message ("We're having a problem opening this location in File Explorer. Add this web site to your Trusted Sites list and try again"). I am not using HTTPS.
    I do not think that the WebDAV is irrelevant on the server, as there are two separate things there:
    Desktop Experience Feature, which installs the WebClient service to allow the server to use WebDAV, and
    WebDAV Publiching Role under Common HTTP functions
    Curiously, after removign the WebDAV Publishign Role, my Win7/IE9 pc (which is not logged on to my client's domain (although I access their network and use SharePoint in my browser) DOES allow Windows Explorer View.
    The domain PCs do not allow it, still.  They get challnged for a user name and password three times before they get the standard message.  But, I did test a machine of their connecting to an internet-hosted website, and it could use Explorer View.

  • Illustrator CC crashes on startup(windows event viewer message included)

    Windows event viewer shows like this...
    System
    Provider
    [ Name]
    Application Error
    EventID
    1000
    [ Qualifiers]
    0
    Level
    2
    Task
    100
    Keywords
    0x80000000000000
    TimeCreated
    [ SystemTime]
    2013-12-09T06:35:08.000000000Z
    EventRecordID
    71639
    Channel
    Application
    Computer
    HPNB-dhleeNB
    Security
    EventData
    Illustrator.exe
    17.0.0.260
    52822426
    ntdll.dll
    6.1.7601.18247
    521ea8e7
    c0000374
    000ce753
    a690
    01cef4a8afb2dd09
    C:\Program Files (x86)\Adobe\Adobe Illustrator CC\Support Files\Contents\Windows\Illustrator.exe
    C:\Windows\SysWOW64\ntdll.dll
    0b8a3ab7-609c-11e3-8e0d-005056c00008
    Please help.

    Problem solved.   Refer to below.
    3 posts
    Nov 25, 2013
    2.AlanDrVita, 
    Nov 26, 2013 9:16 AM   in reply to outdoorz
    Report
    I may have been able to resolve my issue. I held shift while opening Illustrator and opened it in a bare bones mode, then closed it and reopened it without getting the error message. Good luck to you.
    Was this helpful? Yes   No 

  • Images appear fine in Photoshop cs6 and cc, but print too dark, and also show too dark in Windows picture viewer. How can I correct this? Is this a Photoshop setting issue or what?

    Images appear fine in Photoshop cs6 and cc, but print too dark, and also show too dark in Windows picture viewer. How can I correct this? Is this a Photoshop setting issue or what?

    Ok, look at your files in Photoshop. What is the profile assigned to them? You can find this out by going to the Status bar at the bottom, clicking on the right-pointing triangle and choosing document Profile from the list.
    Then in Windows, go to your Control Panel > Color Management and add sRGB (if it isn't there) and select it as your default profile.
    I hope that will work.

Maybe you are looking for