setLocation method is overridden to force the note to stay on the screen @param x new x location @param y new y location
(int x, int y)
| 566 | * @param y new y location |
| 567 | */ |
| 568 | @Override |
| 569 | public void setLocation(int x, int y) { |
| 570 | setBounds(x, y, getWidth(), getHeight()); |
| 571 | } |
| 572 | |
| 573 | /** |
| 574 | * setLocation method is overridden to force the note to stay on the screen |
no test coverage detected