From 4f4fff1772d24f18cb1b873ae398cd745c42a5f7 Mon Sep 17 00:00:00 2001 From: Gaston Dombiak Date: Fri, 19 Dec 2003 18:21:16 +0000 Subject: [PATCH] Gets Smack version from the SmackConfiguration class git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2186 b35dd754-fafc-0310-a699-88a17e54d16e --- .../jivesoftware/smackx/debugger/EnhancedDebuggerWindow.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/org/jivesoftware/smackx/debugger/EnhancedDebuggerWindow.java b/source/org/jivesoftware/smackx/debugger/EnhancedDebuggerWindow.java index 369a544ce..d199160ee 100644 --- a/source/org/jivesoftware/smackx/debugger/EnhancedDebuggerWindow.java +++ b/source/org/jivesoftware/smackx/debugger/EnhancedDebuggerWindow.java @@ -58,6 +58,7 @@ import java.util.*; import javax.swing.*; +import org.jivesoftware.smack.SmackConfiguration; import org.jivesoftware.smack.provider.ProviderManager; /** @@ -165,8 +166,7 @@ class EnhancedDebuggerWindow { versionPanel.setLayout(new BoxLayout(versionPanel, BoxLayout.X_AXIS)); versionPanel.setMaximumSize(new Dimension(2000, 31)); versionPanel.add(new JLabel(" Smack version: ")); - // TODO Replace the Smack version with the real one - JFormattedTextField field = new JFormattedTextField("1.3.0"); + JFormattedTextField field = new JFormattedTextField(SmackConfiguration.getVersionNumber()); field.setEditable(false); field.setBorder(null); versionPanel.add(field);