Property Form

Sandboxed/Safe Properties

Shows properties from the AWT toolkit and System that are considered safe by the plug-in. Also includes other defined properties.

Comma delimited property name list:

The toolkit will be checked before System properties, since any property which is either restricted or not defined on calling System.getProperty(String) will cause a security exception in a sandboxed applet. For that reason, the sandboxed applet should not report 'null' ever, but instead 'unknown' to indicate it is unable to determine if the property exists.

Trusted/All Properties

Shows any properties from the AWT toolkit, System and environment that are defined. Returns 'null' if not found. Also includes other defined properties

Comma delimited property name list:

Defined Properties

The following properties are also defined.

  • default_locale - Locale.getDefault().toString(). This is available to sandboxed apps. though the equivalent information to construct it from user.language & user.country is restricted.
  • display_mode - Summary of the default DisplayMode. This is included because it tells us the screen size (rate, bitdepth), which is handy to know when dealing with full-screen rendering.

System Properties

Example properties you might get via System.getProperty(String). All the properties prefixed with sun. and user. are restricted, whereas only some of the other properties are restricted.

  • awt.toolkit
  • file.encoding
  • file.encoding.pkg
  • file.separator
  • java.awt.graphicsenv
  • java.awt.printerjob
  • java.class.path
  • java.class.version
  • java.endorsed.dirs
  • java.ext.dirs
  • java.home
  • java.io.tmpdir
  • java.library.path
  • java.runtime.name
  • java.runtime.version
  • java.specification.name
  • java.specification.vendor
  • java.specification.version
  • java.vendor
  • java.vendor.url
  • java.vendor.url.bug
  • java.version
  • java.vm.info
  • java.vm.name
  • java.vm.specification.name
  • java.vm.specification.vendor
  • java.vm.specification.version
  • java.vm.vendor
  • java.vm.version
  • line.separator
  • os.arch
  • os.name
  • os.version
  • path.separator
  • sun.arch.data.model
  • sun.boot.class.path
  • sun.boot.library.path
  • sun.cpu.endian
  • sun.cpu.isalist
  • sun.desktop
  • sun.io.unicode.encoding
  • sun.java.launcher
  • sun.jnu.encoding
  • sun.management.compiler
  • sun.os.patch.level
  • user.country
  • user.dir
  • user.home
  • user.language
  • user.name
  • user.timezone
  • user.variant

AWT Toolkit Properties

Example properties you might get via Toolkit.getDesktopProperty(String). All properties in toolkit are available to sandboxed apps.

  • DnD.gestureMotionThreshold
  • awt.dynamicLayoutSupported
  • awt.file.showAttribCol
  • awt.file.showHiddenFiles
  • awt.font.desktophints
  • awt.mouse.numButtons
  • awt.multiClickInterval
  • awt.wheelMousePresent
  • win.3d.backgroundColor
  • win.3d.darkShadowColor
  • win.3d.highlightColor
  • win.3d.lightColor
  • win.3d.shadowColor
  • win.ansiFixed.font
  • win.ansiFixed.font.height
  • win.ansiVar.font
  • win.ansiVar.font.height
  • win.button.textColor
  • win.defaultGUI.font
  • win.defaultGUI.font.height
  • win.desktop.backgroundColor
  • win.deviceDefault.font
  • win.deviceDefault.font.height
  • win.drag.height
  • win.drag.width
  • win.frame.activeBorderColor
  • win.frame.activeCaptionColor
  • win.frame.activeCaptionGradientColor
  • win.frame.backgroundColor
  • win.frame.captionButtonHeight
  • win.frame.captionButtonWidth
  • win.frame.captionFont
  • win.frame.captionFont.height
  • win.frame.captionGradientsOn
  • win.frame.captionHeight
  • win.frame.captionTextColor
  • win.frame.color
  • win.frame.fullWindowDragsOn
  • win.frame.inactiveBorderColor
  • win.frame.inactiveCaptionColor
  • win.frame.inactiveCaptionGradientColor
  • win.frame.inactiveCaptionTextColor
  • win.frame.sizingBorderWidth
  • win.frame.smallCaptionButtonHeight
  • win.frame.smallCaptionButtonWidth
  • win.frame.smallCaptionFont
  • win.frame.smallCaptionFont.height
  • win.frame.smallCaptionHeight
  • win.frame.textColor
  • win.highContrast.on
  • win.icon.font
  • win.icon.font.height
  • win.icon.hspacing
  • win.icon.shellIconBPP
  • win.icon.titleWrappingOn
  • win.icon.vspacing
  • win.item.highlightColor
  • win.item.highlightTextColor
  • win.item.hotTrackedColor
  • win.item.hotTrackingOn
  • win.mdi.backgroundColor
  • win.menu.backgroundColor
  • win.menu.buttonWidth
  • win.menu.font
  • win.menu.font.height
  • win.menu.height
  • win.menu.keyboardCuesOn
  • win.menu.textColor
  • win.menubar.backgroundColor
  • win.messagebox.font
  • win.messagebox.font.height
  • win.oemFixed.font
  • win.oemFixed.font.height
  • win.properties.version
  • win.scrollbar.backgroundColor
  • win.scrollbar.height
  • win.scrollbar.width
  • win.sound.asterisk
  • win.sound.close
  • win.sound.default
  • win.sound.exclamation
  • win.sound.exit
  • win.sound.hand
  • win.sound.maximize
  • win.sound.menuCommand
  • win.sound.menuPopup
  • win.sound.minimize
  • win.sound.open
  • win.sound.question
  • win.sound.restoreDown
  • win.sound.restoreUp
  • win.sound.start
  • win.status.font
  • win.status.font.height
  • win.system.font
  • win.system.font.height
  • win.systemFixed.font
  • win.systemFixed.font.height
  • win.text.fontSmoothingContrast
  • win.text.fontSmoothingOn
  • win.text.fontSmoothingOrientation
  • win.text.fontSmoothingType
  • win.text.grayedTextColor
  • win.tooltip.backgroundColor
  • win.tooltip.font
  • win.tooltip.font.height
  • win.tooltip.textColor
  • win.xpstyle.themeActive

