diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-09-09 01:44:22 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-09-09 01:44:22 +0000 |
commit | 67c514c445452ba2d66cdbfe4fc0ca4b439fa2ef (patch) | |
tree | d13fb954777a5fa058ac67149073bc45141df2bb /scripting | |
parent | cf46a90dfa38a19f96507375dbe111e700815ff7 (diff) |
INTEGRATION: CWS ooo19126 (1.2.90); FILE MERGED
2005/09/05 12:05:37 rt 1.2.90.1: #i54170# Change license header: remove SISSL
Diffstat (limited to 'scripting')
-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); + } + +} |