diff options
| author | Joshua Rahm <joshua.rahm@colorado.edu> | 2015-01-30 17:11:48 -0700 |
|---|---|---|
| committer | Joshua Rahm <joshua.rahm@colorado.edu> | 2015-01-30 17:11:48 -0700 |
| commit | 1c5e38fe69ac8a6decbdd8abe93112f4e3369315 (patch) | |
| tree | 926cef8cb76d46862ed2c4ec7028720611e47476 /src/GUIComponents/WrapperPanel.java | |
| download | Modulus3D-1c5e38fe69ac8a6decbdd8abe93112f4e3369315.tar.gz Modulus3D-1c5e38fe69ac8a6decbdd8abe93112f4e3369315.tar.bz2 Modulus3D-1c5e38fe69ac8a6decbdd8abe93112f4e3369315.zip | |
added source
Diffstat (limited to 'src/GUIComponents/WrapperPanel.java')
| -rw-r--r-- | src/GUIComponents/WrapperPanel.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/GUIComponents/WrapperPanel.java b/src/GUIComponents/WrapperPanel.java new file mode 100644 index 0000000..c41c628 --- /dev/null +++ b/src/GUIComponents/WrapperPanel.java @@ -0,0 +1,22 @@ +/* */ package GUIComponents; +/* */ +/* */ import java.awt.Component; +/* */ import java.awt.FlowLayout; +/* */ import javax.swing.JPanel; +/* */ +/* */ public class WrapperPanel extends JPanel +/* */ { +/* */ public WrapperPanel(Component t) +/* */ { +/* 10 */ add(t); +/* */ } +/* */ public WrapperPanel(Component[] cArr) { +/* 13 */ super(new FlowLayout()); +/* 14 */ for (Component x : cArr) add(x); +/* */ } +/* */ } + +/* Location: Modulus.jar + * Qualified Name: GUIComponents.WrapperPanel + * JD-Core Version: 0.6.2 + */
\ No newline at end of file |