mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-23 04:22: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:
parent
f77ad32537
commit
4f4fff1772
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue