Detecting the change

I've used onClipEvent(enterFrame) handler whenever i wanted
to check
something when i didn't know when the change is going to
happen. It seems to
slow down the application since its always "checking" because
the
enterFrame.
Is there any way i can dettect the change of variable value
using
setChangeHandler?
Thanks
Luka

Thanks, ill try that.
Luka
"kglad" <[email protected]> wrote in message
news:equ6lr$ifg$[email protected]..
> you can use the watch() function.

Similar Messages

  • How to use event to detect the change of a array variable?

    I have a main application that includes a lot of sub
    components. the main app mxml file import a public class that
    includes an array variable. Each of the values in the array can be
    updated in the sub components.
    I would like to have the main mxml be able to detect the
    change of the values of the array. Is it possible to use event? And
    how? Is there a good example to follow?

    See this FB3 help topic, particularly watchers:
    Defining data bindings in ActionScript

  • Muse overwrites any SEO title Tag or Description changes made in Business Catlayst. Is there a work aorund to this? The sites do NOT merge or Muse does not detect the changes made.

    Please advise if there is a work around. If not, Adobe really should fix this issue.

    As you've noticed, Muse will clobber any changes made to the pages Muse works with that have been done outside Muse*. Are the page title features provided not enough for your purposes? Does the information in this thread help at all: Re: How do I add Meta tags to pages?
    * Excepting changes made through 'In-Browser Editing'.

  • Detection of changes in the context prior saving a document

    Original thread title: IS_CHANGED_BY_CLIENT and RESET_CHANGED_BY_CLIENT methods / selection change
    Does anyone know, why is that the RESET method is recursive, but the IS method isn't?
    The problem is, I need to trigger a save of a document only when there is some change made by the user, but to do that i'm being forced to implement myself a recursive method which uses both IS_CHANGED_BY_CLIENT and GET_CHILD_NODES methods. While I simply call the RESET_CHANGED_BY_CLIENT method of the root node and it affects all subnodes.
    Another problem is that, the selection changes (e.g. in a dropdownbyindex) don't get accounted as changes by the IS_CHANGED_BY_CLIENT method.
    Is there any simpler way to implement this?
    Thanks

    Thanks for your comments Manish. I've already programmed the recursive method and it is working ok, seems to be the only way then.
    But how did you solve detection of selection changes? Currently i'm thinking of having an event handler for each dropdown, which will mark a flag to be evaluated additionally to the method's result. You did the same, or selection changes didn't matter in your case?
    Thank you
    Solved: The context change log seems to be a far better alternative, it also detects selection changes.
    Check DEMO_CONTEXT_CHANGES example. If you need only to detect changes, you can use just the enable_context_change_log and get_context_change_log methods.
    It may be a little bit taxing when the context is large though, I'd like if anyone which has had this experience could comment.

  • On the 652X, is there a way to know which port/line caused the change detection w/o checking each individual line?

    On the 652X, is there a way to know which port/line caused the change detection w/o checking each individual line? This question relates to creating an interrupt handler when there are many events that cause an interrupt.

    No. Read the User Manual, CH4, Change Notification.

  • Every time there's a power cut or I turn off my router, my Macbook doesn't detect the network and doesn't accept the password. Finally, after many, many attempts at solving with 'diagnostics', rebooting...the 'network changes' detected message shows.

    How can I get it to look for a network change - or find the change immediately - and speed up the process? Is there really a change? This has really frustrated me many, many times.
    I'm using 10.6.8 and see there's an update that supposedly helps airport problems but that people hatve problems with it. I'm having enough problems without those too!
    Thank you for any ideas.

    Take your battery out and reset your PMU.
    http://docs.info.apple.com/article.html?artnum=303319
    Next time you shut down, wait until the computer is totally shut down -- i.e., make sure you don't hear your fan running, the screen is black and that the light is out on the front of the computer -- before you close the lid.
    I had that exact thing happen once, and since I done the above, it's never happened since.
    -Bmer
    Mac Owners Support Group
    Join Us @ MacOSG.com
    ITMS: MacOSG Podcast
     An Apple User Group 

  • I recently updated the itunes software and now my iphone wont detect the sim card! what do i do?

    I recently got my iphone unlocked because i wanted to change my carrier. today when i connected my iphone to the itunes it started updating the software! all my previous data was erased and now it wont detect the sim card! what do i do?

    Updating iTunes has nothing to do with an iDevice going into recovery mode.
    If the device is in recovery mode, restore it via iTunes on a computer.

  • APPLE/DEVS Read this! Windows 7 CAN'T detect the iPhone 5s but iTunes CAN detect it! WEIRD, huh?!..

    just a summary...
    i have a iphone 3G which i have been using for a long time and now i got an iphone 5s.. troubleshooting this kind of stuff is not new to me from computers to smartphones.. the internet has a vast majority of information and all you need to do is type in the right "KEYWORD".. i'm that kind of guy that looks for the answer before i try to look on it on my own.. i'm a DIY kind of guy as long as there is an instruction on how to do it..
    now, back to the topic..
    so i was trying to copy some of my pictures on my iphone 5s to my PC for backup purposes and to see the quality of the images but the portable device doesn't show up unlike my iphone 3G which is f***ing WEIRD.. been tinkering with this over the past 5 days since i have nothing to do and testing the new features of this phone but to no avail.. searched all over the internet but still none..
    so last night, i was really determined since i can't sleep and also connected my iphone 3G to my PC while the iphone 5s is connected.. so here is what shows up on my devices and printers and device manager..
    i can totally see the pics on my iphone 3G but not on my iphone 5s.. totally amazing.. good job apple!
    the picture under devices shows my iphone 3G and the other 2 on unspecified is my iphone 5s.. the iPhone under there is being used as my source of internet since this is tethered so i can have access and post this in here so that APPLE will know how f***ed up their SOFTWARE is is..
    so i downloaded itunes a couple of times, and i can't remember how many already, i think 5 times or more and then uninstalled all apple softwares (itunes, apple application support, apple mobile device support and etc as long as there is apple in it) and then reinstalled itunes but still none..
    so i went on device manager removed my iphone 3G and the only one that would show there is the Apple Mobile Device USB driver under USB controllers..
    and then i uninstalled the driver, looked for the driver myself by just it doesn't show up in here where you are directed to look for the driver and oh im using 64 bit just so everyone knows and i already found out that my system is using the usbaapl64.sys file in windows>system32>drivers..
    so last night i installed, reinstalled itunes and then suddenly my drive D: was gone and i received an error or a "!" on my drive and my drive is not being detected.
    Error: windows cannot start this hardware device because its configuration information (in the registry) is incomplete or damage. (code 19).
    i unstalled the driver in device manager and then scan hardware changes, updated the driver automatically and manually and it is saying that i have the latest hardware but i can't use my DVD drive with the error on it..
    so today i searched for that e-fing error and found this http://pcsupport.about.com/od/findbyerrormessage/a/code-19-error.htm
    "4. Uninstall Apple iTunes. While that may sound a little drastic, iTunes is the cause of enough Code 19 errors to make it into this troubleshooting.
    If removing iTunes works, you might try installing it again from scratch, which doesn't always reintroduce the problem. See How to Properly Reinstall a Software Program for general advice."
    so i then uninstalled my itunes, uninstalled my driver and then updated it and "walla!". i can see my DVD drive again. i am using iTunes64Setup v12.0.1.26 just so everyone knows and this setup can detect both my iphones and my iphone 5s is using the latest version which is iOS 8.1.2..
    after reinstallation of itunes my DVD drive can be seen and just  noticed how APPLE SOFTWARES are so ****** up.. CAUSING A LOT OF TROUBLE AND DAMAGES..
    so going back to the topic..
    i was able to find a way (AFTER HOW MANY HOURS of TROUBLESHOOTING) on how my iphone 5s was able to detect the portable device or should i say the images on my iphone 5s where the autoplay pops up and everything..
    so i went on device manager, uninstalled apple mobile device USB driver, disconnected my iphone 5s, UNLOCKED my iphone 5s, connected it to my PC, clicked on TRUST this PC, on my PC the sound for a USB being connected sounded, and at the bottom right, automatically installed the drivers and then the autoplay popped up with the matching PORTABLE DEVICES on COMPUTER where i can browse the internal storage and the pictures..
    so now i opened iTunes and BOOOM!
    iTunes doesn't detect my iphone 5s but i can browse on the images on my phone..
    so again i went to device manager, uninstalled the driver for apple iphone under portable devices, scanned for hardware changes, updated the driver manually by selecting drive C: so it would automatically find the correct drive..
    so now, my iphone can be detected by itunes but not on my COMPUTER.. see how ****** UP this is?!.. JEEEEEEEEEZ!!
    Now i finally found the SOLUTION on how to do this and vice versa.. UNTIL APPLE decides to FIX their SOFTWARE/DRIVER issues..
    if you want to scan or browse the images on your iphone 5s on your computer all you need to do is do this:
    [for those who don't know how to reach this part, here is a GUIDE on how to open this is: click on the device > click on update driver software > browse my computer for driver software > let me pick from a list of device drivers on my computer]
    and then you will see the screen below
    click on MTP USB Device and then click on Next, after it finishes installing the drivers, your PC will automatically detect a new portable device but in order for you to access the images you need to go back on your phone, unlock it if it lock automatically and then click on "TRUST" and then you can now see the images..
    BUT the problem here is that your iPhone can't be detected on iTunes...
    now, if you want to go back to where your phone can be detected on itunes, just follow these steps:
    click on apple mobile device USB driver, click on Next and then wait for your computer to finish the installation and then you will hear the beeping sound. check your phone, unlock it, then click on "TRUST", and then go to iTunes and you will now see your iPhone there but not on your PC where you can browse for the images..
    SEE HOW THIS DRIVERS are so ****** up.. i wish i hadn't started using this ****** UP OS with all the BUGS and GLITCHES.. JEEEZ! and to think, these DEVICES are not CHEAP compared to Android devices on the market.. it's just because of how these people go with the trend that they purchase these kind of stuff and the only thing they use it for is calling or texting.. i, for once use this not for calling or texting but also for the apps that it has like the games, ebooks and etc when im bored..
    i HOPE the Apple DEVS read this and find the solution on the drivers which is so ****** UP and so LAME!!
    PS: i hope a lot of people who are having the same issue as what i had find this and help them with their concern even though this is not a permanent solution.. it is just a work around for folks that are looking for answers and solution.
    Have a Great Day Folks and it is the start of a New Year and want to contribute something even though i don't usually posts my work around.

    Hi LSGZ,
    If you are having issues updating or restoring your iPhone, you may find the following article helpful:
    iOS: Unable to update or restore
    http://support.apple.com/kb/HT1808
    Regards,
    - Brenden

  • HT1481 Unable to detect the shuffle ipod second generation in windows 8

    Hi , I have been trying the connect apple shuffle ipod with windows 8 However I'm unable to connect .
    I tried following troubleshooting steps.
    Action :- Tried to reset the shuffle ipod
    Result- Successfully able to reset the ipod But still unable to connect to windows 8
    Action :- Tried to connect on other computer with same cable ( Windows7 )
    Result :- It is working fine.
    Action :-Tried to install the drivers from C:\Program files \Common files \ Drivers
    Result  :- Getting Yellow sign mark in device manager with error code Code 10 device cannot start .
    Action :- Tried to delete the microsoft upper filter and lower filter
    Result :- Successfully able to do that But unable to detect the ipod
    Action :- Tried to install the latest version of i-tunes 11.1.5
    Result :- Successfully able to do that .However there is no luck.
    Action :- Tried to reboot the system . Perform the power cycle of the ipod and laptop
    Result :-Unable to detect the ipod
    Action :- Tried to change the different USB ports
    Result :- Still unable to detect
    Can you please suggest me few steps or how can i restore the apple ipod without i-tunes ?

    Hello JimmyS,
    The article linked below details a number of steps that can help get iTunes to recognize your iPod.
    iPod not appearing in iTunes
    http://support.apple.com/en-us/HT203449
    Regards,
    Allen

  • My 2 notebooks running XP will no longer detect the BEFW11S4 WAP, what can I do?

    My 2 notebooks running XP will no longer detect the BEFW11S4 WAP, what can I do?
    The connections just stopped yesterday. Both laptops work OK when connected by ethernet cables and my main PC running XP64 connected also by ethernet is not affected.
    Both laptops can see my neighbour's wireless network and worked OK with my son-in-laws network last night when I took them over to his house.
    Can I assume that the "wireless component has died?
    Any recommendations for a direct updated replacement?
    I'm currently connected to NTL broadband but may at sometime switch to Sky broadband in the future but I understand that I would not be able to do this with my NTL phone line.

    Thanks for the comments Charrie21,
    SSID Broadcast is enabled,
    Of the 3 leds on the front left:
    WLAN ACT is not illuminated
    WLAN Link is illuminated [According to the instruction because it is connected to a cable modem],
    POWER is illuminated.
    Of the 3 leds on the front right:
    LINK is illuminated,
    ACT is not illuminated,
    Diag in not illuminated.
    The router has been reset  several times.
    SSID has been changed several times
    Channel number has been changed several times
    WAP was previously 64BIt and has been changed to 128Bit
    Firmware version is the same date as currently on the Linksys web sute for this model.
    I am thinking the "wireless" component is dead.

  • How to find the changes made in spro configuration?

    Dear Friends,
    From my client side, some configuration changes were happened directly to production client not by the consultants. How to trace this that what changes have been made through log or table. We found that in spro->utilities->change log is in switched off mode. We came to know that through this log we can find the changes happened or not. Is it so? or is there any other solution to trace it?
    Please advise.
    thanks & regards
    sankar.

    thanks friends for your prompt replies.
    But, as i said clear, the changes made to production client directly and not by any request. How can we detect who has changed the log settings.
    ****Default account assignment configuration was changed.
    Please advise.
    thanks & regards
    Sankar.

  • Using javascript to detect the onclick event over a datatable row

    Hi all,
    I'm working with JSF 1.2 R.I. and I would like to add some javascript to my datatable to be able to control the onclick event on a row.
    At the moment I have just added a checkbox to be able to know which row the user wants to select but I'm not satisfied with this solution.
    <h:dataTable
    value="#{person_iupopulations_Observation.customer}" var="customer"
    rowClasses="evenRow,oddRow"
    cellspacing="0">
    <h:column>
    <f:facet name="header">
    <h:outputText value="Select" />
    </f:facet>
    <h:selectBooleanCheckbox value="" onclick="getRow(this)">
    </h:selectBooleanCheckbox>
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="Name" />
    </f:facet>
    <h:outputText value="#{customer.Name}"></h:outputText>
    </h:column>
    </h:dataTable>
    What I would like to achieve is:
    When the user clicks the row (wherever, not only the checkbox) the checkbox changes to the new value depending, off course, on the user's selection.
    For this purpose I would need to add the onclick event to every row and associate it to a javascript function to update the checkbox.
    Can anybody help me please.
    I appreciate any suggestion.
    Thanks in advance!

    I am looking for answers on how to use javascript to detect the onclick event over a datatable row . I have a selectBooleanCheckBox in one of the columns in the every row in the table. On click of the checkbox in any row of the table, I want to get some values from the selected row and also verify that the rest of the checkboxes in all the other columns are unchecked. I want to do this using javascript. If any of you have answers, please repsond. Thanks.

  • How to get the screen number in the change/display FI Document screen?

    Hi guys,
    I was just wondering if there is a way, in the abap dictionary or otherwise, for me to detect the assigned screen number in the FI Change/Display Document screen (FB02/FB03)?
    I ask this because the screen number changes depending on the line item's posting key and G/L Account from my observation.
    Hope to hear from all of you soon.
    Thank you all and good day.

    Yes you can get by the SHDB transaction
    GO to SHDB. click on the new recording... give the name of the recording as ZFB02.. enter the tcode FI02 and press start recording..
    Put the Document and open all required screens.. you need to put the values in the required fields to be caputred in the recording.
    Come back and save.
    Now, if you are planning to make a BDC to change the FI document than you can use the BAPI BAPI_ACC_DOCUMENT_CHANGE.
    Regards,
    Naimesh Patel

  • Airport not detecting the network but my cellphone detects

    hi...
    i am using 13 inch macbook pro.....yesterday night my wifi network was working fine,but suddenly the airport has stopped detecting the network......plz suggest me the solution.....thanx a lot...
    Regards,
    Sorabh
    Message was edited by: sorabh arora

    Hello,
    I see that you posting from India. I had this same problem a few months ago when I was out of the US. The iPhone can recognize wireless networks that are broadcasting on a broader range of wireless channels than my MacBook Pro. I was in France and my iPhone would connect to the wireless network but my MacBook would not even detect it. This was because the wireless network was broadcasting on channel 13. This is a normal channel in many parts of the world but we are not allowed to use this channel in the US. My MacBook can only connect to networks broadcasting on channels 1 through 11 on a 2.4GHz network. Try checking your router to see what channel it is broadcasting on and change it to a channel between 1 and 11 and see if that helps
    Regards,
    Sean

  • Detect Note Changes in MIDI Sequencer

    Hi all,
    I&rsquo;m trying to detect when the MIDI Sequencer changes notes using some kind of a listener to detect when the note changes occur. My example program is able to detect the end of the sequence and I&rsquo;d like to be able to detect note changes and print a message in a similar way. Here is my example code.
    import javax.swing.*;
    import javax.sound.midi.*;
    public class SequencerTestApplet extends JApplet
        public void init()
            SequencerTest seqTest = new SequencerTest();
            seqTest.play();
            System.out.println("Print from init()");
    class SequencerTest
        Sequencer sequencer=null;
        Sequence seq=null;
        Track track=null;
        public SequencerTest()
            try
            {   sequencer = MidiSystem.getSequencer();
                sequencer.open();
                // detect END OF SEQUENCE
                sequencer.addMetaEventListener(
                    new MetaEventListener()
                    {   public void meta(MetaMessage m)
                        {  if (m.getType() == 47) System.out.println("SEQUENCE FINISHED");
                sequencer.setTempoInBPM(40);
                seq = new Sequence(Sequence.PPQ, 16);
                track = seq.createTrack();
            catch (Exception e) { }
        public void play()
            try
            {    // NOTE 1
                ShortMessage noteOnMsg = new ShortMessage();
                noteOnMsg.setMessage(ShortMessage.NOTE_ON, 0, 60, 93);
                track.add(new MidiEvent(noteOnMsg, 0));
                ShortMessage noteOffMsg = new ShortMessage();
                noteOffMsg.setMessage(ShortMessage.NOTE_OFF, 0, 60, 93);
                track.add(new MidiEvent(noteOffMsg, 16));
                // NOTE 2
                ShortMessage noteOnMsg2 = new ShortMessage();
                noteOnMsg2.setMessage(ShortMessage.NOTE_ON, 0, 68, 93);
                track.add(new MidiEvent(noteOnMsg2, 16));
                ShortMessage noteOffMsg2 = new ShortMessage();
                noteOffMsg2.setMessage(ShortMessage.NOTE_OFF, 0, 68, 93);
                track.add(new MidiEvent(noteOffMsg2, 32));
                sequencer.setSequence(seq);
                sequencer.start();
            catch (Exception e) { }
    }In this program the init() method starts the sequencer through the play() method and then continues on so that the &ldquo;print from init()&rdquo; statement is printed from the init() method while the sequencer is still playing. Then after the sequencer is finished, it uses the MetaEventListener to detect the end of the sequence and print the &ldquo;sequence finished&rdquo; message. I&rsquo;d like to be able to make it also detect when the sequence changes notes in a similar way... Start the sequence and move on, but then be able to detect each time a note change occurs and print a message.
    Since I am putting the notes at specific midi ticks (multiples of 16, or &ldquo;quarter notes&rdquo;) I could poll the Sequencer using getTickPosition() to see if the Sequencer&rsquo;s tick position matches a particular multiple of 16. However, the problem with this is it would lock up the program since it would be constantly polling the sequencer and the program wouldn&rsquo;t be able to do anything else while the Sequencer is playing (and I also have a loop option for the Sequencer so that would lock up the program indefinitely).
    Here&rsquo;s what I&rsquo;ve found out and tried so far...
    I read in this [this tutorial|http://java.sun.com/docs/books/tutorial/sound/MIDI-seq-adv.html] on the java sun site (under &ldquo;Specifying Special Event Listeners&rdquo;) that The Java Sound API specifies listener interfaces for control change events (for pitch-bend wheel, data slider, etc.) and meta events (for tempo change commands, end-of-track, etc.) but it says nothing about detecting note changes (note on/off). Also in the [EventListener API|http://java.sun.com/j2se/1.3/docs/api/java/util/class-use/EventListener.html] (under javax.sound.midi) it only lists the ControllerEventListener and the MetaEvenListener.
    I also read here that MIDI event listeners listen for the end of the MIDI stream, so again no info about detecting note changes.
    It seems like the sequencer should have some way of sending out messages (in some fashion) when these note changes happen, but I&rsquo;m not sure how or even if it actually does. I&rsquo;ve looked and looked and everything seems to be coming back to just these two types of listeners for MIDI so maybe it doesn&rsquo;t.
    To be sure the MetaEventListener doesn&rsquo;t detect note changes I changed the MetaMessage from:
    public void meta(MetaMessage m)
    {    if (m.getType() == 47) System.out.println("SEQUENCER FINISHED");
    }to:
    public void meta(MetaMessage m)
    {    System.out.println("" + m.getType());
    }so that it would print out all of the MetaMessages it receives. The only message that printed was &ldquo;47&rdquo; which indicates the end of the sequence. So the MetaEventListener doesn&rsquo;t appear to do what I need it to do.
    I realize this is a rather odd problem and probably not many people have had the need to do something like this, but it never hurts to ask. If anyone has any suggestions on how to solve this problem it would be greatly appreciated.
    Thanks,
    -tkr

    Tekker wrote:
    As another idea, since I can't do it with a listener like I originally wanted to, would adding a separate thread to poll the sequencer and send an interrupt when it matches a particular midi tick be a good route to try? My thinking is this essentially act kind of like a listener by running in the background and reporting back when it changes notes.Yep, that worked! :)
    import javax.swing.*;
    import javax.sound.midi.*;
    public class ThreadTestApplet extends JApplet
         public void init()
              ThreadTest threadTest = new ThreadTest();
              threadTest.play();
              MIDIThread thread = new MIDIThread(threadTest.sequencer);
              thread.start();
              System.out.println("  Print from init() 1");
              try { Thread.sleep(1000); } catch (InterruptedException ie) {}
              System.out.println("  Print from init() 2");
              try { Thread.sleep(1000); } catch (InterruptedException ie) {}
              System.out.println("  Print from init() 3");
              try { Thread.sleep(1000); } catch (InterruptedException ie) {}
              System.out.println("  Print from init() 4");
    class ThreadTest
         Sequencer sequencer=null;
         Sequence seq=null;
         Track track=null;
         public ThreadTest()
              System.out.println("Sequencer Started");
              try
              {     sequencer = MidiSystem.getSequencer();
                   sequencer.open();
                   // detect END OF SEQUENCE
                   sequencer.addMetaEventListener(
                        new MetaEventListener()
                        {  public void meta(MetaMessage m)
                             {     if (m.getType() == 47) System.out.println("SEQUENCER FINISHED");
                   sequencer.setTempoInBPM(40);
                   seq = new Sequence(Sequence.PPQ, 16);
                   track = seq.createTrack();
              catch (Exception e) { }
         public void play()
              try
              {     // NOTE 1
                   ShortMessage noteOnMsg = new ShortMessage();
                   noteOnMsg.setMessage(ShortMessage.NOTE_ON, 0, 60, 93);
                   track.add(new MidiEvent(noteOnMsg, 0));
                   ShortMessage noteOffMsg = new ShortMessage();
                   noteOffMsg.setMessage(ShortMessage.NOTE_OFF, 0, 60, 93);
                   track.add(new MidiEvent(noteOffMsg, 16));
                   // NOTE 2
                   ShortMessage noteOnMsg2 = new ShortMessage();
                   noteOnMsg2.setMessage(ShortMessage.NOTE_ON, 0, 68, 93);
                   track.add(new MidiEvent(noteOnMsg2, 16));
                   ShortMessage noteOffMsg2 = new ShortMessage();
                   noteOffMsg2.setMessage(ShortMessage.NOTE_OFF, 0, 68, 93);
                   track.add(new MidiEvent(noteOffMsg2, 32));
                   sequencer.setSequence(seq);
                   sequencer.start();
              catch (Exception e) { }
    import javax.sound.midi.*;
    public class MIDIThread extends Thread
         Sequencer sequencer=null;
         long midiTick=0;
         long midi_progressionLastChord=32;
         boolean print = true;
         public MIDIThread(Sequencer sequencer)
              this.sequencer = sequencer;
         public void run()
              System.out.println("Thread Started");
              while (midiTick<midi_progressionLastChord)
              {     midiTick = sequencer.getTickPosition();
                   if (midiTick == 0 || midiTick == 16)
                   {     if (print)
                        {     System.out.println("NOTE CHANGE");
                             print = false;
                   else
                        print = true;
    }I put in several print statements (with pauses in the init method) and the init print statements continue to be printed while the sequencer is playing, so it's not locking up the system and the "note change" statements happen when the sequencer changes notes. So this part is working perfectly! :)
    Here's what I got for my output:
    Sequencer Started
    Print from init() 1
    Thread Started
    NOTE CHANGE
    Print from init() 2
    NOTE CHANGE
    Print from init() 3
    SEQUENCER FINISHED
    Print from init() 4
    The only problem I'm having is how to "throw" this action back up to the main init method and have it do the print statement instead of the thread class. Throwing an interrupt apparently won't work as you have to poll it to see if it has been interrupted (so it'd be no different than just polling the sequencer to see if it equals the specific midi tick). Maybe throw an ActionEvent? But how to attach it to my applet? Would I need to create an instance of my applet and then pass that into the thread class so it can catch the ActionEvent? And if I do that will it stop the thread or will it keep the thread running so can detect the other notes?... Or is there a better/simpler way to do this?
    Thanks again,
    -tkr

Maybe you are looking for