Advertisement
Lauda

patch example (diff)

Dec 1st, 2014
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.53 KB | None | 0 0
  1. Index: NewDocumentAction.java
  2. ===================================================================
  3. --- NewDocumentAction.java  (revision 62)
  4. +++ NewDocumentAction.java  (revision 63)
  5. @@ -64,7 +64,7 @@
  6.    
  7.     public void set16x16Icon()
  8.     {
  9. -       ImageIcon ii = new ImageIcon(getClass().getResource("/img/document"));
  10. +       ImageIcon ii = new ImageIcon(getClass().getResource("/img/document-new.png"));
  11.         ImageIcon iiScaled = new ImageIcon(ii.getImage().getScaledInstance(16, 16, Image.SCALE_SMOOTH));
  12.         this.putValue(SMALL_ICON, iiScaled);
  13.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement