litesoft
Diff Revisions
948
vs
950
for /trunk/Java/KeyHole/src/org/litesoft/aokeyhole/swing/simplecomponents/VerticalJPanel_NGs.java
|
@@ -1,18 +1,18 @@ |
1 |
|
- |
// This Source Code is in the Public Domain per: http://unlicense.org |
2 |
|
- |
package org.litesoft.aokeyhole.swing.simplecomponents; |
3 |
|
- |
|
4 |
|
- |
import org.litesoft.aokeyhole.swing.namevaluecomponents.*; |
5 |
|
- |
|
6 |
|
- |
import javax.swing.*; |
7 |
|
- |
import java.awt.*; |
8 |
|
- |
|
9 |
|
- |
public class VerticalJPanel_NGs extends JPanel implements VerticalGrowableIndicatingComponent { |
10 |
|
- |
public VerticalJPanel_NGs() { |
11 |
|
- |
super( new GridLayout( 0, 1, 0, 0 ) ); // Vertical |
12 |
|
- |
} |
13 |
|
- |
|
14 |
|
- |
@Override |
15 |
|
- |
public boolean growsVertically() { |
16 |
|
- |
return false; |
17 |
|
- |
} |
18 |
|
- |
} |
|
1 |
+ |
// This Source Code is in the Public Domain per: http://unlicense.org |
|
2 |
+ |
package org.litesoft.aokeyhole.swing.simplecomponents; |
|
3 |
+ |
|
|
4 |
+ |
import org.litesoft.aokeyhole.swing.namevaluecomponents.*; |
|
5 |
+ |
|
|
6 |
+ |
import javax.swing.*; |
|
7 |
+ |
import java.awt.*; |
|
8 |
+ |
|
|
9 |
+ |
public class VerticalJPanel_NGs extends JPanel implements VerticalGrowableIndicatingComponent { |
|
10 |
+ |
public VerticalJPanel_NGs() { |
|
11 |
+ |
super( new GridLayout( 0, 1, 0, 0 ) ); // Vertical |
|
12 |
+ |
} |
|
13 |
+ |
|
|
14 |
+ |
@Override |
|
15 |
+ |
public boolean growsVertically() { |
|
16 |
+ |
return false; |
|
17 |
+ |
} |
|
18 |
+ |
} |