1030 |
} |
} |
1031 |
|
|
1032 |
origin = new Point(0, 0); |
origin = new Point(0, 0); |
1033 |
SwingUtilities.convertPointToScreen(ssd, toolBar); |
if (toolBar.isShowing()) |
1034 |
|
SwingUtilities.convertPointToScreen(ssd, toolBar); |
1035 |
|
|
1036 |
if (! (SwingUtilities.getAncestorOfClass(Window.class, toolBar) instanceof UIResource)) |
if (! (SwingUtilities.getAncestorOfClass(Window.class, toolBar) instanceof UIResource)) |
1037 |
// Need to know who keeps the toolBar if it gets dragged back into it. |
// Need to know who keeps the toolBar if it gets dragged back into it. |
1038 |
origParent = toolBar.getParent(); |
origParent = toolBar.getParent(); |
1039 |
|
|
1040 |
SwingUtilities.convertPointToScreen(origin, toolBar); |
if (toolBar.isShowing()) |
1041 |
|
SwingUtilities.convertPointToScreen(origin, toolBar); |
1042 |
|
|
1043 |
isDragging = true; |
isDragging = true; |
1044 |
|
|