Example #1
32
 private TLabel getStatusLabel() {
   getStatus();
   if ((_statusIcon == null)
       || (_statusIcon.getIconWidth() > 0) && (_statusIcon.getIconHeight() > 0)) {
     _status.setIcon(_statusIcon);
     _status.setToolTipText(_statusText);
   }
   return _status;
 }
 private JLabel getTitleLabel() {
   if (_icon == null) {
     File iconFile = getIconFile();
     if (iconFile != null) {
       _icon = new ViewerIcon(ICON_W, ICON_H, iconFile.getPath());
     }
     if (_icon == null) {
       _icon = _java32;
     }
   }
   if ((_icon != null) && (_icon.getIconWidth() > 0) && (_icon.getIconHeight() > 0)) {
     _title.setIcon(_icon);
   }
   _title.setText(getTitleString());
   return _title;
 }