Skip to main content
gamedev.net
🔒 Locked

[java] can't use offscreen surface

Started by alnite 0 replies 250+ views
Original Post
alnite
alnite
This is the source code: ChildFrame.java ImageFile.java ImageProcessing.java in ChildFrame.java, inside paintComponent() function, I created the offscreen surface, and copy the image to it. But all I got is black. And sometimes, Java throws lots of exception when I load certain files. What''s wrong??
Programmers are lazy people, they keep trying to find a way of doing so many things without moving.

Current project: A puzzle game. Homework.
% completed: ~10%. ~50%
Status: Active. Active.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.