mirror of
https://github.com/SuspiciousActivity/ByteEdit.git
synced 2026-08-13 17:56:17 +00:00
Fixes and updates
This commit is contained in:
1 parent
d1710ea6a5
commit
fb4da77359
211 files changed
+45363
-45571
No files matched your search
@@ -21,23 +21,24 @@ import javax.swing.Icon;
|
||||
* @version 1.0
|
||||
*/
|
||||
public class EmptyIcon implements Icon, Serializable {
|
||||
|
||||
|
||||
private int size;
|
||||
|
||||
|
||||
public EmptyIcon(int size) {
|
||||
this.size = size;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public int getIconHeight() {
|
||||
return size;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public int getIconWidth() {
|
||||
return size;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void paintIcon(Component c, Graphics g, int x, int y) {}
|
||||
public void paintIcon(Component c, Graphics g, int x, int y) {
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user