Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Dec 6th, 2018 54 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1.         // Container für Vordergrund
  2.         JPanel foreground = new JPanel();
  3.         // Layout des Containers
  4.         GridBagLayout gbl1 = new GridBagLayout();
  5.         foreground.setLayout(gbl1);
  6.         // Border des Containers: Titled Border, etched Style
  7.         Border loweredetched = BorderFactory.createEtchedBorder(EtchedBorder.LOWERED);
  8.         TitledBorder titledborder = BorderFactory.createTitledBorder(loweredetched, "Vordergrund");
  9.         foreground.setBorder(titledborder);
  10.         // Container zum Frame hinzufügen
  11.         addComponent(f.getContentPane(), gbl, foreground, 0, 0, 3, 1, 1, 1);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top