示例#1
0
 /** Initialise the frame to show the current photo */
 private void initFrame() {
   _frame.setVisible(false);
   Photo photo = _app.getTrackInfo().getCurrentPhoto();
   _frame.setTitle(photo.getName());
   _label.setText(
       "'" + photo.getName() + "' (" + photo.getWidth() + " x " + photo.getHeight() + ")");
   _photoThumb.setPhoto(photo);
 }