KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ozoneDB > adminGui > main > LogoPanel


1 // You can redistribute this software and/or modify it under the terms of
2
// the Ozone Library License version 1 published by ozone-db.org.
3
//
4
// The original code and portions created by SMB are
5
// Copyright (C) 1997-@year@ by SMB GmbH. All rights reserved.
6
//
7
// $Id: $
8
package org.ozoneDB.adminGui.main;
9
10 import java.awt.*;
11 import javax.swing.*;
12
13 import org.ozoneDB.adminGui.res.Images;
14 import org.ozoneDB.adminGui.feature.FeaturePanel;
15
16 /**
17  * @author Per Nyfelt
18  */

19 public class LogoPanel extends FeaturePanel {
20
21     public LogoPanel() {
22         super();
23         setBackground(Color.white);
24         ImageIcon image = new ImageIcon(this.getClass().getResource(Images.IMAGE_LOGO_LARGE));
25         add(new JLabel(image), BorderLayout.CENTER);
26     }
27
28     public void activateFeature() {
29     }
30 }
Popular Tags