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 3 of 3
  1. #1
    New Coder
    Join Date
    Dec 2004
    Posts
    46
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How do you insert a graphic in a java program

    As you can tell I'm new to java. I want to put a background in one of my programs, does anyone know how to do that?

  • #2
    Regular Coder
    Join Date
    Nov 2004
    Location
    USA
    Posts
    123
    Thanks
    0
    Thanked 0 Times in 0 Posts
    you can check out this java program. it is java sonic... its is still in devolment. it is located here http://dw5304.250free.com/java/JavaSonic.java you can see what is does here http://dw5304.250free.com/java/JavaSonic.html

    look for the //Load the background
    in the file.

  • #3
    Regular Coder
    Join Date
    May 2002
    Location
    Virginia, USA
    Posts
    620
    Thanks
    0
    Thanked 6 Times in 6 Posts
    it really depends on what kind of app you've written. Swing? AWT? is it an applet? a console application?

    That will tell us what we need to know to help you along.

    -Celt


  •  

    Posting Permissions

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