From: Gerardo H. <ma...@us...> - 2007-03-01 00:50:57
|
Update of /cvsroot/jrman/drafts/src/net/falappa/swing/widgets In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv1255/src/net/falappa/swing/widgets Modified Files: JImageViewerPanel.java Log Message: Compiles for Java 1.5 with -Xlint without any warning. Index: JImageViewerPanel.java =================================================================== RCS file: /cvsroot/jrman/drafts/src/net/falappa/swing/widgets/JImageViewerPanel.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** JImageViewerPanel.java 28 Feb 2007 00:02:40 -0000 1.7 --- JImageViewerPanel.java 1 Mar 2007 00:50:23 -0000 1.8 *************** *** 49,52 **** --- 49,53 ---- * @author Alessandro Falappa */ + @SuppressWarnings("serial") public class JImageViewerPanel extends JPanel { private ZoomScrollImageView zoomView= new ZoomScrollImageView(); *************** *** 335,338 **** --- 336,340 ---- * @author Alessandro Falappa */ + @SuppressWarnings("serial") class ZoomToolBar extends JToolBar { private static ResourceBundle res= *************** *** 363,367 **** private ZoomScrollImageView zoomScrollView; private transient JPopupMenu contextMenu= null; ! private Map userActions= new HashMap(5); private static final Insets buttonsInsets= new Insets(1, 1, 1, 1); private transient final ActionListener zoomInActionListener= --- 365,370 ---- private ZoomScrollImageView zoomScrollView; private transient JPopupMenu contextMenu= null; ! private Map<Action, JButton> userActions= ! new HashMap<Action, JButton>(5); private static final Insets buttonsInsets= new Insets(1, 1, 1, 1); private transient final ActionListener zoomInActionListener= *************** *** 675,678 **** --- 678,682 ---- * @version 1.0 */ + @SuppressWarnings("serial") class ZoomScrollImageView extends JComponent |