From 26f03259cf4bae39da6dfb27565658779e379ca6 Mon Sep 17 00:00:00 2001 From: dubtraxis Date: Thu, 23 Oct 2003 00:33:49 +0000 Subject: [PATCH] Modified LexActionServlet to set System property java.awt.headless to true as recommended by the good Mr. David Chandler --- src/java/org/thdl/lex/LexActionServlet.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/java/org/thdl/lex/LexActionServlet.java b/src/java/org/thdl/lex/LexActionServlet.java index 1128c27..b6a98e3 100644 --- a/src/java/org/thdl/lex/LexActionServlet.java +++ b/src/java/org/thdl/lex/LexActionServlet.java @@ -75,6 +75,7 @@ public class LexActionServlet extends HttpServlet Global global = new Global( recentItems, refreshDelay ); config.getServletContext().setAttribute( LexConstants.GLOBAL_CONTEXT_ATTR, global ); LexLogger.debugComponent( global ); + System.setProperty( "java.awt.headless", "true" ); }