Java Swing TitledBorder createGroupBorder(String title)

Here you can find the source of createGroupBorder(String title)

Description

create Group Border

License

Open Source License

Declaration

public static Border createGroupBorder(String title) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import javax.swing.BorderFactory;

import javax.swing.border.Border;
import javax.swing.border.EtchedBorder;
import javax.swing.border.TitledBorder;

public class Main {
    public static Border createGroupBorder(String title) {
        return new TitledBorder(BorderFactory.createEtchedBorder(EtchedBorder.LOWERED), title, TitledBorder.LEFT,
                TitledBorder.TOP);
    }//from  w  w w . j av a2 s . c  o m
}

Related

  1. createBorder()
  2. createBorder(String message)
  3. createBorder(String title)
  4. createBorder(String title)
  5. createBorderedPanel(String title, int margin)
  6. createGuiElementBorder(final String title)
  7. createInsetTitledBorder(String title)
  8. createStyleAttributeBorder(String title)
  9. createTitleBorder(final String title)