01: /*
02: * WbToolbarSeparator.java
03: *
04: * This file is part of SQL Workbench/J, http://www.sql-workbench.net
05: *
06: * Copyright 2002-2008, Thomas Kellerer
07: * No part of this code maybe reused without the permission of the author
08: *
09: * To contact the author please send an email to: support@sql-workbench.net
10: *
11: */
12: package workbench.gui.components;
13:
14: import java.awt.Dimension;
15:
16: import javax.swing.JPanel;
17:
18: /**
19: *
20: * @author support@sql-workbench.net
21: */
22: public class WbToolbarSeparator extends JPanel {
23:
24: public WbToolbarSeparator() {
25: Dimension d = new Dimension(7, 16);
26: this .setPreferredSize(d);
27: this .setMinimumSize(d);
28: this .setMaximumSize(new Dimension(7, 24));
29: this
30: .setBorder(new DividerBorder(
31: DividerBorder.VERTICAL_MIDDLE));
32: }
33:
34: }
|