swing:color

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
swing:color [2015/05/05 13:03]
gthanos
swing:color [2015/05/05 13:12]
gthanos
Line 50: Line 50:
 Color(int r, int g, int b, int a) Color(int r, int g, int b, int a)
 Creates an sRGB color with the specified red, green, blue, and alpha values in the range (0 - 255). Creates an sRGB color with the specified red, green, blue, and alpha values in the range (0 - 255).
- 
 </​code>​ </​code>​
 +
 +====== Παράδειγμα χρήση της κλάσης Color ======
 +
 +Παρακάτω δίνουμε ένα παράδειγμα όπου χρησιμοποιούμε ότι μάθαμε μέχρι τώρα αναφορικά με το Swing framework. Δημιουργούμε ένα παράθυρο και ορίζουμε ως Manager για το content pane του παραθύρου τον [[swing:​start#​Border Layout Manager|BorderLayout Manager]]. ​
 +
swing/color.txt · Last modified: 2016/02/26 11:15 (external edit)