KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mc4j > console > swing > SectionHolder


1 /*
2  * Copyright 2002-2005 Greg Hinkle
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package org.mc4j.console.swing;
17
18 import org.jdesktop.swingx.JXTaskPane;
19
20 import java.awt.*;
21
22 /**
23  * @author Greg Hinkle (ghinkle@users.sourceforge.net), Dec 27, 2005
24  * @version $Revision: 570 $($Author: ghinkl $ / $Date: 2006-04-12 15:14:16 -0400 (Wed, 12 Apr 2006) $)
25  */

26 public class SectionHolder extends JXTaskPane {
27
28     public SectionHolder() {
29 // setMaximumSize(new Dimension(Short.MAX_VALUE,(int)
30
// getMaximumSize().width));
31

32         setAlignmentX(Component.LEFT_ALIGNMENT);
33     }
34 }
35
Popular Tags