diff options
Diffstat (limited to 'toolkit/test/accessibility')
5 files changed, 0 insertions, 9 deletions
diff --git a/toolkit/test/accessibility/AccessibilityTreeModel.java b/toolkit/test/accessibility/AccessibilityTreeModel.java index c9d30819949c..a7cbbaf13e70 100644 --- a/toolkit/test/accessibility/AccessibilityTreeModel.java +++ b/toolkit/test/accessibility/AccessibilityTreeModel.java @@ -208,8 +208,6 @@ public class AccessibilityTreeModel AccessibleTreeNode aChildNode = null; try { - boolean bRet = false; - // First make sure that the accessible object does not already have // a representation. aChildNode = maNodeMap.GetNode(xNewChild); diff --git a/toolkit/test/accessibility/AccessibilityWorkBench.java b/toolkit/test/accessibility/AccessibilityWorkBench.java index 43365d5a9fe3..31ff92287fd4 100644 --- a/toolkit/test/accessibility/AccessibilityWorkBench.java +++ b/toolkit/test/accessibility/AccessibilityWorkBench.java @@ -120,9 +120,6 @@ public class AccessibilityWorkBench { setSize (new Dimension (8000,600)); - JScrollPane aScrollPane; - GridBagConstraints constraints; - // Create new layout. GridBagLayout aLayout = new GridBagLayout (); getContentPane().setLayout (aLayout); @@ -186,7 +183,6 @@ public class AccessibilityWorkBench // Button bar. maButtonBar = new JPanel(); - GridBagLayout aButtonLayout = new GridBagLayout (); maButtonBar.setLayout (new FlowLayout()); addGridElement (maButtonBar, 0,3, 2,1, 1,0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL); diff --git a/toolkit/test/accessibility/Canvas.java b/toolkit/test/accessibility/Canvas.java index 116da3e12dbc..d584770d964b 100644 --- a/toolkit/test/accessibility/Canvas.java +++ b/toolkit/test/accessibility/Canvas.java @@ -392,7 +392,6 @@ class Canvas protected CanvasShape FindCanvasShapeUnderMouse (MouseEvent e) { - int nObjects = maObjects.size(); CanvasShape aObjectUnderMouse = null; int nCount = maObjectList.size(); for (int i=nCount-1; i>=0; --i) diff --git a/toolkit/test/accessibility/CanvasShape.java b/toolkit/test/accessibility/CanvasShape.java index f9a036bc543a..648ab7a38423 100644 --- a/toolkit/test/accessibility/CanvasShape.java +++ b/toolkit/test/accessibility/CanvasShape.java @@ -118,7 +118,6 @@ class CanvasShape try{ // Transform the object's position and size according to the // specified offset and scale. - Point aLocation = new Point(); maShape = new Rectangle2D.Double ( maPosition.x * nScaleFactor + nXOffset, maPosition.y * nScaleFactor + nYOffset, diff --git a/toolkit/test/accessibility/InformationWriter.java b/toolkit/test/accessibility/InformationWriter.java index 994d84ca42be..4fb968c8e0ec 100644 --- a/toolkit/test/accessibility/InformationWriter.java +++ b/toolkit/test/accessibility/InformationWriter.java @@ -258,7 +258,6 @@ public class InformationWriter + xContext.getAccessibleDescription()); MessageArea.println (sIndent + "Role : " + xContext.getAccessibleRole()); - String sHasParent; if (xContext.getAccessibleParent() != null) { MessageArea.println (sIndent + "Has parent : yes"); |