[gameprogrammer] A newbie Java Question - GUI/Animation etc...
- From: "richard sabbarton" <richard.sabbarton@xxxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Mon, 4 Feb 2008 15:56:44 +0000
Hi Guys,
In C++ on windows I would use animation by creating a compatible
device context in memory with CreateCompatibleDC(). I would write my
game and all of its elements to the MemoryDC and then use something
like BitBlt() to push it to my main DC.
I have recently started learning Java and I want to perform a similar
function. I want to write all of the elements to memory and then
transfer it to the screen every x milliseconds. This is to eliminate
flicker etc.
I have been looking online through tutorials etc. and I can't seem to
find a description of how to do this. Do I need to use java.awt or
should I use javax.swing.
Any thoughts on how to do this or suggestions on greating a game
display in Java?
Initially this is for display in an Applet in a web page.
Regards
Richard
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- Follow-Ups:
- [gameprogrammer] Re: A newbie Java Question - GUI/Animation etc...
- From: Robbert de Groot
- [gameprogrammer] Re: A newbie Java Question - GUI/Animation etc...
- From: Tom Clifford
Other related posts:
- » [gameprogrammer] A newbie Java Question - GUI/Animation etc...
- » [gameprogrammer] Re: A newbie Java Question - GUI/Animation etc...
- » [gameprogrammer] Re: A newbie Java Question - GUI/Animation etc...
- » [gameprogrammer] Re: A newbie Java Question - GUI/Animation etc...
- » [gameprogrammer] Re: A newbie Java Question - GUI/Animation etc...
- » [gameprogrammer] Re: A newbie Java Question - GUI/Animation etc...
- » [gameprogrammer] Re: A newbie Java Question - GUI/Animation etc...
- » [gameprogrammer] Re: A newbie Java Question - GUI/Animation etc...
- » [gameprogrammer] Re: A newbie Java Question - GUI/Animation etc...
- » [gameprogrammer] Re: A newbie Java Question - GUI/Animation etc...
- » [gameprogrammer] Re: A newbie Java Question - GUI/Animation etc...
- » [gameprogrammer] Re: A newbie Java Question - GUI/Animation etc...
- » [gameprogrammer] Re: A newbie Java Question - GUI/Animation etc...
- » [gameprogrammer] Re: A newbie Java Question - GUI/Animation etc...
- » [gameprogrammer] Re: A newbie Java Question - GUI/Animation etc...
- » [gameprogrammer] Re: A newbie Java Question - GUI/Animation etc...
- » [gameprogrammer] Re: A newbie Java Question - GUI/Animation etc...
- » [gameprogrammer] Re: A newbie Java Question - GUI/Animation etc...
- [gameprogrammer] Re: A newbie Java Question - GUI/Animation etc...
- From: Robbert de Groot
- [gameprogrammer] Re: A newbie Java Question - GUI/Animation etc...
- From: Tom Clifford