diff --git a/source/org/jivesoftware/smack/debugger/LiteDebugger.java b/source/org/jivesoftware/smack/debugger/LiteDebugger.java index e5122a89c..ab60ce5ef 100644 --- a/source/org/jivesoftware/smack/debugger/LiteDebugger.java +++ b/source/org/jivesoftware/smack/debugger/LiteDebugger.java @@ -94,17 +94,8 @@ public class LiteDebugger implements SmackDebugger { * Creates the debug process, which is a GUI window that displays XML traffic. */ private void createDebug() { - // Use the native look and feel. - try { - UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); - } - catch (Exception e) { - e.printStackTrace(); - } - - frame = - new JFrame( - "Smack Debug Window -- " + connection.getHost() + ":" + connection.getPort()); + frame = new JFrame("Smack Debug Window -- " + connection.getHost() + ":" + + connection.getPort()); // Add listener for window closing event frame.addWindowListener(new WindowAdapter() { diff --git a/source/org/jivesoftware/smackx/debugger/EnhancedDebugger.java b/source/org/jivesoftware/smackx/debugger/EnhancedDebugger.java index bf8522732..e005921f6 100644 --- a/source/org/jivesoftware/smackx/debugger/EnhancedDebugger.java +++ b/source/org/jivesoftware/smackx/debugger/EnhancedDebugger.java @@ -170,14 +170,6 @@ public class EnhancedDebugger implements SmackDebugger { * Creates the debug process, which is a GUI window that displays XML traffic. */ private void createDebug() { - // Use the native look and feel. - try { - UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); - } - catch (Exception e) { - e.printStackTrace(); - } - // We'll arrange the UI into six tabs. The first tab contains all data, the second // client generated XML, the third server generated XML, the fourth allows to send // ad-hoc messages and the fifth contains connection information.