From be404ca81a417e6cd3a5f4ca1a8a9696d698a58f Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 27 May 2013 06:28:19 +0200 Subject: [PATCH] Add border around tabbed pane. --- src/main/java/net/pterodactylus/sonitus/gui/MainWindow.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/net/pterodactylus/sonitus/gui/MainWindow.java b/src/main/java/net/pterodactylus/sonitus/gui/MainWindow.java index cdd0776..e828fcd 100644 --- a/src/main/java/net/pterodactylus/sonitus/gui/MainWindow.java +++ b/src/main/java/net/pterodactylus/sonitus/gui/MainWindow.java @@ -20,6 +20,7 @@ package net.pterodactylus.sonitus.gui; import java.awt.BorderLayout; import java.awt.Dimension; import java.util.List; +import javax.swing.BorderFactory; import javax.swing.JFrame; import javax.swing.JTabbedPane; import javax.swing.WindowConstants; @@ -41,6 +42,7 @@ public class MainWindow extends JFrame { /** Creates a new main window. */ public MainWindow() { super(String.format("Sonitus %s", Version.version())); + tabbedPane.setBorder(BorderFactory.createEmptyBorder(12, 12, 12, 12)); getContentPane().add(tabbedPane, BorderLayout.CENTER); setSize(new Dimension(800, 450)); -- 2.7.4