diff options
Diffstat (limited to 'odk/examples/DevelopersGuide/Accessibility/GraphicalDisplay.java')
-rw-r--r-- | odk/examples/DevelopersGuide/Accessibility/GraphicalDisplay.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/odk/examples/DevelopersGuide/Accessibility/GraphicalDisplay.java b/odk/examples/DevelopersGuide/Accessibility/GraphicalDisplay.java index 37579e1c3242..b3645353c2d9 100644 --- a/odk/examples/DevelopersGuide/Accessibility/GraphicalDisplay.java +++ b/odk/examples/DevelopersGuide/Accessibility/GraphicalDisplay.java @@ -2,7 +2,7 @@ * * The Contents of this file are made available subject to the terms of * the BSD license. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * All rights reserved. * @@ -29,7 +29,7 @@ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * + * *************************************************************************/ import javax.swing.*; @@ -112,10 +112,10 @@ public class GraphicalDisplay XAccessible xParent = xContext.getAccessibleParent(); if (xParent != null) drawAccessibleObject (g, xParent.getAccessibleContext(), Color.GRAY); - + // When the context supports the XAccessibleComponent interface // then draw its outline. - XAccessibleComponent xComponent = + XAccessibleComponent xComponent = (XAccessibleComponent)UnoRuntime.queryInterface( XAccessibleComponent.class, xContext); if (xComponent != null) |