java tips     
Java

While running a Swing app, type Ctrl-\ to get a stack trace of each thread.

To change the look and feel on the command line to Windows (only works on Windows) or GTK (a native look on Linux) use the following:

java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel MyApp

java -Dswing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel MyApp

Updated Jun 14, 2010

Number of readers
home
about me
blog archives
- docs
acroread
firefox
java
linux
mysql
perl
rpm
shell
vim
win

entertainment
experiences
funny lists
humor
intellectual
interests
metafilter
music
opinions
photos
web designs
tools
software
webmaster help

Sign up
Enter your email address to be notified of new posts




Search the site







Random quote
(View all quotes)
"Don't let the past dictate who you are, let it dictate who you will become."










(?) Choose theme:  X X X X X X