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



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. hey i can write more simple example of this pointe
View Tutorial          By: shruti at 2010-03-03 09:44:58

2. Buenisimo, me ayuda a salir de un problema, cosas
View Tutorial          By: Emilio, Guatemala at 2012-09-25 15:33:11

3. Hi friends i have one problem am register one form
View Tutorial          By: Inbaraj at 2014-07-04 05:28:55

4. good
View Tutorial          By: qwerty at 2014-02-14 07:37:08

5. sorry i think that's a constructor...just had one
View Tutorial          By: Gautam at 2013-10-14 15:55:14

6. hello sir

i am simulating railway r

View Tutorial          By: karthick at 2008-08-30 03:09:42

7. I discover unlimited calendar.this calendar use of
View Tutorial          By: Lalit Kumbhani at 2011-12-31 16:02:06

8. Nice Article, but these concepts are pretty confus
View Tutorial          By: Goldest at 2011-03-18 01:50:50

9. good tutorial
View Tutorial          By: mohang at 2011-12-24 05:24:56

10. This tutorial is really fantastic.It helped me a l
View Tutorial          By: LakshmiNaryana Gorantla at 2010-04-19 23:35:45