Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkaguilar2011-11-29 17:04:29 -0500
committerRyan D. Brooks2011-11-29 17:04:29 -0500
commit6095e83b19f6962ab8042b82de221dcbea28b5dd (patch)
tree47030a12f051bd3f04ae4dc64f5e68b5c4e43fb6 /plugins/org.eclipse.osee.ote.ui.message
parent1d1f639fa337d909a80db61da117134985c2a45d (diff)
downloadorg.eclipse.osee-6095e83b19f6962ab8042b82de221dcbea28b5dd.tar.gz
org.eclipse.osee-6095e83b19f6962ab8042b82de221dcbea28b5dd.tar.xz
org.eclipse.osee-6095e83b19f6962ab8042b82de221dcbea28b5dd.zip
bug: Fix font dispose issue in message watch's details box
Diffstat (limited to 'plugins/org.eclipse.osee.ote.ui.message')
-rw-r--r--plugins/org.eclipse.osee.ote.ui.message/src/org/eclipse/osee/ote/ui/message/watch/DetailsBox.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.ote.ui.message/src/org/eclipse/osee/ote/ui/message/watch/DetailsBox.java b/plugins/org.eclipse.osee.ote.ui.message/src/org/eclipse/osee/ote/ui/message/watch/DetailsBox.java
index 5f93152571..e95acf26d9 100644
--- a/plugins/org.eclipse.osee.ote.ui.message/src/org/eclipse/osee/ote/ui/message/watch/DetailsBox.java
+++ b/plugins/org.eclipse.osee.ote.ui.message/src/org/eclipse/osee/ote/ui/message/watch/DetailsBox.java
@@ -23,7 +23,6 @@ import org.eclipse.core.runtime.IRegistryEventListener;
import org.eclipse.core.runtime.Platform;
import org.eclipse.osee.framework.logging.OseeLog;
import org.eclipse.osee.framework.ui.swt.Displays;
-import org.eclipse.osee.framework.ui.swt.FontManager;
import org.eclipse.osee.framework.ui.swt.ImageManager;
import org.eclipse.osee.ote.message.Message;
import org.eclipse.osee.ote.message.data.MessageData;
@@ -88,7 +87,7 @@ public class DetailsBox implements IRegistryEventListener {
public DetailsBox(Composite parent) {
hexImg = ImageManager.getImage(OteMessageImage.HEX);
- courier = FontManager.getFont("Courier New", 10, SWT.NORMAL);
+ courier = new Font(parent.getDisplay(), "Courier", 10, SWT.NORMAL);
/* Create Text box to display values of selected messages */
infoFolder = new TabFolder(parent, SWT.BORDER);

Back to the top