JDK-4411556 : RFE: for win32, system properties that define the screen characteristics
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2001-02-03
  • Updated: 2001-02-05
  • Resolved: 2001-02-05
Related Reports
Duplicate :  
Relates :  
Description
Problem Description: The result of calling java.awt.Toolkit.getDefaultToolkit().getScreenResolution() is incorrect on Windows.  It seems to be tied to the font size chosen  within the Windows/DisplayProperties and not to the actual graphic card or screen capabilities.
As a result, you can use the DisplayProperties menu to modify screen resolution and this change will not be apparent when the getScreenResolution() method is used.

Suggestion:   could Java support some system properties that define the screen characteristics? It would be a relatively convenient way for end-users to calibrate their graphics capabilities, and end up getting "true"
results using our software.


Comments
EVALUATION Could this be related to the windows bug where changes to system properties do not always generate a WM_SETTINGCHANGE? Not sure if this bug occurs on Windows2000. eric.hawkes@eng 2001-02-04 This capability is provided through the new GraphicsDevice.getDisplayMode() method, available in merlin. michael.martak@Eng 2001-02-05
04-02-2001