Hi All,
I wanted to display a list of all UIManager properties and the
default
settings. it seems nothing is special but.
the first time I got 545,
the second time I got 547,
why ?
Could you please anyone answer me .The source is:
//W2000, nb3.3.1, jdk1.3.1_02
// begin
import javax.swing.*;
import java.util.*;
public class DefaulltKey {
public static void main(String[] args) {
UIDefaults defaults = UIManager.getDefaults();
TreeMap tm = new TreeMap();
System.out.println("1 Count Item = " +
defaults.size());
int i = 0;
for( Enumeration e = defaults.keys();
e.hasMoreElements(); i++ ){
Object kk =
e.nextElement();
tm.put(kk,defaults.get(kk));
}
System.out.println("2 Count Item = " +
defaults.size());
}
}
// end
thank you,
Alexander Gusev.
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing
- JWindow and system tray icon Bharatram Setti
- RE: JWindow and system tray icon Amit Rana
- RE: JWindow and system tray icon Bharatram Setti
- Re: JWindow and system tray icon Greg Munt
- Re: JWindow and system tray icon Bharatram Setti
- Re: JWindow and system tray icon Greg Munt
- Re: JWindow and system tray icon Alexander Gusev
- Re: JWindow and system tray icon Bharatram Setti
- Re: JWindow and system tray ... Greg Munt
- Re: JWindow and system tray ... Christian Pesch
- Re: JWindow and system tray ... Paul Brinkley