From 2a60a162e5b570b4847b83fd51cf3e2a8cd11a0b Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Mon, 05 Jan 2009 22:38:09 +0000
Subject: [PATCH] Fix for issue 3685 (Swing repainting problem in control panel) The fix consists on handling in a particular mode the border of some components when the Metal look and feel is used. In this look and feel the scroll pane border can only be used with JScrollPane objects.
---
opends/src/guitools/org/opends/guitools/controlpanel/ui/BrowseIndexPanel.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opends/src/guitools/org/opends/guitools/controlpanel/ui/BrowseIndexPanel.java b/opends/src/guitools/org/opends/guitools/controlpanel/ui/BrowseIndexPanel.java
index 8f2fb37..b542cbe 100644
--- a/opends/src/guitools/org/opends/guitools/controlpanel/ui/BrowseIndexPanel.java
+++ b/opends/src/guitools/org/opends/guitools/controlpanel/ui/BrowseIndexPanel.java
@@ -437,7 +437,7 @@
treeScroll.setPreferredSize(
new Dimension(2 * treeScroll.getPreferredSize().width,
8 * treeScroll.getPreferredSize().height));
- entryPane.setBorder(treeScroll.getBorder());
+ entryPane.setBorder(getRightPanelBorder());
entryPane.setPreferredSize(
new Dimension((treeScroll.getPreferredSize().width * 5) / 2,
treeScroll.getPreferredSize().height));
--
Gitblit v1.10.0