File opening dialog box with Eclipse Visual Editor
Is there an open file dialog box in Eclipse's Visual Editor? Like the windows or linux Open File 开发者_运维百科dialog box.
You open an existing file with the Visual Editor. Check the Right-click -> "Open With..." dialogue.
If you are building a Swing GUI then you can use a JFileChooser Dialog. I am not sure that there is a visual widget for this in the VE but you do have an option to add any bean using the Choose Bean option. This article has a bit about using Choose Bean. However, I think it would be far simpler to do the File Chooser by code in response to an event such as a button click.
精彩评论