Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Aditi Msc   on Sep 28 In Java Category.

  
Question Answered By: Kawthar Malik   on Sep 28

The constructor  for TransaprencyAttributes is (int, float, int, int).
When you use 0.5, the compiler makes it a double  by default and
searches for a constructor of (int, double, int, int). Use 0.5f to
create a variable of type float.

Share: 

 
 
Didn't find what you were looking for? Find more on Java3D TransparencyAttributes Or get search suggestion and latest updates.