JTree File Filter and Folder Filter
问题 I want to have a JTree which display's all the files with only ".h" extension in my current directory, and it should display all the folders, except a folder named 'System Volume Information', in my current directory, here's my code, what addition.. updation i need to do ?? import java.awt.BorderLayout; import java.awt.Container; import java.io.File; import java.util.Collections; import java.util.Vector; import javax.swing.BoxLayout; import javax.swing.JFrame; import javax.swing.JPanel;