creates a new empty note @return the newly created note
()
| 238 | * @return the newly created note |
| 239 | */ |
| 240 | public static Note newNote() { |
| 241 | synchronized (notes) { |
| 242 | Note n = new Note(); |
| 243 | n.setVisible(true); |
| 244 | notes.add(n); |
| 245 | saveState(); |
| 246 | return n; |
| 247 | } |
| 248 | } |
| 249 | |
| 250 | /** |
| 251 | * deletes the specified note |
no test coverage detected