aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/gui/customcontrols/TitlePanel.java
diff options
context:
space:
mode:
authorLyubomir Marinov <lyubomir.marinov@jitsi.org>2013-05-23 18:50:35 +0300
committerLyubomir Marinov <lyubomir.marinov@jitsi.org>2013-05-23 18:50:35 +0300
commitb211c26d6c8f51a75d3b64b6092284c3847a3a8a (patch)
treea51b7d816a27f8db492cf9c44f998e2da8176635 /src/net/java/sip/communicator/impl/gui/customcontrols/TitlePanel.java
parent24e81b82808681c6b5741b14048ef58c4e665e37 (diff)
downloadjitsi-b211c26d6c8f51a75d3b64b6092284c3847a3a8a.zip
jitsi-b211c26d6c8f51a75d3b64b6092284c3847a3a8a.tar.gz
jitsi-b211c26d6c8f51a75d3b64b6092284c3847a3a8a.tar.bz2
Fixes warnings, removes trailing whitespace, adds @Override annotations.
Diffstat (limited to 'src/net/java/sip/communicator/impl/gui/customcontrols/TitlePanel.java')
-rw-r--r--src/net/java/sip/communicator/impl/gui/customcontrols/TitlePanel.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/net/java/sip/communicator/impl/gui/customcontrols/TitlePanel.java b/src/net/java/sip/communicator/impl/gui/customcontrols/TitlePanel.java
index a467c36..0503c8c 100644
--- a/src/net/java/sip/communicator/impl/gui/customcontrols/TitlePanel.java
+++ b/src/net/java/sip/communicator/impl/gui/customcontrols/TitlePanel.java
@@ -16,7 +16,7 @@ import net.java.sip.communicator.plugin.desktoputil.*;
* The <tt>TitlePanel</tt> is a decorated panel, that could be used for a header
* or a title area. This panel is used for example in the
* <tt>ConfigurationFrame</tt>.
- *
+ *
* @author Yana Stamcheva
*/
public class TitlePanel
@@ -41,7 +41,7 @@ public class TitlePanel
/**
* Creates an instance of <tt>TitlePanel</tt> by specifying the title
* String.
- *
+ *
* @param title A String title.
*/
public TitlePanel(String title)
@@ -61,6 +61,7 @@ public class TitlePanel
* Overrides the <code>paintComponent</code> method of <tt>JPanel</tt> to
* paint a gradient background of this panel.
*/
+ @Override
public void paintComponent(Graphics g)
{
Graphics2D g2 = (Graphics2D) g;
@@ -85,7 +86,7 @@ public class TitlePanel
/**
* Sets the title String.
- *
+ *
* @param title The title String.
*/
public void setTitleText(String title)