Comment on Tutorial - float vs double data types in Java By Baski



Comment Added by : robert

Comment Added at : 2014-12-12 07:48:59

Comment on Tutorial : float vs double data types in Java By Baski
from docs api api/java/awt/Frame/setOpacity:

public void setOpacity(float opacity)
Sets the opacity of the window.
The opacity value is in the range [0..1]
//

commenting because if float isn't good for precision it's strange to me oracle would choose float for this value


View Tutorial



Related Tutorials

Java program to get location meta data from an image

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Archived Comments

1. The tutorial is simple and clear.
@Gnani, i

View Tutorial          By: Tayo at 2010-01-03 13:10:24

2. Highly appreciatable.Excellent Docs.
View Tutorial          By: Debi P Naik at 2010-05-04 05:55:45

3. Great!! But when I use wscompile to create stub,I
View Tutorial          By: Baven at 2008-07-22 15:55:52

4. can any body help me how to execute this code ....
View Tutorial          By: nikhil at 2009-06-04 23:10:30

5. sir can this be the role of java in internet if no
View Tutorial          By: shantanu khanduri at 2012-05-28 07:00:11

6. This program is faulty .

Check for

View Tutorial          By: Shrikant Kale at 2014-09-09 07:31:04

7. i am very much pleased in this type of tutorial
View Tutorial          By: arup adhikari at 2009-07-10 08:00:24

8. thanks for all thanks for your help good bye
View Tutorial          By: ARAS at 2010-05-14 06:50:47

9. MySQL Connector/J supports only TCP/IP connections
View Tutorial          By: Java Training Institute In Chennai at 2012-09-13 12:37:44

10. nice examples,but i have one problem in my project
View Tutorial          By: swati at 2015-04-30 10:48:13