- /*
- * @(#)WindowsUtils.java 1.6 01/02/09
- *
- * Copyright 1999-2001 Sun Microsystems, Inc. All Rights Reserved.
- *
- * This software is the proprietary information of Sun Microsystems, Inc.
- * Use is subject to license terms.
- *
- */
-
- package com.sun.java.swing.plaf.windows;
-
- import javax.swing.plaf.*;
- import javax.swing.*;
- import java.awt.*;
-
- /**
- * This is a collection of utility methods needed by the Windows L&F
- *
- * @version 1.6 02/09/01
- * @author Brian Beck
- */
-
- class WindowsUtils {
- /*
- * Convenience function for determining ComponentOrientation. Helps us
- * avoid having Munge directives throughout the code.
- */
- static boolean isLeftToRight( Component c ) {
- return c.getComponentOrientation().isLeftToRight();
- }
- }