| 1051 | /// |
| 1052 | /// this method was replaced by getDragRegionStatus |
| 1053 | @Override |
| 1054 | public boolean isDragRegion(int x, int y) { |
| 1055 | if (getMenuBar().isDragRegion(x, y)) { |
| 1056 | return true; |
| 1057 | } |
| 1058 | if (formLayeredPane != null && formLayeredPane.isDragRegion(x, y)) { |
| 1059 | return true; |
| 1060 | } |
| 1061 | Container actual = getActualPane(); |
| 1062 | Component c = actual.getComponentAt(x, y); |
| 1063 | while (c != null && c.isIgnorePointerEvents()) { |
| 1064 | c = c.getParent(); |
| 1065 | } |
| 1066 | return c != null && c.isDragRegion(x, y); |
| 1067 | } |
| 1068 | |
| 1069 | /// Indicates if the section within the X/Y area is a "drag region" where |
| 1070 | /// we expect people to drag or press in which case we |