(int x, int y)
| 22 | } |
| 23 | |
| 24 | public boolean contains(int x, int y) { |
| 25 | if (shape == null || !shape.getBounds().equals(getBounds())) { |
| 26 | shape = new RoundRectangle2D.Float(0, 0, getWidth()-1, getHeight()-1, 15, 15); |
| 27 | } |
| 28 | return shape.contains(x, y); |
| 29 | } |
| 30 | } |
no outgoing calls
no test coverage detected