diff options
Diffstat (limited to 'scripting/workben')
-rw-r--r-- | scripting/workben/installer/Banner.java | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/scripting/workben/installer/Banner.java b/scripting/workben/installer/Banner.java index 082693675cd9..c6d0f0b0bd5e 100644 --- a/scripting/workben/installer/Banner.java +++ b/scripting/workben/installer/Banner.java @@ -1,30 +1,30 @@ package installer; -import java.awt.*;
-
-public class Banner extends Canvas
-{
- Image img;
- Banner()
- {
- setBackground(Color.white);
- img = Toolkit.getDefaultToolkit().createImage("sidebar.jpg");
- }
-
- public void paint(Graphics g)
- {
- g.drawImage(img, 0, 0, Color.white, null);
- g.dispose();
- }
-
- public void update(Graphics g)
- {
- super.update(g);
- }
-
- public Dimension getPreferredSize()
- {
- return new Dimension(137, 358);
- }
-
-}
+import java.awt.*; + +public class Banner extends Canvas +{ + Image img; + Banner() + { + setBackground(Color.white); + img = Toolkit.getDefaultToolkit().createImage("sidebar.jpg"); + } + + public void paint(Graphics g) + { + g.drawImage(img, 0, 0, Color.white, null); + g.dispose(); + } + + public void update(Graphics g) + { + super.update(g); + } + + public Dimension getPreferredSize() + { + return new Dimension(137, 358); + } + +} |