Andersson Melo
Andersson Melo

Reputation: 764

"How to build a user interface similar to Windows Explorer in Java?"

I need develop a Java UI similar to windows explorer. The interface should have itens like icons and drag'n drop feature.

Upvotes: 1

Views: 2647

Answers (4)

Brian S
Brian S

Reputation: 5056

As a starting point, you may want to look at the source code for javax.swing.JFileChooser. The JFileChooser class produces much of what you're looking for, though it's designed for things like "open file(s)" and "save file" dialogs, rather than an explorer window.

The source for JFileChooser is available in the JDK distribution from Sun, or you can find it online.

Upvotes: 0

bentham
bentham

Reputation: 1717

maybe you should google "Java look and feel" here is a link that can help you: http://download-llnw.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html

Upvotes: 0

Jim Garrison
Jim Garrison

Reputation: 86774

These things are all possible in Java, but your question is much too vague for a specific answer. You will have to learn a UI toolkit such as AWT, Swing, SWT, etc. The toolkit will provide components from which you can build such a UI. You will probably even find pre-built systems if you do a little research with your favorite search engine.

SO is a place where you can ask specific questions that need specific answers while you are learning the UI toolkit(s).

Upvotes: 1

Related Questions