net.sf.jaer.util
Class TriangleSquareWindowsCornerIcon
java.lang.Object
net.sf.jaer.util.TriangleSquareWindowsCornerIcon
- All Implemented Interfaces:
- javax.swing.Icon
public class TriangleSquareWindowsCornerIcon
- extends java.lang.Object
- implements javax.swing.Icon
Makes a triangle grab resize handle for use in corner of a window to mimic Windows resize behavior.
From Java Swing Hacks book.
Created by IntelliJ IDEA.
User: Jonathan Simon
Date: Oct 5, 2004
Time: 6:03:57 PM
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TriangleSquareWindowsCornerIcon
public TriangleSquareWindowsCornerIcon()
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interface javax.swing.Icon
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interface javax.swing.Icon
paintIcon
public void paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
- Specified by:
paintIcon
in interface javax.swing.Icon