[英]JFileChooser showing the directory at the top just like in Windows
有沒有辦法像Windows中那樣使JFileChooser在對話框頂部顯示目錄字符串? 我需要它,是因為這樣,用戶可以粘貼所需的值,而不是每次都遍歷層次結構。
PS:如果可能,我想避免使用自定義FileChoosers。
我想要的是:
我有的:
最好的解決方案是使用JavaFX
的FileChooser
。 它具有模擬Windows文件對話框所需的所有功能。
http://docs.oracle.com/javafx/2/api/javafx/stage/FileChooser.html
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.