From d4c1ddcc90c1e2e8660598fc36b3772d2bff6816 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 15 May 2008 23:08:33 +0000 Subject: 1 Moved the stuff to trunk! --- sources/utils/VSInfoArea.java | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 sources/utils/VSInfoArea.java (limited to 'sources/utils/VSInfoArea.java') diff --git a/sources/utils/VSInfoArea.java b/sources/utils/VSInfoArea.java new file mode 100644 index 0000000..9d3600e --- /dev/null +++ b/sources/utils/VSInfoArea.java @@ -0,0 +1,26 @@ +package utils; + +import java.awt.*; +import javax.swing.*; +import javax.swing.border.*; + +public class VSInfoArea extends JTextPane { + public VSInfoArea() { + initialize(); + } + + public VSInfoArea(String text) { + setText(text); + initialize(); + } + + private void initialize() { + setOpaque(false); + setBorder(null); + setFocusable(false); + setBorder(new CompoundBorder( + new LineBorder(Color.BLACK), + new EmptyBorder(15, 15, 15, 15))); + setBackground(Color.WHITE); + } +} -- cgit v1.2.3