/[classpath]/classpath/javax/swing/JComponent.java
ViewVC logotype

Diff of /classpath/javax/swing/JComponent.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.71 by rabbit78, Wed Oct 19 12:57:33 2005 UTC revision 1.72 by rabbit78, Wed Oct 19 13:05:01 2005 UTC
# Line 977  public abstract class JComponent extends Line 977  public abstract class JComponent extends
977    {    {
978      String option = System.getProperty("gnu.javax.swing.DebugGraphics");      String option = System.getProperty("gnu.javax.swing.DebugGraphics");
979      int options = debugGraphicsOptions;      int options = debugGraphicsOptions;
980      if (option != null && option.length() == 0)      if (option != null && option.length() != 0)
981        {        {
982            if (options < 0)
983              options = 0;
984    
985          if (option.equals("LOG"))          if (option.equals("LOG"))
986            options |= DebugGraphics.LOG_OPTION;            options |= DebugGraphics.LOG_OPTION;
987          else if (option.equals("FLASH"))          else if (option.equals("FLASH"))
988            options |= DebugGraphics.FLASH_OPTION;            options |= DebugGraphics.FLASH_OPTION;
989        }        }
990        System.err.println("options: " +  options);
991      return options;      return options;
992    }    }
993    

Legend:
Removed from v.1.71  
changed lines
  Added in v.1.72

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26