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"); } }
void showStatus(String s) { statusLine.setText(s); }