source: src/main/java/genius/gui/panels/VflowPanelWithBorder.java

Last change on this file was 1, checked in by Wouter Pasman, 6 years ago

Initial import : Genius 9.0.0

File size: 419 bytes
Line 
1package genius.gui.panels;
2
3import javax.swing.BorderFactory;
4import javax.swing.BoxLayout;
5import javax.swing.JPanel;
6
7/**
8 * vertical flow panel that has a border and a title.
9 *
10 */
11@SuppressWarnings("serial")
12public class VflowPanelWithBorder extends JPanel {
13 public VflowPanelWithBorder(String title) {
14 setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
15 setBorder(BorderFactory.createTitledBorder(title));
16 }
17}
Note: See TracBrowser for help on using the repository browser.