Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    mnm
    mnm is offline
    New to the CF scene
    Join Date
    Apr 2003
    Location
    sunny North Queensland
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Is it possible to change the background of a .class applet .

    Is it possible to be able to change the background of a .class applet without having the actual program that it was created in.
    For example, anfy applets. Is it possible to change the actual background of the applet itself and is it permissible to do this.

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    United Kingdom Confused: Often
    Posts
    859
    Thanks
    0
    Thanked 0 Times in 0 Posts
    if its configurable on an applet there should be a parameter for you to change... such as <param name="backgroundImage" value="image.jpg" /> or whatever...

    but... unless it is configureable... then afaik you cant... although im no expert when it comes to java applets... coming to think of it im not an expert at anything... never mind
    redhead

  • #3
    mnm
    mnm is offline
    New to the CF scene
    Join Date
    Apr 2003
    Location
    sunny North Queensland
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Redhead, Thanks I'll look into trying that

  • #4
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    Open up the class in notepad, there may be some internal documentation (comments) or atleast you may find a variable called "bgcolor", "background" or similar.
    Omnis mico antequam dominus Spookster!

  • #5
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,273
    Thanks
    4
    Thanked 83 Times in 82 Posts
    Originally posted by Mhtml
    Open up the class in notepad, there may be some internal documentation (comments) or atleast you may find a variable called "bgcolor", "background" or similar.
    Not even close young whippersnapper. You cannot edit the class file. You would need the source file of that class file. Along with that you would need to know how to program in Java. Besides that Anfy applets are copyrighted so making changes to them would be in violation of their copyright.

    Anfy applets are usually pretty versatile though, so I would check their documentation and see as redhead suggested if they already have a parameter built in to change the background color/image. If not then contact Anfy and see if they can add that in for you.
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster


  •  

    Posting Permissions

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