Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

[java] jdk1.4 samples

This topic is 6153 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello there does anybody tried the jdk1.4 samples for the full screen api in the Java Tutorial? I tried the MultiBufferTest.java and it seems to crash, but it works sometimes... I tried it under Linux and it worked fine

Share this post


Link to post
Share on other sites
Advertisement
Yeah, I tried the 1.4 beta as well and had all sorts of problems with it, not only with the new fullscreen mode. Java has a history of releasing really fishy betas, but that''s why they''re called betas. If you''re planning on using fullscreen mode for a project, I''d suggest using 1.3 and emulating the fullscreen functionality with a Window and a couple of offscreen bufffers, then porting that to 1.4 when it''s actually released.

-WayfarerX

Share this post


Link to post
Share on other sites
The fullscreen API and win2k don''t work in beta1. The double+ buffering does work though with standard windows. You can call createBufferStrategy(buffers) on a window, frame, or any subclass.

I''ve been designing my code around the possibility of going fullscreen, but am not depending on it to be there, or be stabe anytime soon. Don''t expect miracle increases in speed either, it''s just not going to happen.

I''ve been working with gl4java for developing my new tile engine so that I will not be constrained by the wonderful Java2d performance problems. I know that I can get decent performace, but there are just many things that are for free when using OpenGL or any other 3d pipeline. I may end up backporting most of the engine to Java 1.1 for compatibility, but I''ll worry about that later.

Cheers

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!