1888 |
*/ |
*/ |
1889 |
public void repaint() |
public void repaint() |
1890 |
{ |
{ |
1891 |
repaint(0, 0, 0, width, height); |
if(!isShowing()) |
1892 |
|
{ |
1893 |
|
Component p = parent; |
1894 |
|
if (p != null) |
1895 |
|
p.repaint(0, getX(), getY(), width, height); |
1896 |
|
} |
1897 |
|
else |
1898 |
|
repaint(0, 0, 0, width, height); |
1899 |
} |
} |
1900 |
|
|
1901 |
/** |
/** |
1909 |
*/ |
*/ |
1910 |
public void repaint(long tm) |
public void repaint(long tm) |
1911 |
{ |
{ |
1912 |
repaint(tm, 0, 0, width, height); |
if(!isShowing()) |
1913 |
|
{ |
1914 |
|
Component p = parent; |
1915 |
|
if (p != null) |
1916 |
|
p.repaint(tm, getX(), getY(), width, height); |
1917 |
|
} |
1918 |
|
else |
1919 |
|
repaint(tm, 0, 0, width, height); |
1920 |
} |
} |
1921 |
|
|
1922 |
/** |
/** |
1933 |
*/ |
*/ |
1934 |
public void repaint(int x, int y, int w, int h) |
public void repaint(int x, int y, int w, int h) |
1935 |
{ |
{ |
1936 |
repaint(0, x, y, w, h); |
if(!isShowing()) |
1937 |
|
{ |
1938 |
|
Component p = parent; |
1939 |
|
if (p != null) |
1940 |
|
p.repaint(0, x + getX(), y + getY(), width, height); |
1941 |
|
} |
1942 |
|
else |
1943 |
|
repaint(0, x, y, w, h); |
1944 |
} |
} |
1945 |
|
|
1946 |
/** |
/** |