Add JFileChooser to Eclipse Window Builder

Carol.Kar picture Carol.Kar · Jun 13, 2014 · Viewed 22.5k times · Source

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?

Answer

Arijit picture Arijit · Jun 13, 2014

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

  1. Go to system and click on Choose Component

enter image description here

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

enter image description here

For further details see this post JFileChooser and eclipse