|
|
@ -628,7 +628,7 @@ public class FileTableDataPane extends AbstractTableDataPane<FileTableData> { |
|
|
|
String filePath = getFilePathFromUrlOrLocal(); |
|
|
|
String filePath = getFilePathFromUrlOrLocal(); |
|
|
|
// 安全要求禁止 file 协议访问本地磁盘
|
|
|
|
// 安全要求禁止 file 协议访问本地磁盘
|
|
|
|
if (FileTableData.isInvalidFilePath(filePath)) { |
|
|
|
if (FileTableData.isInvalidFilePath(filePath)) { |
|
|
|
JOptionPane.showMessageDialog(this, |
|
|
|
FineJOptionPane.showMessageDialog(this, |
|
|
|
Toolkit.i18nText("Fine-Design_File_Table_Data_Path_Invalid"), |
|
|
|
Toolkit.i18nText("Fine-Design_File_Table_Data_Path_Invalid"), |
|
|
|
Toolkit.i18nText("Fine-Design_Basic_Widget_Error_Tip"), |
|
|
|
Toolkit.i18nText("Fine-Design_Basic_Widget_Error_Tip"), |
|
|
|
JOptionPane.ERROR_MESSAGE); |
|
|
|
JOptionPane.ERROR_MESSAGE); |
|
|
@ -798,7 +798,7 @@ public class FileTableDataPane extends AbstractTableDataPane<FileTableData> { |
|
|
|
} |
|
|
|
} |
|
|
|
String filePath = getFilePathFromUrlOrLocal(); |
|
|
|
String filePath = getFilePathFromUrlOrLocal(); |
|
|
|
if (FileTableData.isInvalidFilePath(filePath)) { |
|
|
|
if (FileTableData.isInvalidFilePath(filePath)) { |
|
|
|
JOptionPane.showMessageDialog(this, |
|
|
|
FineJOptionPane.showMessageDialog(this, |
|
|
|
Toolkit.i18nText("Fine-Design_File_Table_Data_Path_Invalid"), |
|
|
|
Toolkit.i18nText("Fine-Design_File_Table_Data_Path_Invalid"), |
|
|
|
Toolkit.i18nText("Fine-Design_Basic_Widget_Error_Tip"), |
|
|
|
Toolkit.i18nText("Fine-Design_Basic_Widget_Error_Tip"), |
|
|
|
JOptionPane.ERROR_MESSAGE); |
|
|
|
JOptionPane.ERROR_MESSAGE); |
|
|
|