简体   繁体   中英

Add JFileChooser to Eclipse Window Builder

I am new to eclipse window builder and want to create a simple GUI with it. I want to add the JFileChooser , however it cannot be found in the palette, even though it's a Swing component. I searched through my components, but there is no file chooser.

How can I add the JFileChooser to Eclipse Window Builder?

There is no JFileChooser present by default. But you can add it. Follow the steps:

  1. Go to system and click on Choose Component

在此输入图像描述

2.. Now search for your component and add it.

在此输入图像描述

For further details see this post JFileChooser and eclipse

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM