Is there any parameter that says to JVM to make a heap dump (objects) on OutOfMemoryError? I've tried to use -Xrunhprof with :net= option, but application becomes unacceptable slow. I need something that works without invocation of JVMPI and makes dump only when exception occurs.
I want to make a method that has to be executed when the user presses on the enter key when the focus is on a JList. Because the list hasn't got an actionlistener i don't know how to do it. I also want to make a method when the user presses the delete key. can anybody help me with ...