Ignore:
Timestamp:
Sep 1, 2010, 11:59:17 PM (14 years ago)
Author:
mlg
Message:

Features implementation :
feature:0001829 : the user is now informed that the application is performing an action. It displays what action it is and also a progress bar for time consuming actions like sending images. (calls to jiwigo's webservice are done in threads).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/ui/mainframe/ThumbnailPanel.java

    r6831 r6833  
    1212
    1313import fr.mael.jiwigo.om.Image;
     14import fr.mael.jiwigo.transverse.util.Messages;
    1415import fr.mael.jiwigo.ui.ImagesManagement;
    1516import fr.mael.jiwigo.ui.browser.BrowserFrame;
     
    6364    public ThumbnailPanel(Image image) {
    6465        this.image = image;
     66        setToolTipText("<html><center>" + image.getName() + "<br/>" + image.getVue() + " "
     67                + Messages.getMessage("hits") + "</center></html>");
    6568        this.addMouseListener(this);
    6669    }
     
    8083    public Dimension getPreferredSize() {
    8184        int w = (int) (ImagesManagement.getMiniatureBufferedImage(image).getWidth());
    82         int h = (int) (ImagesManagement.getMiniatureBufferedImage(image).getHeight());
     85        int h = (int) (ImagesManagement.getMiniatureBufferedImage(image).getHeight() + 10);
    8386        return new Dimension(w, h);
    8487    }
Note: See TracChangeset for help on using the changeset viewer.