Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
Java How to draw Images
SUBMITTED BY:
Guest
DATE:
Dec. 6, 2013, 10:12 p.m.
FORMAT:
Java
SIZE:
214 Bytes
Raw
Download
Tweet
HITS:
824
Go to comments
Report
// How to draw Images in Java
public
void
paintComponent
(
Graphics
g
){
//Image
g
.
drawImage
(
ImageName
,
xCoord
,
yCoord
,
this
);
//String
g
.
drawString
(
"Put your Text here"
,
xCoord
,
yCoord
,
this
);
}
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus