The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
December 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Differences with Button.setBackground( Color ) jdk versions?

Posted by Richard Jones on December 13, 2000 at 12:24 AM

> Use setBackground ( Color.pink ) method on TextField or JTextField whichever you are using.

I have noticed using IBM's VAJ 2.0 with jdk 1.1.6 that setBackground( Color ) and setForeground( Color )don't work on a Button but with VAJ 3.5 and jdk 1.2 they do. Know why?

Minor point, obviously, but I'd be interested to know if it's a bug in jdk or vaj or just my work machine!

Richard




Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us