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: Looking for a good resource for working with images & sound

  1. #1
    Junior Member
    Join Date
    Jan 2021
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Looking for a good resource for working with images & sound

    I am currently going through CodeGym (almost done with Java Core). Having looked ahead a bit, I've noticed that there don't seem to be any lessons related to working with graphics. Some of the games we "build" are made using CodeGym's library where it uses their own graphical display box but we never interact directly with that part of the code. All of the other programming tasks (at least so far) involve only text input/output through the console. If I were to create my own project, I wouldn't know how to open a window for the program or have graphics displayed in the window.

    I was wondering if there were any books specialized around the subject of these issues. Or any specific resources anyone would recommend.

  2. #2
    Member
    Join Date
    Aug 2020
    Posts
    42
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default Re: Looking for a good resource for working with images & sound

    The only thing I know about graphics-wise concerning Java is JavaFX, and if you're looking towards android GUI using Java, there are some options and all information/tutorials can be found on YouTube with a few searches.

  3. #3
    Junior Member
    Join Date
    Jan 2021
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Looking for a good resource for working with images & sound

    I actually figured this out a while back, at least the graphics part. I didn't understand that AWT is Java's graphics handling thing. And I've watched a bunch of Youtube videos that show how to set up a Thread that keeps looping through update() and render() methods for the different parts of the program.

    I'm still a bit fuzzy on getting Java to play music, but working on that.

  4. #4
    Junior Member
    Join Date
    Oct 2021
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Re: Looking for a good resource for working with images & sound

    Hi how are you?

Similar Threads

  1. What's a good resource to practice Algorithms?
    By sjain100 in forum Algorithms & Recursion
    Replies: 0
    Last Post: January 3rd, 2021, 05:15 PM
  2. [SOLVED] Putting images in GUI. Images in source file dont seem to be recognised.
    By nikolaiL in forum What's Wrong With My Code?
    Replies: 1
    Last Post: June 8th, 2014, 02:44 PM
  3. Playing sound file not working
    By Recall in forum What's Wrong With My Code?
    Replies: 1
    Last Post: October 18th, 2013, 11:58 AM
  4. Playing sound each time mouse is clicked (not working)
    By BestSanchez in forum What's Wrong With My Code?
    Replies: 0
    Last Post: August 24th, 2012, 09:51 PM
  5. Replies: 0
    Last Post: January 12th, 2012, 03:54 PM