aboutsummaryrefslogtreecommitdiff
path: root/libjava/javax/swing/Box.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/javax/swing/Box.java')
-rw-r--r--libjava/javax/swing/Box.java11
1 files changed, 6 insertions, 5 deletions
diff --git a/libjava/javax/swing/Box.java b/libjava/javax/swing/Box.java
index eee96b1c..d2faeac 100644
--- a/libjava/javax/swing/Box.java
+++ b/libjava/javax/swing/Box.java
@@ -47,9 +47,10 @@ import javax.accessibility.Accessible;
*/
public class Box extends JComponent implements Accessible
{
- Box(int a)
- {
- setLayout(new BoxLayout(this,
- a));
- }
+ private static final long serialVersionUID = 1525417495883046342L;
+
+ public Box(int a)
+ {
+ setLayout(new BoxLayout(this, a));
+ }
}