Environment Properties

The map returned by System.getenv() usually contains information more specific to the local machine and OS, and less so to Java applications, but can also reveal some interesting information if you know what to look for.

This is a dump of the environment variable names for this AMD/Win XP based machine running Java 6.

  • =C:
  • ALLUSERSPROFILE
  • ANT_HOME
  • APPDATA
  • CLASSPATH
  • CLIENTNAME
  • COMPUTERNAME
  • ComSpec
  • CommonProgramFiles
  • FP_NO_HOST_CHECK
  • HOMEDRIVE
  • HOMEPATH
  • JAVA_HOME
  • LOGONSERVER
  • NUMBER_OF_PROCESSORS
  • OS
  • PATHEXT
  • PROCESSOR_ARCHITECTURE
  • PROCESSOR_IDENTIFIER
  • PROCESSOR_LEVEL
  • PROCESSOR_REVISION
  • PROMPT
  • Path
  • ProgramFiles
  • SESSIONNAME
  • SystemDrive
  • SystemRoot
  • TEMP
  • TMP
  • USERDOMAIN
  • USERNAME
  • USERPROFILE
  • j2se
  • windir
© 2003, 2004, 2005, 2006, 2007, 2008 by Andrew Thompson. All rights reserved.
Web hosting compliments of
Java Web Hosting
Propery Probe - form

Property Form

Sandboxed/Safe Properties

Shows properties from the AWT toolkit and System that are considered safe by the plug-in. Also includes other defined properties.

Comma delimited property name list:

The toolkit will be checked before System properties, since any property which is either restricted or not defined on calling System.getProperty(String) will cause a security exception in a sandboxed applet. For that reason, the sandboxed applet should not report 'null' ever, but instead 'unknown' to indicate it is unable to determine if the property exists.

Trusted/All Properties

Shows any properties from the AWT toolkit, System and environment that are defined. Returns 'null' if not found. Also includes other defined properties

Comma delimited property name list:

Defined Properties

The following properties are also defined.

  • default_locale - Locale.getDefault().toString(). This is available to sandboxed apps. though the equivalent information to construct it from user.language & user.country is restricted.
  • display_mode - Summary of the default DisplayMode. This is included because it tells us the screen size (rate, bitdepth), which is handy to know when dealing with full-screen rendering.

System Properties

Example properties you might get via System.getProperty(String). All the properties prefixed with sun. and user. are restricted, whereas only some of the other properties are restricted.

  • awt.toolkit
  • file.encoding
  • file.encoding.pkg
  • file.separator
  • java.awt.graphicsenv
  • java.awt.printerjob
  • java.class.path
  • java.class.version
  • java.endorsed.dirs
  • java.ext.dirs
  • java.home
  • java.io.tmpdir
  • java.library.path
  • java.runtime.name
  • java.runtime.version
  • java.specification.name
  • java.specification.vendor
  • java.specification.version
  • java.vendor
  • java.vendor.url
  • java.vendor.url.bug
  • java.version
  • java.vm.info
  • java.vm.name
  • java.vm.specification.name
  • java.vm.specification.vendor
  • java.vm.specification.version
  • java.vm.vendor
  • java.vm.version
  • line.separator
  • os.arch
  • os.name
  • os.version
  • path.separator
  • sun.arch.data.model
  • sun.boot.class.path
  • sun.boot.library.path
  • sun.cpu.endian
  • sun.cpu.isalist
  • sun.desktop
  • sun.io.unicode.encoding
  • sun.java.launcher
  • sun.jnu.encoding
  • sun.management.compiler
  • sun.os.patch.level
  • user.country
  • user.dir
  • user.home
  • user.language
  • user.name
  • user.timezone
  • user.variant

AWT Toolkit Properties

