Better Java Graphics - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Better Java Graphics

altosaxplayer8altosaxplayer8 Posts: 1Member
One big problem with making games for computers is downloading them. So I figured a browser based game would be the best. However Java is one of the few programming languages that allow this. The only problem is that when you make a Java Applet the Graphics are not exactly the best. So i started research on whether or not it is possible to open up a JFrame by way of an applet. I have been very unsuccessful and would like to discuss whether there is any possible way to do this without extending the class as an Applet. Any input would be much appreciated.
-Daniel Berry


  • Josh CodeJosh Code Posts: 675Member
    It is impossible to open a JFrame with an applet. If you want to do any graphics, you can do it in the rectangular region of the applet on a page. The graphics can be basically as good as your skills allow them to be, though.

    Computers are fast enough now that you could render some 3D graphics in an applet using purely CPU-based processing and keep a reasonable frame-rate. There are some ways to use OpenGL for 3D hardware acceleration in Java but have not tried hard at putting this in a Java applet.
Sign In or Register to comment.