Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actual0Circle0

Posted 19 February 2013 - 12:16 PM

        if (NSplitFrame == 8)
                        NSplitFrame += NSplitFrameInc;
                    else
                    {
                        NSplitFrame = 8;
                        NSplitFrameInc = -NSplitFrameInc;
                    }

I changed it to this and so far it is good. How would I go about synchronization the actionListener and the main thread?

 

The value can only = 4, 8 or 12. But before the program might every once in a while = 0 or 16


#20Circle0

Posted 19 February 2013 - 12:12 PM

        if (NSplitFrame == 8)
                        NSplitFrame += NSplitFrameInc;
                    else
                    {
                        NSplitFrame = 8;
                        NSplitFrameInc = -NSplitFrameInc;
                    }

I changed it to this and so far it is good. How would I go about synchronization the actionListener and the main thread?


#10Circle0

Posted 19 February 2013 - 12:12 PM

if (NSplitFrame == 8)
                        NSplitFrame += NSplitFrameInc;
                    else
                    {
                        NSplitFrame = 8;
                        NSplitFrameInc = -NSplitFrameInc;
                    }

So far it is good. How would I go about synchronization the actionListener and the main thread?


PARTNERS