コード例 #1
0
 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;
 }
コード例 #2
0
 private TLabel getSizeLabel() {
   getSize();
   _size.setText(_sizeString);
   return _size;
 }
コード例 #3
0
 private TLabel getDateLabel() {
   getDate();
   _date.setText(_dateString);
   return _date;
 }
コード例 #4
0
 private TLabel getTypeLabel() {
   _type.setText(getTypeString());
   return _type;
 }
コード例 #5
0
 private TLabel getVendorLabel() {
   _vendor.setText(getVendorString());
   return _vendor;
 }