Community
Participate
Working Groups
Build Identifier: 20110218-0911 The doc entry for Color.YELLOW and Color.yellow have been switched. Code: import java.applet.Applet; import java.awt.*; public class App extends Applet{ public void paint(Graphics page) { setBackground(Color.white); page.setColor(Color.); } } Reproducible: Always Steps to Reproduce: 1. Go to http://pastie.org/1749636 or the code in the details. 2. Ctrl+Space at line 6, column 29. 3. Scroll down to the two entries for yellow. Click one. Read.
This looks good to me using Eclipse 3.7 M6 with JRE 1.6. The only difference in the Javadoc is that 'YELLOW' has an additional "@since 1.4".