mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-30 07:52:06 +01:00
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:
parent
14034110bf
commit
d8b5522ce1
2 changed files with 2 additions and 19 deletions
|
@ -94,17 +94,8 @@ public class LiteDebugger implements SmackDebugger {
|
||||||
* Creates the debug process, which is a GUI window that displays XML traffic.
|
* Creates the debug process, which is a GUI window that displays XML traffic.
|
||||||
*/
|
*/
|
||||||
private void createDebug() {
|
private void createDebug() {
|
||||||
// Use the native look and feel.
|
frame = new JFrame("Smack Debug Window -- " + connection.getHost() + ":" +
|
||||||
try {
|
connection.getPort());
|
||||||
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
|
|
||||||
}
|
|
||||||
catch (Exception e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
|
|
||||||
frame =
|
|
||||||
new JFrame(
|
|
||||||
"Smack Debug Window -- " + connection.getHost() + ":" + connection.getPort());
|
|
||||||
|
|
||||||
// Add listener for window closing event
|
// Add listener for window closing event
|
||||||
frame.addWindowListener(new WindowAdapter() {
|
frame.addWindowListener(new WindowAdapter() {
|
||||||
|
|
|
@ -170,14 +170,6 @@ public class EnhancedDebugger implements SmackDebugger {
|
||||||
* Creates the debug process, which is a GUI window that displays XML traffic.
|
* Creates the debug process, which is a GUI window that displays XML traffic.
|
||||||
*/
|
*/
|
||||||
private void createDebug() {
|
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
|
// 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
|
// client generated XML, the third server generated XML, the fourth allows to send
|
||||||
// ad-hoc messages and the fifth contains connection information.
|
// ad-hoc messages and the fifth contains connection information.
|
||||||
|
|
Loading…
Reference in a new issue