Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: java applet

  1. #1
    Junior Member
    Join Date
    Dec 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Red face java applet

    hi there !! do you have any idea on how to start creating a 2D or 3D java applet?...




    tnx much.................


  2. #2
    Member llowe29's Avatar
    Join Date
    Jul 2013
    Posts
    116
    My Mood
    Tired
    Thanks
    9
    Thanked 5 Times in 5 Posts

    Default Re: java applet

    Here is java.awt.applet info(link)
    Applet (Java Platform SE 7 )

  3. #3
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    4,484
    My Mood
    Mellow
    Thanks
    152
    Thanked 610 Times in 597 Posts

    Default Re: java applet

    What do you mean by "2D or 3D" applet? What does the applet need to do? Also, be sure to use the JApplet class when writing your code.

  4. #4
    Member andbin's Avatar
    Join Date
    Dec 2013
    Location
    Italy
    Posts
    443
    Thanks
    4
    Thanked 122 Times in 114 Posts

    Default Re: java applet

    Quote Originally Posted by laine View Post
    hi there !! do you have any idea on how to start creating a 2D or 3D java applet?...
    An applet is simply a class that extends Applet or JApplet (the latter only adds some "Swing" concepts)
    What you do or display in an applet is another story. Java has direct support for 2D graphics through Graphics/Graphics2D classes. You need to do some "custom" painting, either directly in the applet or in a specific component (extension of JPanel for example).
    For 3D graphics you need a specific external library (it's not in the standard Java SE framework!). And it's all another (more complex) story.
    Andrea, www.andbin.net SCJP 5 (91%) SCWCD 5 (94%)

    Useful links for Java beginners My new project Java Examples on Google Code

Similar Threads

  1. Need Help with this java applet
    By bruizer in forum Threads
    Replies: 5
    Last Post: September 23rd, 2012, 11:01 PM
  2. Running a java applet inside a java window?
    By frozen java in forum Java Theory & Questions
    Replies: 3
    Last Post: July 3rd, 2012, 10:55 PM
  3. Replies: 29
    Last Post: May 18th, 2012, 02:16 PM
  4. Need help with Java applet
    By Trendle in forum Java Applets
    Replies: 0
    Last Post: May 18th, 2012, 11:30 AM
  5. Java Applet
    By Ludicrous in forum Java Applets
    Replies: 7
    Last Post: March 31st, 2012, 02:40 PM