diff --git a/src/main/java/hae/component/board/Datatable.java b/src/main/java/hae/component/board/Datatable.java index 2626ba5..d36b2a1 100644 --- a/src/main/java/hae/component/board/Datatable.java +++ b/src/main/java/hae/component/board/Datatable.java @@ -193,6 +193,8 @@ public String getSelectedDataAtTable(JTable table) { if (!selectData.isEmpty()) { selectData.deleteCharAt(selectData.length() - 1); + } else { + return ""; } return selectData.toString();