()
| 259 | } |
| 260 | |
| 261 | private void RecreateTable() throws Exception { |
| 262 | int option = JOptionPane.showConfirmDialog(null, "packetsテーブルの形式が更新されているため\n現在のテーブルを削除して再起動しても良いですか?", |
| 263 | "テーブルの更新", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE); |
| 264 | if (option == JOptionPane.YES_OPTION) { |
| 265 | |
| 266 | database.dropTable(Packet.class); |
| 267 | dao = database.createTable(Packet.class); |
| 268 | } |
| 269 | } |
| 270 | |
| 271 | @Override |
| 272 | public void propertyChange(PropertyChangeEvent evt) { |
no test coverage detected