Changeset 6980 for extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/ui/comments/CommentsDialog.java
- Timestamp:
- Sep 20, 2010, 8:51:41 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/ui/comments/CommentsDialog.java
r6821 r6980 54 54 55 55 * @author mael 56 * dialog affichant les commentaires d'une image et permettant d'en ajouter un56 * dialog that displays the comments of an image and allows to add one 57 57 */ 58 58 public class CommentsDialog extends JDialog implements ActionListener { … … 63 63 .getLog(CommentsDialog.class); 64 64 /** 65 * booleen permettant d'alterner les couleurs des commentaires65 * booleen that allows to alernate the colors 66 66 */ 67 67 private boolean alternate = true; 68 68 /** 69 * area permettant d'écrire un nouveau commentaire69 * area to write a new comment 70 70 */ 71 71 private JTextArea textArea = new JTextArea(); 72 72 /** 73 * bouton d'envoi d'un commentaire73 * sends the new comment 74 74 */ 75 75 private JButton boutonEnvoyer = new JButton("Ok"); 76 76 77 77 /** 78 * id de l'image78 * id of the image 79 79 */ 80 80 private Integer imageId; 81 81 /** 82 * panel qui permet de scroller sur les commentaires82 * panel that allows to scroll 83 83 */ 84 84 private JPanel panelScrollCommentaires = new JPanel(new GridBagLayout()); 85 85 /** 86 * panel qui permet d'ajouter un commentaire86 * panel that allows to add a comment 87 87 */ 88 88 private JPanel panelAjouterCommentaire = new JPanel(new FlowLayout()); 89 89 90 90 /** 91 * Scrollpane qui permet de scroller sur l'area91 * Scrollpane 92 92 */ 93 93 private JScrollPane scrollPaneArea; 94 94 /** 95 * scrollpane qui permet de scroller sur les commentaires95 * scrollpane that allows to scroll 96 96 */ 97 97 private JScrollPane scrollPaneCommentaires; 98 98 99 99 /** 100 * Construct eur101 * @param imageId id de l'image100 * Constructor 101 * @param imageId the id of the image 102 102 */ 103 103 public CommentsDialog(JFrame parent, Integer imageId) {
Note: See TracChangeset
for help on using the changeset viewer.