Shika San

Greenhorn
+ Follow
since Nov 26, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Shika San


You have created a BufferedImage of size 50 X 50 pixels. Then you draw another image to its Graphics context, starting at the coordinate [50, 50]. This places the drawn image outside the image it is being drawn to, so it's not surprising that you don't see anything.



Thank you for your reply.

I have tried what you suggested but the result is the same:



Maybe that's not what you have suggested, but that's what I have understood, Thank You.
12 years ago
Greetings EveryOne

I am making a board game, I want to load the board and the pieces with their current locations into a BufferedImage then paint the BufferedImage to the screen, is this a good aproch? if not can you show me a better one?

Here is the code that I came up with:



The output is a 50*50 black square, the image doesn't shows up, even it's in the same directory as the applet.

Please SomeOne Help, Thank You.
12 years ago