1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-27 00:32:07 +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 javax.swing.*;
import org.jivesoftware.smack.SmackConfiguration;
import org.jivesoftware.smack.provider.ProviderManager; import org.jivesoftware.smack.provider.ProviderManager;
/** /**
@ -165,8 +166,7 @@ class EnhancedDebuggerWindow {
versionPanel.setLayout(new BoxLayout(versionPanel, BoxLayout.X_AXIS)); versionPanel.setLayout(new BoxLayout(versionPanel, BoxLayout.X_AXIS));
versionPanel.setMaximumSize(new Dimension(2000, 31)); versionPanel.setMaximumSize(new Dimension(2000, 31));
versionPanel.add(new JLabel(" Smack version: ")); versionPanel.add(new JLabel(" Smack version: "));
// TODO Replace the Smack version with the real one JFormattedTextField field = new JFormattedTextField(SmackConfiguration.getVersionNumber());
JFormattedTextField field = new JFormattedTextField("1.3.0");
field.setEditable(false); field.setEditable(false);
field.setBorder(null); field.setBorder(null);
versionPanel.add(field); versionPanel.add(field);