1
我讀過File Browser Gui的教程,但是如果strucutre文件夾改變了,程序不能動態重載,如何在File Browser GUI中創建刷新/重載功能?
這裏我uncomplete代碼
如何在基於Jtree/Jtable的文件列表中創建刷新/重新加載?
refreshPath = new JButton("Refresh");
refreshPath.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent ae) {
....
}
});
toolBar.add(refreshPath);