aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/awt/ComponentOrientation.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/awt/ComponentOrientation.java')
-rw-r--r--libjava/java/awt/ComponentOrientation.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/libjava/java/awt/ComponentOrientation.java b/libjava/java/awt/ComponentOrientation.java
index 739db00..8cc0664 100644
--- a/libjava/java/awt/ComponentOrientation.java
+++ b/libjava/java/awt/ComponentOrientation.java
@@ -15,6 +15,10 @@ import java.util.ResourceBundle;
public class ComponentOrientation implements java.io.Serializable
{
+ // Here is a wild guess.
+ private static int HORIZONTAL_ID = 1 << 0,
+ LEFT_TO_RIGHT_ID = 1 << 1;
+
public static final ComponentOrientation LEFT_TO_RIGHT
= new ComponentOrientation(HORIZONTAL_ID & LEFT_TO_RIGHT_ID);
public static final ComponentOrientation RIGHT_TO_LEFT
@@ -26,10 +30,6 @@ public class ComponentOrientation implements java.io.Serializable
// correct values?
int orientation;
- // Here is a wild guess.
- private static int HORIZONTAL_ID = 1 << 0,
- LEFT_TO_RIGHT_ID = 1 << 1;
-
ComponentOrientation(int orientation)
{
this.orientation = orientation;