MCPcopy Index your code
hub / github.com/adolfintel/NoteBot / newNote

Method newNote

StickyNotes/src/com/dosse/stickynotes/Main.java:240–248  ·  view source on GitHub ↗

creates a new empty note @return the newly created note

()

Source from the content-addressed store, hash-verified

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

Callers 3

actionPerformedMethod · 0.95
keyPressedMethod · 0.95
mainMethod · 0.95

Calls 1

saveStateMethod · 0.95

Tested by

no test coverage detected