JDK-4138589 : Java2D demo menuitems font changes on mouse over.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 1.2.0
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_2.6
  • CPU: sparc
  • Submitted: 1998-05-14
  • Updated: 1998-05-19
  • Resolved: 1998-05-19
Related Reports
Duplicate :  
Duplicate :  
Description
The Java2D demo menuitems appear with a large font when the menu is pulled down.  As the mouse moves over the menuitems the font changes to a smaller font.

To reproduce run the demo located in /usr/local/java/jdk1.2/solaris/demo/jfc/Java2D

Select the Options menu.  Notice how the font changes when mousing over the menuitems.  

Comments
EVALUATION This happens because Java 2D uses different rendeding code for on and off screen drawing. It is nothing to do with Swing. georges.saab@Eng 1998-05-18
18-05-1998