示例#1
0
 void updateLabels() {
   label1.setText("" + ((int) minHue));
   label2.setText("" + ((int) maxHue));
   label3.setText("" + ((int) minSat));
   label4.setText("" + ((int) maxSat));
   label5.setText("" + ((int) minBri));
   label6.setText("" + ((int) maxBri));
 }
示例#2
0
 void updateNames() {
   if (isRGB) {
     labelh.setText("Red");
     labels.setText("Green");
     labelb.setText("Blue");
   } else {
     labelh.setText("Hue");
     labels.setText("Saturation");
     labelb.setText("Brightness");
   }
 }