diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-11 15:58:09 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-14 10:59:48 +0200 |
commit | ac5954d7c540f34702033d7d951d1d16cb96730a (patch) | |
tree | 310ba9698a10c74662de0714db683f932de32b0c /toolkit/test/accessibility | |
parent | 89c0a2b2f65beeb6f42d3334662100a13169a8d6 (diff) |
java: remove commented out code
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
Diffstat (limited to 'toolkit/test/accessibility')
7 files changed, 1 insertions, 26 deletions
diff --git a/toolkit/test/accessibility/AccessibilityTree.java b/toolkit/test/accessibility/AccessibilityTree.java index 091209e349c9..b21249a36466 100644 --- a/toolkit/test/accessibility/AccessibilityTree.java +++ b/toolkit/test/accessibility/AccessibilityTree.java @@ -54,11 +54,6 @@ public class AccessibilityTree maTree.setModel (aModel); maCellRenderer = new AccessibleTreeCellRenderer(); - // setCellRenderer (maCellRenderer); - - // allow editing of XAccessibleText interfaces - // setEditable (true); - // maTreeModel.addTreeModelListener( new TextUpdateListener() ); maTree.addMouseListener (new MouseListener (this)); diff --git a/toolkit/test/accessibility/AccessibilityWorkBench.java b/toolkit/test/accessibility/AccessibilityWorkBench.java index e466f568204c..98f9e5e2f750 100644 --- a/toolkit/test/accessibility/AccessibilityWorkBench.java +++ b/toolkit/test/accessibility/AccessibilityWorkBench.java @@ -126,7 +126,6 @@ public class AccessibilityWorkBench // Accessible Tree. maAccessibilityTree = new AccessibilityTree (); - // maAccessibilityTree.getComponent().setMinimumSize (new Dimension (250,300)); JScrollPane aTreeScrollPane = new JScrollPane( maAccessibilityTree.getComponent(), JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, @@ -136,7 +135,6 @@ public class AccessibilityWorkBench // Object view shows details about the currently selected accessible // object. maObjectViewContainer = new ObjectViewContainer (); - // maObjectViewContainer.setPreferredSize (new Dimension (300,100)); JScrollPane aObjectViewContainerScrollPane = new JScrollPane( maObjectViewContainer, JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, @@ -172,7 +170,6 @@ public class AccessibilityWorkBench // Text output area. maMessageArea = MessageArea.Instance (); - // maMessageArea.setPreferredSize (new Dimension (300,50)); // Split pane for the two views and the message area. JSplitPane aSplitPane = new JSplitPane (JSplitPane.VERTICAL_SPLIT, diff --git a/toolkit/test/accessibility/AccessibleContextHandler.java b/toolkit/test/accessibility/AccessibleContextHandler.java index a6f32efdd786..01770209b298 100644 --- a/toolkit/test/accessibility/AccessibleContextHandler.java +++ b/toolkit/test/accessibility/AccessibleContextHandler.java @@ -70,12 +70,6 @@ class AccessibleContextHandler case 2: XAccessible xParent = xContext.getAccessibleParent(); sChild = "Has parent: " + (xParent!=null ? "yes" : "no"); - /* if (xParent != ((AccTreeNode)aParent).getAccessible()) - { - sChild += " but that is inconsistent" - + "#" + xParent + " # " + ((AccTreeNode)aParent).getAccessible(); - } - */ break; case 3: sChild = ""; @@ -96,10 +90,6 @@ class AccessibleContextHandler else sChild += "no state set"; sChild = "State set: " + sChild; - - /* case 3: - sChild = "Child count: " + xContext.getAccessibleChildCount(); - break;*/ } } return new StringNode (sChild, aParent); diff --git a/toolkit/test/accessibility/AccessibleTextHandler.java b/toolkit/test/accessibility/AccessibleTextHandler.java index 6fc9b832eed0..731bfdca3905 100644 --- a/toolkit/test/accessibility/AccessibleTextHandler.java +++ b/toolkit/test/accessibility/AccessibleTextHandler.java @@ -501,7 +501,6 @@ abstract class TextActionDialog extends JDialog aNode = aNd; sName = sButtonText; init( sExplanation, aNode.getText().getText(), sButtonText ); -// setSize( getPreferredSize() ); setSize( 350, 225 ); } @@ -514,7 +513,6 @@ abstract class TextActionDialog extends JDialog // vertical stacking of the elements Container aContent = getContentPane(); - // aContent.setLayout( new BorderLayout() ); // label with explanation if( sExplanation.length() > 0 ) diff --git a/toolkit/test/accessibility/InformationWriter.java b/toolkit/test/accessibility/InformationWriter.java index 4fb968c8e0ec..90e7f73c7d8c 100644 --- a/toolkit/test/accessibility/InformationWriter.java +++ b/toolkit/test/accessibility/InformationWriter.java @@ -310,9 +310,6 @@ public class InformationWriter else MessageArea.println ("object has no accessible context."); - // showInfo (xContext); - // showServices (xContext); - // showInterfaces (xContext); } catch (Exception e) { diff --git a/toolkit/test/accessibility/TextLogger.java b/toolkit/test/accessibility/TextLogger.java index f26ecd164b28..f58b233fcac1 100644 --- a/toolkit/test/accessibility/TextLogger.java +++ b/toolkit/test/accessibility/TextLogger.java @@ -27,8 +27,7 @@ class TextLogger public TextLogger () throws java.io.IOException { -// maDocument = getEditorKit().createDefaultDocument(); - super ("http://localhost"); + super ("http://localhost"); try { // setPage (new URL ("http://www.spiegel.de")); diff --git a/toolkit/test/accessibility/ov/ObjectViewContainer.java b/toolkit/test/accessibility/ov/ObjectViewContainer.java index 0ce15e629eaa..e8d6272ad906 100644 --- a/toolkit/test/accessibility/ov/ObjectViewContainer.java +++ b/toolkit/test/accessibility/ov/ObjectViewContainer.java @@ -45,7 +45,6 @@ public class ObjectViewContainer System.out.println ("ObjectViewContainer"); RegisterView (ContextView.class); - // RegisterView (StateSetView.class); RegisterView (FocusView.class); RegisterView (TextView.class); } |