1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-26 22:12:05 +01:00

Gets Smack version from the SmackConfiguration class

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2186 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Gaston Dombiak 2003-12-19 18:21:16 +00:00 committed by gdombiak
parent f77ad32537
commit 4f4fff1772

View file

@ -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);