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



Ask a Question

Subscribe to Tutorials

Related Tutorials

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

Java program using Method Overriding

Archived Comments

1. hi.I am new in j2me and really want to learn more
View Tutorial          By: snehal at 2011-12-01 11:46:22

2. Hii I m Ravi. This is a good example.
Here

View Tutorial          By: Ravi at 2011-02-17 09:09:06

3. Excellent Example...... To understand the concept
View Tutorial          By: SUNNY at 2009-02-24 23:41:04

4. this site is really very useful.
it provide

View Tutorial          By: ankush bansal at 2009-11-12 08:34:13

5. how to use tokenizer "No.1 hello,No.2 world,N
View Tutorial          By: saanu at 2011-03-04 00:41:21

6. plzzz xplain all d buzzwads.....
View Tutorial          By: sindhu at 2010-12-10 08:49:27

7. The iterator returned by iterator() does not point
View Tutorial          By: Jeffrey at 2009-10-06 21:45:41

8. class loop8
{
public static voi

View Tutorial          By: ankush singh at 2011-11-04 16:26:36

9. I'm working on an intranet site/web application. W
View Tutorial          By: Tony Gingrich at 2011-10-23 21:22:31

10. in this matter i get also this exception :

View Tutorial          By: oded at 2008-09-28 05:41:35