
Contoh berikut ini akan menampilkan beberapa fungsi grafik yang berhubungan dengan warna. Pewarnaan dalam aplikasi Java menggunakan methode pewarnaan RGB (Red Green Blue). Selain dengan menggunakan nilai spesifik RGB, Java telah menyediakan beberapa warna yang telah didefinisikan pada kelas Color misalnya RED, BLUE, WHITE dan lain-lain.
Dowload Article
Translate to English
The following example will show the graph of some function associated with the color. Coloring in a Java application using the methode coloring RGB (Red Green Blue). In addition to using a specific RGB value, Java has provided some of the color that has been defined in the Color class such as RED, BLUE, WHITE and others.