예제 #1
0
 public void setText(String sin) {
   String s = sin;
   if (s == null) s = "";
   if (!s.equals(popB.getText())) {
     popB.setText(s);
     popB.invalidate();
     validate();
   }
 }
예제 #2
0
 public String getLabel() {
   return popB.getText();
 }