diff options
Diffstat (limited to 'NET/worlds/console/Filler.java')
| -rw-r--r-- | NET/worlds/console/Filler.java | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/NET/worlds/console/Filler.java b/NET/worlds/console/Filler.java new file mode 100644 index 0000000..55e3c54 --- /dev/null +++ b/NET/worlds/console/Filler.java @@ -0,0 +1,43 @@ +/* */ package NET.worlds.console; +/* */ +/* */ import java.awt.Dimension; +/* */ import java.awt.Panel; +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ public class Filler +/* */ extends Panel +/* */ { +/* */ private static final long serialVersionUID = 2578188264762528538L; +/* */ int wForced; +/* */ int hForced; +/* */ +/* */ public Filler(int w, int h) +/* */ { +/* 24 */ this.wForced = w; +/* 25 */ this.hForced = h; +/* */ } +/* */ +/* */ public Dimension getPreferredSize() +/* */ { +/* 30 */ return getMinimumSize(); +/* */ } +/* */ +/* */ public Dimension getMinimumSize() +/* */ { +/* 35 */ return new Dimension(this.wForced, this.hForced); +/* */ } +/* */ } + + +/* Location: C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\console\Filler.class + * Java compiler version: 6 (50.0) + * JD-Core Version: 0.7.1 + */
\ No newline at end of file |