Loops in Red

I recently upgraded from Soundtrack to Soundtrack Pro. Before I upgraded, I deleted the soundtrack loops so that I would not have duplicates. Now there are may red loops in my browser and I cannot seem to find a way to reconnect to them. I have tried re-indexing and that does not seem to work. Any thoughts?

Sure, no problem. Click on the search tab, find and click the the "Setup..." button, and a sheet will pop up.
In the upper left corner of that sheet there are two buttons labeled "+" and "-". Below that there is a big table with column headings "use", "Directories being indexed", etc. Each row represents a directory for which Soundtrack maintains an index of the loop files and their assosciated keywords and stuff.
If for some reason Soundtrack loses track of the directory it's indexing, for example if you move your loops directory to a different drive, that directory's row in this table will turn red. You can select the red row and click the "-" button to delete Soundtrack's index. Then click the "+" button, navigate to the folder where your loops live, and click open to have Soundtrack index them again.

Similar Messages

  • Loops in red & importing sounds from iMovie

    There are some loops in red and I have tried to import them through setup but it says they are open, also when I try to import from iMovie it says "NOT INDEXED"?

    answered

  • Help with Loops!! All loops are RED and unclickable after Leopard upgrade.

    I may need to just remove soundtrack pro from my computer and start from scratch again. When I upgraded to Leopard I failed to select preserve user settings when I did an archive and install. So therefore I had to find and drag files to the new library. This is on my Power Mac G5.
    I have a Macbook Pro laptop and I used that as a guide of how I have that set up. On my G5, I have all my loops in the same folders they are in on my laptop. When I open STP, and pull up my loop files, they are all listed in red. When I try to click on them, nothing happens.
    I have them set up as MAC>Library>Audio>Apple Loops>Apple Loops for Soundtrack Pro, Apple Loops for GarageBand, PowerFX Loops
    I am not sure if I am dealing with a bunch of corrupt files and need to start with a new slate or what.
    I also noticed that most if not all the audio loops end in .CAF instead of .AIFF in the folders. However when STP is open, the files ARE listed as .aiff files but they are red and non clickable.
    Any suggestions appreciated!
    Thanks!
    Message was edited by: DVX100Shooter
    Message was edited by: DVX100Shooter
    Message was edited by: DVX100Shooter

    Yea once I rearranged the loops and then opened STP and then Indexed those loops, I got everything back to normal except my Trumpet files. I cannot locate them anywhere. There are only 4 loops but I searched my HD and still can't locate where they are but I got everything else back to working.

  • Start up and stuck with the flashing color (red green blue yellow...)

    I just bought Macbook pro(My first time with Mac product) today, and when i unbox the MBP it was have a good start everything is ok, than I test the DVD drive to make sure it work or not, than i put the VCD to it. it was stuck (with the flashing color). than i dont'know what to do. I press the shutdown button around 10s the pc is shutdown...I open it again and eject the VCD, than I was stuck with flashing color (red green blue yellow...) i have try to restart many time buy pressing the button but still the same. than i keep it away for about 1hour than I open it again It was WORKING AGAIN the same as I first started, than I restart, but the same problem happen again (flashing color (red green blue yellow...).
    1. I have tried to boot from DVD that come with the MBP holding C but nothing happen
    2. I have tried to reset PRAM (Command-Option-P-R) not work
    So what wrong with that?
    Could anyone help me to fix this out?
    Thank you

    Solida wrote:
    the flashing is the Macbook pro screen it Flashing Loop, sometime red, than suddenly change to green than yellow than loop again and again.
    Notice when it first start up I see APPLE LOGO than the waiting animation round. than the random screen flashing color is happened.
    Three options:
    1. Call AppleCare.
    2. Go to an Apple Store.
    3. Go to an Apple Authorized Service Provider (AASP)

  • Z2 dont start and boot loop SE screen

    Dear All,
    It has been now 4 months i have this Z2, unitl now everything was working fine, last day the battery drained completely, 0% and it got off. after some time i connected the phone to wall charger using original charger and cable , the screen boots and sony xperia flash and then it get off and then again keeps boot loop, 
    The RED led comes on and then off , and screen flash SE and keeps looping... i tried making power off holding UP + power nothing works.
    i tried connecting to PCC but it also doesnt detect and keep searching phone. i tried repairing using PCC but it doesnt detect phone. i tried holding DOWN volume during power on but green led doesnt come ...
     when i press UP + power on , Blue LED comes but nothing happens.
    dont know wht has happened, kindly suggest me what to do.. im unable to use the phone or powere on or im not able to do anything.
    Await your best support at earliest.
    Wajid
    Solved!
    Go to Solution.

    Try performing a system repair using Pc Companion as this will often fix issues - This will factory reset your phone
    Switch off your phone and unplug from Pc
    Start PC Companion and select Support zone then Update my phone/tablet then in Blue Repair my phone/tablet and follow the onscreen instructions - When prompted connect your phone still switched off holding volume down or back button - This should start the repair or reformat process
    If you are using Windows 8/8.1 or a 64bit operating system then adjust the settings for PC Companion and run in compatibility mode and chose Windows 7 or XP
    For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled.   Richard P. Feynman

  • Error 6 while restoring iPhone 6 with red screen flashing

    I was trying to update to iOS 8.0.2 which failed. Since then, I have been trying to restore my device to the earlier version. While I try to restore, iTunes would say "extracting software" after which it would say "waiting for iPhone" and then I get this "An unknown error has occurred[6]" On repeatedly trying, once I got an instance when there was a scary red screen flashing right after the apple logo that shows when booting the device. And this loop of "red screen flashing" and "the apple boot logo appearing" would continue forever. Anybody else face such problems? Any solut

    Error 1015 is usually a downgrade error. If you are restoring to 4.2.1 firmware then this is most often due to iPhone having iPad baseband. Did you get this iPhone from someone else? If this is the case you will need to search the web for help. Search for iPad baseband, 1015, etc.

  • Microsoft JScript Compilation Error

    Hello,
     I have written a program that is controlling a manufacturing setup. The labview program consists of two independent loops. One controls the motors through an analog output. The second turns a bath sonicator on and off at a specified interval. The sonicator loop is output through a digital channel. This program runs for approximately 5 days. However after 18 to 24 hours I receive an error... "Header: Mircosoft JScript Compilation Error Below: Syntax Error" The overall program continues to run but the sonicator portion stops running. I have put a log process into the sonicator loop in a hope to determine a pattern. I ran the program multiple times they stopped running at random times during the night and there is no pattern to the number of cycles completed. Thanks to the log I have determined this is definitely not a hardware problem, but is a software problem. If anyone has an idea I would greatly welcome.
     Myles

    Sorry that was information I should have included in the first message but it was a late night.
    1) I was running it on labview 8.5.3, I just upgraded computers and the school installed labview 8.6.1 on this computer. There seems to be no difference in the problem between computers or between versions of labview.
    2) I have outline the "sonicator" loop in red
    3) Both computer have been running Windows XP Professional, I don't think the problem is originating in labview as the main program continues to run.
    4) The log I created can be seen in the last frame in the sonicator loop. It simply outputs the time and date that the sonicator loop completed a cycle
    here is an example of a cycle specified to turn the sonicator on for 20 minutes out of every hour
    3:24 PM 1/18/2010
    4:24 PM 1/18/2010
    5:24 PM 1/18/2010
    6:24 PM 1/18/2010
    7:24 PM 1/18/2010
    8:24 PM 1/18/2010
    9:24 PM 1/18/2010
    10:24 PM 1/18/2010
    11:24 PM 1/18/2010
    12:24 AM 1/19/2010
    1:24 AM 1/19/2010
    2:24 AM 1/19/2010
    3:24 AM 1/19/2010
    4:24 AM 1/19/2010
    5:24 AM 1/19/2010
    6:24 AM 1/19/2010
    7:24 AM 1/19/2010
    8:24 AM 1/19/2010
    9:24 AM 1/19/2010
    10:24 AM 1/19/2010
    11:24 AM 1/19/2010
    12:24 PM 1/19/2010
    1:24 PM 1/19/2010
    2:24 PM 1/19/2010
    3:24 PM 1/19/2010
    4:24 PM 1/19/2010
    5:24 PM 1/19/2010
    6:24 PM 1/19/2010
    7:24 PM 1/19/2010
    8:24 PM 1/19/2010 
    This log stopped at 8:24 and the main program was still running the next day when I came in, with the error stated above showing. There is no physical damage to the circuit, and I can still manually turn the sonicator circuit on/off using a small sub VI, I would expect it to be a software problem in the "sonicator" loop. Also I can restart this program and the sonicator acts normal again for ~24 hours until the same error.
    5/6) This project was kind of frankinsteined together (as you may recognize by the top loop, which is the motor control loop, the school is too cheap to invest in NI Motion control) there is no real communications between the equipment and labview. Labview is simply outputting signals, in the case of the stepper motor, the analog step signal is used to trigger a step in the motor encoder board. In the case of the sonicator the on/off signal is amplified and feed into a normally open relay which controls the power to the sonicator. The system was designed to handle errors by failing to safe, although there haven't been any errors other than this one.
    Although I believe it is a software problem I am using a PCI-6024e, just in case it is relevant.
    Thank you for the help
    Myles

  • Droid Razr M Red Eye Boot Loop--continues for TOO many customers, need help!

    Droid Razr M problem with red eye boot loop--with ALL of the many posts that can be found online concerning this problem, why is there not a FIX from Motorola and/or Verizon?  All I seem to get are suggestions (I've tried) and "device is now considered out-of -date, you need a new phone".  Why should I purchase a new phone when I will have another issue in 2 yrs to cause me to purchase again?  Amazing how I am back to the 3G Droid Razr X to make due--It is about 5 yrs out-of-date.  Support with phones that are out-of-contract is ...well, pretty much non-existent.  Motorola gives the same "run around" after a 1 hr. call.  Verizon chat tech were helpful/nice but I was sent to motorola when answers could not be found...useless call transfer/number.  Any help for this Verizon faithful customer other than spend more $ for another phone?

    Factory data reset is all that you can try really.  If that does not repair the issue, then the software or hardware might really be at fault, and a repair would be necessary.

  • Cannot find loops and comes up red

    hi
    i have worked with ST before but when i opened STP all of the instrument names were in a red font.
    I tried to search them again but then they wouldn't appear at all and the tabs went grey. I then tried the suggested solution of creating a new folder called Apple loops for STP but still nothing worked.
    Does anyone know the solution because i have been looking through past discussions and no one seems to have the answer. Any help would be greatly appreciated thanks.

    Great question and the documentation doesn't seem to say much. I think what it means is that STP is aware of the loop; that is, there is some pointer or reference in the library, but the actual loop isn't available. I installed all my STP content to an external Firewire device. When its not plugged in, all my loops in the Browser come up red and right+clicking doesn't help at all. After plugging in the FW device and restarting STP, the loops come up black and can be accessed.

  • Netflix app is stuck in a loop. Tapping the icon sends you to the NETFLIX red sceen. Screen says it's loading but it reverts back to the icon screen. I've removed and reinstalled the app half a dozen times. Anyone have a fix?

    Netflix app is stuck in a loop. Tapping the icon sends you to the NETFLIX red sceen. Screen says it's loading but it reverts back to the icon screen. I've removed and reinstalled the app half a dozen times. Works sometimes but then reverts back.

    Try resetting your iPad by pressing the home and sleep buttons until you see the Apple logo, ignoring the slider. Takes about 5-15 secs of button holding and you won't lose any data or settings.

  • Iphone 6 crash after update, red screen, looping

    I got the new iphone 6 and ever since the last update my phone has gone into a loop on the apple logo (reboot) mode twice, and all I can do is restore my iphone. I have not done anything illegal to my iphone to cause it to go into this mode, nor have I done any weird updates.. I will simply be using my phone and the screen will suddenly turn red and blank out on me. I can do nothing to fix the problem except for restore my entire iphone. This is extremely frustrating because it seems to go into this mode every time it tries to back up the contents or update. I have no idea how to fix this issue and I don't know anyone else who has this problem with their iphone. I am a new iphone user and I'm tempted to switch back to samsung because of this recurring issue.

    I talked with a Apple Service provider and they informed me that it was either a glitch in the phone when the backup happened, and I had to either restore as new and slowly add back all my information... and if that didn't work I would have to send my phone in to apple so they could find out the physical issue was with the phone.
    Mine happens when it is trying to update, usually around 1 a.m. and my red screen appears no matter what... it will filter out and come back.. etc.
    Extremely frustrating, a phone this new should not be having these types of glitches and issues.

  • IPhone 6 stuck in red screen starting loop and won't restore.

    Ok, so i've been using my iPhone 6 happily since release day, the only problem I had was a flickering white line at the bottom of the screen while browsing certain webpages and using certain apps. It got to the stage where it was annoying me enough to make me contact apple support. The advisor told me to reset my settings and that should fix the problem... It didn't, it has just made things a whole lot worse! My phone failed to restart after resetting my settings, and has been stuck in a startup loop ending with a red screen for about an hour now. I tried a hard reset with no luck, and now I've just tried restoring it using iTunes, but the restore process says it will take 25 HOURS! ..After about five minutes, and while still connected to iTunes, my phone started going back through the red screen loop and the restore looks like it won't do anything. Please help! I tried to contact apple live chat again, but conveniently it's not available at this moment...
    Cheers,
    Matt

    yes, just to say a big thank you to Apple ...realizing today while browsing these forums that I haven't been the only one. Happened to me when I updated from 8.1.2 to 8.1.3 OTA... device (iPhone 4s) stuck in recovery mode ... how nice, this has never ever happened to me after years of using iOS, whether I updated OTA or via iTunes, never. I was then delighted to experience the restore process ... wasted hours doing that thanks again ! (I have many apps and a big backup so...). Seriously, this is unacceptable.

  • How do I get Red Loops on other devices?

    I downloaded Apple's Red (raising money for AIDS research) Loops on my iPhone and they are great.
    Problem: I cannot figure out how to find them/get them for my laptop or desktop. When I choose Download Sounds they don't show up. They are not on my computer.  They were billed as an iTunes store purchase.
    thanks
    DJC

    The Red Loops are only available for iOS devices. If you want to use them in GarageBand for Mac projects, create the tracks with the Red Loops on your iPhone, and then save the project to iCloud, so you can download it on your Mac.
    Once you have the project with the loops on your Mac, save the loops to the Loop Browser, so you can use them again.

  • Red off button stuck, phone in reset loop.

    I sold my z2 to a friend, and when he has tried to insert his new sim has forced the red reset/ off button down too hard, and its stuck. So now when the phone has any charge it is stuck in the cycle of reseting itself, vibrating 3 times and the sony logo comes up, and it just keeps doing this. Are there any tips on unsticking the reset button.
    Cheers
    Liam

    Hi and welcome to the community! Since you're new please be sure that you have checked out our Discussion guidelines.
    I'm sorry to hear that. But if it's not possible to release the button by pressing it again, it sounds more like a hardware issue that needs to be examined and repaired by a technician at an authorized service center. You can always try to perform a software repair via PC Companion to exclude software related problems:
    http://support.sonymobile.com/global-en/tools/pc-companion/
    In PC Companion you press start on Support Zone > Start on Update the phone/tablet software > Repair phone/tablet (the blue clickable link in the message) > Follow these steps without having your device connected to the PC.
    Follow the instruction that appears in the program and do not connect your device until this guide tells you how to connect it.
    If this software repair does not help, I suggest that you contact your local support team for further information about how to proceed with this in the best possible way:
    http://support.sonymobile.com/global-en/contactUs/
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • How can I repeat a for loop, once it's terms has been fulfilled???

    Well.. I've posted 2 different exceptions about this game today, but I managed to fix them all by myself, but now I'm facing another problem, which is NOT an error, but just a regular question.. HOW CAN I REPEAT A FOR LOOP ONCE IT HAS FULFILLED IT'S TERMS OF RUNNING?!
    I've been trying many different things, AND, the 'continue' statement too, and I honestly think that what it takes IS a continue statement, BUT I don't know how to use it so that it does what I want it too.. -.-'
    Anyway.. Enought chit-chat. I have a nice functional game running that maximum allows 3 apples in the air in the same time.. But now my question is: How can I make it create 3 more appels once the 3 first onces has either been catched or fallen out the screen..?
    Here's my COMPLETE sourcecode, so if you know just a little bit of Java you should be able to figure it out, and hopefully you'll be able to tell me what to do now, to make it repeat my for loop:
    Main.java:
    import java.applet.*;
    import java.awt.*;
    @SuppressWarnings("serial")
    public class Main extends Applet implements Runnable
         private Image buffering_image;
         private Graphics buffering_graphics;
         private int max_apples = 3;
         private int score = 0;
         private GameObject player;
         private GameObject[] apple = new GameObject[max_apples];
         private boolean move_left = false;
         private boolean move_right = false;
        public void init()
            load_content();
            setBackground(Color.BLACK);
         public void run()
              while(true)
                   if(move_left)
                        player.player_x -= player.movement_speed;
                   else if(move_right)
                        player.player_x += player.movement_speed;
                   for(int i = 0; i < max_apples; i++)
                       apple.apple_y += apple[i].falling_speed;
                   repaint();
                   prevent();
                   collision();
              try
              Thread.sleep(20);
              catch(InterruptedException ie)
              System.out.println(ie);
         private void prevent()
              if(player.player_x <= 0)
              player.player_x = 0;     
              else if(player.player_x >= 925)
              player.player_x = 925;     
         private void load_content()
         MediaTracker media = new MediaTracker(this);
         player = new GameObject(getImage(getCodeBase(), "Sprites/player.gif"));
         media.addImage(player.sprite, 0);
         for(int i = 0; i < max_apples; i++)
         apple[i] = new GameObject(getImage(getCodeBase(), "Sprites/apple.jpg"));
         try
         media.waitForAll();     
         catch(Exception e)
              System.out.println(e);
         public boolean collision()
              for(int i = 0; i < max_apples; i++)
              Rectangle apple_rect = new Rectangle(apple[i].apple_x, apple[i].apple_y,
    apple[i].sprite.getWidth(this),
    apple[i].sprite.getHeight(this));
              Rectangle player_rect = new Rectangle(player.player_x, player.player_y,
    player.sprite.getWidth(this),
    player.sprite.getHeight(this));
              if(apple_rect.intersects(player_rect))
                   if(apple[i].alive)
                   score++;
                   apple[i].alive = false;
                   if(!apple[i].alive)
                   apple[i].alive = false;     
         return true;
    public void update(Graphics g)
    if(buffering_image == null)
    buffering_image = createImage(getSize().width, getSize().height);
    buffering_graphics = buffering_image.getGraphics();
    buffering_graphics.setColor(getBackground());
    buffering_graphics.fillRect(0, 0, getSize().width, getSize().height);
    buffering_graphics.setColor(getForeground());
    paint(buffering_graphics);
    g.drawImage(buffering_image, 0, 0, this);
    public boolean keyDown(Event e, int i)
         i = e.key;
    if(i == 1006)
    move_left = true;
    else if(i == 1007)
         move_right = true;
              return true;     
    public boolean keyUp(Event e, int i)
         i = e.key;
    if(i == 1006)
    move_left = false;
    else if(i == 1007)
         move_right = false;
    return true;
    public void paint(Graphics g)
    g.drawImage(player.sprite, player.player_x, player.player_y, this);
    for(int i = 0; i < max_apples; i++)
         if(apple[i].alive)
              g.drawImage(apple[i].sprite, apple[i].apple_x, apple[i].apple_y, this);
    g.setColor(Color.RED);
    g.drawString("Score: " + score, 425, 100);
    public void start()
    Thread thread = new Thread(this);
    thread.start();
    @SuppressWarnings("deprecation")
         public void stop()
         Thread thread = new Thread(this);
    thread.stop();
    GameObject.java:import java.awt.*;
    import java.util.*;
    public class GameObject
    public Image sprite;
    public Random random = new Random();
    public int player_x;
    public int player_y;
    public int movement_speed = 15;
    public int falling_speed;
    public int apple_x;
    public int apple_y;
    public boolean alive;
    public GameObject(Image loaded_image)
         player_x = 425;
         player_y = 725;
         sprite = loaded_image;
         falling_speed = random.nextInt(10) + 1;
         apple_x = random.nextInt(920) + 1;
         apple_y = random.nextInt(100) + 1;
         alive = true;
    And now all I need is you to answer my question! =)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    package forums;
    import java.util.Random;
    import javax.swing.Timer;
    import javax.imageio.ImageIO;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.io.*;
    public class VimsiesRetardedAppleGamePanel extends JPanel implements KeyListener
      private static final long serialVersionUID = 1L;
      private static final int WIDTH = 800;
      private static final int HEIGHT = 600;
      private static final int MAX_APPLES = 3;
      private static final Random RANDOM = new Random();
      private int score = 0;
      private Player player;
      private Apple[] apples = new Apple[MAX_APPLES];
      private boolean moveLeft = false;
      private boolean moveRight = false;
      abstract class Sprite
        public final Image image;
        public int x;
        public int y;
        public boolean isAlive = true;
        public Sprite(String imageFilename, int x, int y) {
          try {
            this.image = ImageIO.read(new File(imageFilename));
          } catch (IOException e) {
            e.printStackTrace();
            throw new RuntimeException("Bailing out: Can't load images!");
          this.x = x;
          this.y = y;
          this.isAlive = true;
        public Rectangle getRectangle() {
          return new Rectangle(x, y, image.getWidth(null), image.getHeight(null));
      class Player extends Sprite
        public static final int SPEED = 15;
        public Player() {
          super("C:/Java/home/src/images/player.jpg", WIDTH/2, 0);
          y = HEIGHT-image.getHeight(null)-30;
      class Apple extends Sprite
        public int fallingSpeed;
        public Apple() {
          super("C:/Java/home/src/images/apple.jpg", 0, 0);
          reset();
        public void reset() {
          this.x = RANDOM.nextInt(WIDTH-image.getWidth(null));
          this.y = RANDOM.nextInt(300);
          this.fallingSpeed = RANDOM.nextInt(8) + 3;
          this.isAlive = true;
      private final Timer timer = new Timer(200,
        new ActionListener() {
          public void actionPerformed(ActionEvent e) {
            repaint();
      public VimsiesRetardedAppleGamePanel() {
        this.player = new Player();
        for(int i=0; i<MAX_APPLES; i++) {
          apples[i] = new Apple();
        setBackground(Color.BLACK);
        setFocusable(true); // required to generate key listener events.
        addKeyListener(this);
        timer.setInitialDelay(1000);
        timer.start();
      public void keyPressed(KeyEvent e)  {
        if (e.getKeyCode() == e.VK_LEFT) {
          moveLeft = true;
          moveRight = false;
        } else if (e.getKeyCode() == e.VK_RIGHT) {
          moveRight = true;
          moveLeft = false;
      public void keyReleased(KeyEvent e) {
        moveRight = false;
        moveLeft = false;
      public void keyTyped(KeyEvent e) {
        // do nothing
      public void paintComponent(Graphics g) {
        super.paintComponent(g);
        //System.err.println("DEBUG: moveLeft="+moveLeft+", moveRight="+moveRight);
        if ( moveLeft ) {
          player.x -= player.SPEED;
          if (player.x < 0) {
            player.x = 0;
        } else if ( moveRight ) {
          player.x += player.SPEED;
          if (player.x > getWidth()) {
            player.x = getWidth();
        //System.err.println("DEBUG: player.x="+player.x);
        Rectangle playerRect = player.getRectangle();
        for ( Apple apple : apples ) {
          apple.y += apple.fallingSpeed;
          Rectangle appleRect = apple.getRectangle();
          if ( appleRect.intersects(playerRect) ) {
            if ( apple.isAlive ) {
              score++;
              apple.isAlive = false;
        g.drawImage(player.image, player.x, player.y, this);
        for( Apple apple : apples ) {
          if ( apple.isAlive ) {
            g.drawImage(apple.image, apple.x, apple.y, this);
        g.setColor(Color.RED);
        g.drawString("Score: " + score, WIDTH/2-30, 10);
      private static void createAndShowGUI() {
        JFrame frame = new JFrame("Vimsies Retarded Apple Game");
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.getContentPane().add(new VimsiesRetardedAppleGamePanel());
        frame.pack();
        frame.setSize(WIDTH, HEIGHT);
        frame.setLocationRelativeTo(null);
        frame.setVisible(true);
      public static void main(String[] args) {
        SwingUtilities.invokeLater(
          new Runnable() {
            public void run() {
              createAndShowGUI();
    }Hey Vimsie, try resetting a dead apple and see what happens.

Maybe you are looking for