Esempio n. 1
0
  /** Updates the list of photos displayed. */
  public void updatePhotos() {
    photosPanel.removeAll();
    drawPhotoThumbnails();

    photosPanel.repaint();
    photosPanel.revalidate();
    scrollPane.repaint();
    scrollPane.revalidate();
    contentPane.repaint();
    contentPane.revalidate();

    albumsScreen.updateAlbums();
  }
Esempio n. 2
0
 /** Hides this window and makes the albums screen visible. */
 public void goBackToAlbumsScreen() {
   albumsScreen.setVisible(true);
   this.dispose();
 }