[Mc4j-cvs] mc4j/src/org/mc4j/console/swing SwingUtility.java,1.1,1.2
Brought to you by:
ghinkl
From: Greg H. <gh...@us...> - 2004-03-31 04:10:57
|
Update of /cvsroot/mc4j/mc4j/src/org/mc4j/console/swing In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31735/src/org/mc4j/console/swing Modified Files: SwingUtility.java Log Message: Added a starter message to describe the output. Index: SwingUtility.java =================================================================== RCS file: /cvsroot/mc4j/mc4j/src/org/mc4j/console/swing/SwingUtility.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SwingUtility.java 21 Mar 2004 21:48:02 -0000 1.1 --- SwingUtility.java 31 Mar 2004 03:59:12 -0000 1.2 *************** *** 41,44 **** --- 41,52 ---- StackTraceElement element = elements[i]; if (element.getClassName().startsWith("org.mc4j")) { + + if (alertedSet.isEmpty()) { + IOProvider.getDefault().getIO("MC4J Errors",false).getOut().println( + "This panel lists places within MC4J where calls are being made " + + "to a server from within the AWT Event Thread. These calls are " + + "not safe because long duration calls may cause the application to " + + "be unresponsive."); + } if (!alertedSet.contains(element)) { alertedSet.add(element); |