예제 #1
0
  public final void updateIconSize() {
    this.setIcon(currentTool.getImageIcon(dataLayer));

    // upadte tool tips in popup menu that belongs to this jToggleButton
    if (pop != null) {
      pop.updateIconSize(dataLayer);
    }
  }
예제 #2
0
 public final void updateToolTip() {
   // update tool tip of jToggleButton
   this.setToolTipText(currentTool.getToolTip(dataLayer));
   // upadte tool tips in popup menu that belongs to this jToggleButton
   if (pop != null) {
     pop.updateToolNames(dataLayer);
   }
 }