|
@@ -1518,7 +1518,6 @@ public class GUI<E> implements CategoryListener {
|
|
|
JFileChooser fileChooser = new JFileChooser();
|
|
|
JFrame test = new JFrame();
|
|
|
FileNameExtensionFilter holonFilter = new FileNameExtensionFilter("Holon Save File(*.holon)", "holon");
|
|
|
- fileChooser.addChoosableFileFilter(holonFilter);
|
|
|
fileChooser.setFileFilter(holonFilter);
|
|
|
|
|
|
if (fileChooser.showOpenDialog(test) == JFileChooser.APPROVE_OPTION) {
|
|
@@ -1564,7 +1563,6 @@ public class GUI<E> implements CategoryListener {
|
|
|
JFileChooser fileChooser = new JFileChooser();
|
|
|
JFrame test = new JFrame();
|
|
|
FileNameExtensionFilter holonFilter = new FileNameExtensionFilter("Holon Save File(*.holon)", "holon");
|
|
|
- fileChooser.addChoosableFileFilter(holonFilter);
|
|
|
fileChooser.setFileFilter(holonFilter);
|
|
|
|
|
|
if (fileChooser.showSaveDialog(test) == JFileChooser.APPROVE_OPTION) {
|