Mercurial > hg > ristipolku
comparison game/IDMButton.java @ 133:881deac2daf8
Some more work on scaling widgets, etc.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 24 Nov 2011 21:50:41 +0200 |
parents | b586ce4f6d97 |
children | 4c0dec72e2f0 |
comparison
equal
deleted
inserted
replaced
132:333df3e1155b | 133:881deac2daf8 |
---|---|
56 } | 56 } |
57 catch (IOException e) | 57 catch (IOException e) |
58 { | 58 { |
59 System.out.print(e.getMessage()); | 59 System.out.print(e.getMessage()); |
60 } | 60 } |
61 } | |
62 | |
63 public void scale() | |
64 { | |
61 } | 65 } |
62 | 66 |
63 public void paint(Graphics2D g) | 67 public void paint(Graphics2D g) |
64 { | 68 { |
65 BufferedImage img; | 69 BufferedImage img; |