изменения в форме
This commit is contained in:
parent
a3fd9f7327
commit
42ebda8b47
@ -123,7 +123,7 @@ public class FormMapWithSetWarships extends JFrame{
|
||||
fs.setAcceptAllFileFilterUsed(false);
|
||||
FileNameExtensionFilter filter = new FileNameExtensionFilter(".txt file", "txt");
|
||||
fs.addChoosableFileFilter(filter);
|
||||
fs.setDialogTitle("Загрузка");
|
||||
fs.setDialogTitle("Load");
|
||||
int result = fs.showSaveDialog(null);
|
||||
if (result == JFileChooser.APPROVE_OPTION) {
|
||||
File selectedFile = fs.getSelectedFile();
|
||||
@ -146,7 +146,7 @@ public class FormMapWithSetWarships extends JFrame{
|
||||
fs.setAcceptAllFileFilterUsed(false);
|
||||
FileNameExtensionFilter filter = new FileNameExtensionFilter(".txt file", "txt");
|
||||
fs.addChoosableFileFilter(filter);
|
||||
fs.setDialogTitle("Сохранение карты");
|
||||
fs.setDialogTitle("SaveMap");
|
||||
int result = fs.showSaveDialog(null);
|
||||
if (result == JFileChooser.APPROVE_OPTION) {
|
||||
File selectedFile = fs.getSelectedFile();
|
||||
@ -168,7 +168,7 @@ public class FormMapWithSetWarships extends JFrame{
|
||||
fs.setAcceptAllFileFilterUsed(false);
|
||||
FileNameExtensionFilter filter = new FileNameExtensionFilter(".txt file", "txt");
|
||||
fs.addChoosableFileFilter(filter);
|
||||
fs.setDialogTitle("Загрузка карты");
|
||||
fs.setDialogTitle("LoadMap");
|
||||
int result = fs.showSaveDialog(null);
|
||||
if (result == JFileChooser.APPROVE_OPTION) {
|
||||
File selectedFile = fs.getSelectedFile();
|
||||
|
Loading…
Reference in New Issue
Block a user