From 42ebda8b47ba4189da58044c24e033cf2657fed1 Mon Sep 17 00:00:00 2001 From: Hells Hound Date: Tue, 13 Dec 2022 22:53:22 +0400 Subject: [PATCH] =?UTF-8?q?=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D1=8F=20=D0=B2=20=D1=84=D0=BE=D1=80=D0=BC=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/FormMapWithSetWarships.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/FormMapWithSetWarships.java b/src/FormMapWithSetWarships.java index a099a4c..d360886 100644 --- a/src/FormMapWithSetWarships.java +++ b/src/FormMapWithSetWarships.java @@ -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();