|
|
|
@ -445,6 +445,14 @@ public class FileTableDataPane extends AbstractTableDataPane<FileTableData> {
|
|
|
|
|
return suffixList.toArray(new String[suffixList.size()]); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private String getFileSuffixToString() { |
|
|
|
|
String suffixToString = fileTypeComboBox.getSelectedItem().toString().toLowerCase(); |
|
|
|
|
if (suffixToString.equalsIgnoreCase("excel")) { |
|
|
|
|
suffixToString = "xls"; |
|
|
|
|
} |
|
|
|
|
return suffixToString; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private ActionListener getFileTypeListener(final JPanel setPanel, final int width, final int height) { |
|
|
|
|
ActionListener fileTypeListener = new ActionListener() { |
|
|
|
|
public void actionPerformed(ActionEvent e) { |
|
|
|
@ -458,7 +466,7 @@ public class FileTableDataPane extends AbstractTableDataPane<FileTableData> {
|
|
|
|
|
} else { |
|
|
|
|
setPanel.add(textSetPanel(width,height), BorderLayout.NORTH); |
|
|
|
|
} |
|
|
|
|
String tipContent = Inter.getLocText("FR-Designer-Type_Parameter") + "reportlets/excel/FineReport${abc}." + getFileSuffix() + "<br>" |
|
|
|
|
String tipContent = Inter.getLocText("FR-Designer-Type_Parameter") + "reportlets/excel/FineReport${abc}." + getFileSuffixToString() + "<br>" |
|
|
|
|
+ "http://192.168.100.120:8080/XXServer/Report/excel${abc}.jsp<br>" + " </body> </html> "; |
|
|
|
|
tips.setText(tipContent); |
|
|
|
|
} |
|
|
|
|