From 2a3158aad80fc910b83336485b3e545dea50066c Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 20 Apr 2016 09:23:30 +0000
Subject: [PATCH] guitools + quicksetup: added @Override + Autorefactor'ed comments
---
opendj-server-legacy/src/main/java/org/opends/quicksetup/ui/FramePanel.java | 15 ++++++---------
1 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/quicksetup/ui/FramePanel.java b/opendj-server-legacy/src/main/java/org/opends/quicksetup/ui/FramePanel.java
index 1f86dea..92e58da 100644
--- a/opendj-server-legacy/src/main/java/org/opends/quicksetup/ui/FramePanel.java
+++ b/opendj-server-legacy/src/main/java/org/opends/quicksetup/ui/FramePanel.java
@@ -12,8 +12,8 @@
* information: "Portions Copyright [year] [name of copyright owner]".
*
* Copyright 2006-2008 Sun Microsystems, Inc.
+ * Portions Copyright 2016 ForgeRock AS.
*/
-
package org.opends.quicksetup.ui;
import java.awt.AlphaComposite;
@@ -32,26 +32,22 @@
* This class is the panel that is displayed in the QuickSetupDialog. It
* contains 3 panels that are passed in the constructor: the steps panel,
* the buttons panel and the current step panel (the main panel of the three).
- *
+ * <p>
* The only remarkable thing of this class is that is responsible for
* implementing the background. The three subpanels are transparent and
- * this class sets a background (with the Open DS logo) and uses some basic
+ * this class sets a background (with the OpenDJ logo) and uses some basic
* transparency effects.
- *
*/
public class FramePanel extends JPanel
{
private static final long serialVersionUID = 7733658951410876078L;
private Icon backgroundIcon;
-
private Component stepsPanel;
-
private Component buttonsPanel;
-
private int buttonsPanelVerticalInsets;
-
private int stepsPanelHorizontalInsets;
+
/**
* The constructor of the FramePanel.
* @param stepsPanel the steps panel that on the top-left side of the
@@ -140,8 +136,9 @@
* {@inheritDoc}
*
* This method has been overwritten to be able to have a transparency effect
- * with the OpenDS logo background.
+ * with the OpenDJ logo background.
*/
+ @Override
protected void paintComponent(Graphics g)
{
// paint background
--
Gitblit v1.10.0