Results 1 to 8 of 8
  1. #1
    Samkough is offline Member
    Join Date
    May 2013
    Posts
    7
    Rep Power
    0

    Default How do you add a barrier around your applet so nothing goes out of the applet?

    What is the code so that nothing can leave the applet?

    Thanks!

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,953
    Rep Power
    19

    Default Re: How do you add a barrier around your applet so nothing goes out of the applet?

    What do you mean by "leave the applet"?
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  3. #3
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,939
    Rep Power
    8

    Default Re: How do you add a barrier around your applet so nothing goes out of the applet?

    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  4. #4
    Samkough is offline Member
    Join Date
    May 2013
    Posts
    7
    Rep Power
    0

    Default Re: How do you add a barrier around your applet so nothing goes out of the applet?

    Quote Originally Posted by Tolls View Post
    What do you mean by "leave the applet"?
    Do you know how in Pong the paddle can't go beyond the applet? Like it has certain limits as to where it can go in the applet.

  5. #5
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,953
    Rep Power
    19

    Default Re: How do you add a barrier around your applet so nothing goes out of the applet?

    Find the size of the panel used then.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  6. #6
    Samkough is offline Member
    Join Date
    May 2013
    Posts
    7
    Rep Power
    0

    Default Re: How do you add a barrier around your applet so nothing goes out of the applet?

    Quote Originally Posted by Tolls View Post
    Find the size of the panel used then.
    Alright well do you know the code for it?

  7. #7
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,953
    Rep Power
    19

    Default Re: How do you add a barrier around your applet so nothing goes out of the applet?

    Please do not ask for code as refusal often offends.

    ** This space for rent **

  8. #8
    Samkough is offline Member
    Join Date
    May 2013
    Posts
    7
    Rep Power
    0

    Default Re: How do you add a barrier around your applet so nothing goes out of the applet?

    Quote Originally Posted by Tolls View Post
    Thank you sir.

Similar Threads

  1. Replies: 30
    Last Post: 08-26-2011, 09:05 PM
  2. applet working in applet viewer, not browser
    By plasticfood in forum Java Applets
    Replies: 4
    Last Post: 06-24-2011, 06:47 PM
  3. Replies: 2
    Last Post: 09-29-2009, 03:33 PM
  4. Calling another applet on click of button in one applet
    By niteshwar.bhardwaj in forum Java 2D
    Replies: 1
    Last Post: 02-19-2009, 12:54 PM
  5. Replies: 4
    Last Post: 06-08-2007, 06:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •