diff options
Diffstat (limited to 'javax/swing/Icon.java')
-rw-r--r-- | javax/swing/Icon.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/javax/swing/Icon.java b/javax/swing/Icon.java new file mode 100644 index 000000000..1dd46654c --- /dev/null +++ b/javax/swing/Icon.java @@ -0,0 +1,13 @@ +package javax.swing; + +import java.awt.*; + +public interface Icon +{ + int getIconHeight(); + int getIconWidth(); + void paintIcon(Component c, Graphics g, int x, int y); + + // not in suns's spec: + void setParent(Component p); +} |