Example properties you might get via Toolkit.getDesktopProperty(String). All properties in toolkit are available to sandboxed apps.

  • DnD.gestureMotionThreshold
  • awt.dynamicLayoutSupported
  • awt.file.showAttribCol
  • awt.file.showHiddenFiles
  • awt.font.desktophints
  • awt.mouse.numButtons
  • awt.multiClickInterval
  • awt.wheelMousePresent
  • win.3d.backgroundColor
  • win.3d.darkShadowColor
  • win.3d.highlightColor
  • win.3d.lightColor
  • win.3d.shadowColor
  • win.ansiFixed.font
  • win.ansiFixed.font.height
  • win.ansiVar.font
  • win.ansiVar.font.height
  • win.button.textColor
  • win.defaultGUI.font
  • win.defaultGUI.font.height
  • win.desktop.backgroundColor
  • win.deviceDefault.font
  • win.deviceDefault.font.height
  • win.drag.height
  • win.drag.width
  • win.frame.activeBorderColor
  • win.frame.activeCaptionColor
  • win.frame.activeCaptionGradientColor
  • win.frame.backgroundColor
  • win.frame.captionButtonHeight
  • win.frame.captionButtonWidth
  • win.frame.captionFont
  • win.frame.captionFont.height
  • win.frame.captionGradientsOn
  • win.frame.captionHeight
  • win.frame.captionTextColor
  • win.frame.color
  • win.frame.fullWindowDragsOn
  • win.frame.inactiveBorderColor
  • win.frame.inactiveCaptionColor
  • win.frame.inactiveCaptionGradientColor
  • win.frame.inactiveCaptionTextColor
  • win.frame.sizingBorderWidth
  • win.frame.smallCaptionButtonHeight
  • win.frame.smallCaptionButtonWidth
  • win.frame.smallCaptionFont
  • win.frame.smallCaptionFont.height
  • win.frame.smallCaptionHeight
  • win.frame.textColor
  • win.highContrast.on
  • win.icon.font
  • win.icon.font.height
  • win.icon.hspacing
  • win.icon.shellIconBPP
  • win.icon.titleWrappingOn
  • win.icon.vspacing
  • win.item.highlightColor
  • win.item.highlightTextColor
  • win.item.hotTrackedColor
  • win.item.hotTrackingOn
  • win.mdi.backgroundColor
  • win.menu.backgroundColor
  • win.menu.buttonWidth
  • win.menu.font
  • win.menu.font.height
  • win.menu.height
  • win.menu.keyboardCuesOn
  • win.menu.textColor
  • win.menubar.backgroundColor
  • win.messagebox.font
  • win.messagebox.font.height
  • win.oemFixed.font
  • win.oemFixed.font.height
  • win.properties.version
  • win.scrollbar.backgroundColor
  • win.scrollbar.height
  • win.scrollbar.width
  • win.sound.asterisk
  • win.sound.close
  • win.sound.default
  • win.sound.exclamation
  • win.sound.exit
  • win.sound.hand
  • win.sound.maximize
  • win.sound.menuCommand
  • win.sound.menuPopup
  • win.sound.minimize
  • win.sound.open
  • win.sound.question
  • win.sound.restoreDown
  • win.sound.restoreUp
  • win.sound.start
  • win.status.font
  • win.status.font.height
  • win.system.font
  • win.system.font.height
  • win.systemFixed.font
  • win.systemFixed.font.height
  • win.text.fontSmoothingContrast
  • win.text.fontSmoothingOn
  • win.text.fontSmoothingOrientation
  • win.text.fontSmoothingType
  • win.text.grayedTextColor
  • win.tooltip.backgroundColor
  • win.tooltip.font
  • win.tooltip.font.height
  • win.tooltip.textColor
  • win.xpstyle.themeActive

Environment Properties

The map returned by System.getenv() usually contains information more specific to the local machine and OS, and less so to Java applications, but can also reveal some interesting information if you know what to look for.

This is a dump of the environment variable names for this AMD/Win XP based machine running Java 6.

  • =C:
  • ALLUSERSPROFILE
  • ANT_HOME
  • APPDATA
  • CLASSPATH
  • CLIENTNAME
  • COMPUTERNAME
  • ComSpec
  • CommonProgramFiles
  • FP_NO_HOST_CHECK
  • HOMEDRIVE
  • HOMEPATH
  • JAVA_HOME
  • LOGONSERVER
  • NUMBER_OF_PROCESSORS
  • OS
  • PATHEXT
  • PROCESSOR_ARCHITECTURE
  • PROCESSOR_IDENTIFIER
  • PROCESSOR_LEVEL
  • PROCESSOR_REVISION
  • PROMPT
  • Path
  • ProgramFiles
  • SESSIONNAME
  • SystemDrive
  • SystemRoot
  • TEMP
  • TMP
  • USERDOMAIN
  • USERNAME
  • USERPROFILE
  • j2se
  • windir
© 2003-2010 by Andrew Thompson. All rights reserved.
Web hosting compliments of Java Web Hosting.
Java Web Hosting