Don't set L&F (SMACK-124).

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2255 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Matt Tucker 2004-03-15 21:56:56 +00:00 committed by mtucker
parent 14034110bf
commit d8b5522ce1
2 changed files with 2 additions and 19 deletions

View File

@ -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() {

View File

@ -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.