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));
 }
 void updateNames() {
   if (isRGB) {
     labelh.setText("Red");
     labels.setText("Green");
     labelb.setText("Blue");
   } else {
     labelh.setText("Hue");
     labels.setText("Saturation");
     labelb.setText("Brightness");
   }
 }
Example #3
0
 void showStatus(String s) {
   statusLine.setText(s);
 }