Content not appearing after first time

I could really do with some help on this one.
I have a screen (State) in my application that displays some
custom mxml components using a repeater. The first time I come to
this screen, all the data appears correctly. However if I navigate
away from this screen to another screen (State), then return to it,
all that appears is a scroll bar, with no custom components
appearing.
I would appreciate if anyone can take a peek at my code below
to try and identify the problem. Perhaps this is a problem others
have experienced?
The relevant code is as follows:
<mx:State name="ComponentFolderScreen"
basedOn="QualificationSummaryScreen">
<mx:RemoveChild
target="{qualificationSummaryScreenDG}"/>
<mx:AddChild relativeTo="{vbox1}"
position="lastChild">
<mx:Tile autoLayout="true" width="740" height="230"
id="tile1" borderStyle="none">
<mx:Repeater id="productsRepeater"
dataProvider="{this.category1}" >
<local:ComFolderItem
mouseOver="CFSMouseOver_Folder(event)"
click="CFSClick_Folder(event)"
studentName='{productsRepeater.currentItem.productName + "(" +
productsRepeater.currentItem.productPrice + ")"}'
componentStatus='{productsRepeater.currentItem.componentStatus}'
>
</local:ComFolderItem>
</mx:Repeater>
</mx:Tile>
</mx:AddChild>
</mx:State>
And here is the code that populates the ArrayCollection that
is the dataprovider
var ComponentFolderData:ArrayCollection = new
ArrayCollection();
ComponentFolderData =
_dataManager.returnComponentFolderData(componentCode);
var howManyObjects:uint = ComponentFolderData.length;
var objectInstance:Object = new Object();
category1 = new ArrayCollection();
for (var objectIndex:uint = 0; objectIndex <
howManyObjects; objectIndex++) {
objectInstance.productName =
ComponentFolderData.getItemAt(objectIndex).productName;
objectInstance.componentStatus =
ComponentFolderData.getItemAt(objectIndex).componentStatus;
category1.addItem(objectInstance);

Hi there
600 seconds? Seriously? OMG, that's ten minutes!
Personally, I would never recommend having a slide longer
than maybe ten
seconds. I'm not sure how you even manage a timeline that
long.
At any rate, whatever floats your boat I suppose. My guess is
that you have some object (Click Box, Button or Text Entry Box)
that is sitting on the timeline and pausing things before the
button you wish to see has a chance to appear.
Cheers... Rick

Similar Messages

  • Why new contacts are not appearing after some time?

    I Am using iPhone6, iPad New and iPad mini. The contacts which I saved in iPhone are not appearing after some time. I don't know whether it is related with synchronisation of other devices. Please help me if you know the reason.

    Hi, 
    Have you checked the filtering option in contacts? Open contact menu button > filter. Perhaps you have a filter hiding the contacts. 
    What are your thoughts about this forum? Let us know by doing this short survey.

  • ValueChangeListener in Radio Button not acting after first time

    Hi,
    I am using ADF-BC-JSF in Jdev 10.1.3.3. I have a page on which there are 2 radio buttons which show blank at first. As soon as a user selects a radio button, the valueChangeListener calls up a method in the backing bean that opens a dialog for the user. User enters some text in to the dialog and clicks OK after which the window closes. If the user clicks Cancel on the dialog page, the window is still closed but radio button value is reset to blank through javascript. the problem is that it works only first time. second time it tries to autosubmit but only the constructor of the backing bean is called and not the actual function to open the window. Following is the code snippet that may be helpful.
    Radio Buttons
    <af:selectOneRadio value="#{bindings.SP11WarrantDetailsViewMetallurgistReviewStatus.inputValue}"
    layout="horizontal"
    id="metallurgistRadioBtn"
    autoSubmit="true"
    valueChangeListener="#{UploadDownloadBean.exampleOpenDialog}"
    disabled="#{ !UserInfo.metallurgist || bindings.SP11WarrantDetailsViewMetallurgistReviewStatus !=''}">
    <af:validator binding="#{bindings.SP11WarrantDetailsViewMetallurgistReviewStatus.validator}"/>
    <af:selectItem label="Approved" value="Approved"/>
    <af:selectItem label="Rejected" value="Rejected"/>
    </af:selectOneRadio>
    Function to Open the Window
    public void exampleOpenDialog(ValueChangeEvent valueChangeEvent)
    // Add event code here...
    FacesContext context = FacesContext.getCurrentInstance();
    // Create the dialog UIViewRoot
    ViewHandler viewHandler = context.getApplication().getViewHandler();
    UIViewRoot dialog = viewHandler.createView(context,"/sp11/warrant/MetallurgistNotes.jspx");
    HashMap properties = new HashMap();
    AdfFacesContext afContext = AdfFacesContext.getCurrentInstance();
    afContext.launchDialog(dialog,
    null, // not launched from any component
    null, // no particular parameters
    true, //show in dialog
    properties);
    Javscript for resetting the Radiob button
    function closeWindowOnCancel()
    if(parent.window.opener.document.getElementById("notesValueHolder").value == '' )
    parent.window.opener.document.getElementsByName("metallurgistRadioBtn")[0].checked = false;
    parent.window.opener.document.getElementsByName("metallurgistRadioBtn")[1].checked = false;
    Please suggest what can be the possible cause.
    Regards,
    Neeraj

    Hi,
    I am using ADF-BC-JSF in Jdev 10.1.3.3. I have a page on which there are 2 radio buttons which show blank at first. As soon as a user selects a radio button, the valueChangeListener calls up a method in the backing bean that opens a dialog for the user. User enters some text in to the dialog and clicks OK after which the window closes. If the user clicks Cancel on the dialog page, the window is still closed but radio button value is reset to blank through javascript. the problem is that it works only first time. second time it tries to autosubmit but only the constructor of the backing bean is called and not the actual function to open the window. Following is the code snippet that may be helpful.
    Radio Buttons
    <af:selectOneRadio value="#{bindings.SP11WarrantDetailsViewMetallurgistReviewStatus.inputValue}"
    layout="horizontal"
    id="metallurgistRadioBtn"
    autoSubmit="true"
    valueChangeListener="#{UploadDownloadBean.exampleOpenDialog}"
    disabled="#{ !UserInfo.metallurgist || bindings.SP11WarrantDetailsViewMetallurgistReviewStatus !=''}">
    <af:validator binding="#{bindings.SP11WarrantDetailsViewMetallurgistReviewStatus.validator}"/>
    <af:selectItem label="Approved" value="Approved"/>
    <af:selectItem label="Rejected" value="Rejected"/>
    </af:selectOneRadio>
    Function to Open the Window
    public void exampleOpenDialog(ValueChangeEvent valueChangeEvent)
    // Add event code here...
    FacesContext context = FacesContext.getCurrentInstance();
    // Create the dialog UIViewRoot
    ViewHandler viewHandler = context.getApplication().getViewHandler();
    UIViewRoot dialog = viewHandler.createView(context,"/sp11/warrant/MetallurgistNotes.jspx");
    HashMap properties = new HashMap();
    AdfFacesContext afContext = AdfFacesContext.getCurrentInstance();
    afContext.launchDialog(dialog,
    null, // not launched from any component
    null, // no particular parameters
    true, //show in dialog
    properties);
    Javscript for resetting the Radiob button
    function closeWindowOnCancel()
    if(parent.window.opener.document.getElementById("notesValueHolder").value == '' )
    parent.window.opener.document.getElementsByName("metallurgistRadioBtn")[0].checked = false;
    parent.window.opener.document.getElementsByName("metallurgistRadioBtn")[1].checked = false;
    Please suggest what can be the possible cause.
    Regards,
    Neeraj

  • Airplay sound not mirroring after first time until restart

    Anyone else seeing this issue?
    When we connect either the iMac or the MacBook Pro to our 2nd generation apple tv via airplay the first time, the sound goes to the tv as expected.
    If we try to use airplay a second time, the sound stays on the computer, though the picture shows up on the tv. If we try to change the sound in preferences to the apple tv, the airplay connection is broken. Once we restart the computer, the sound works as expected.
    All of the latest system software updates have been applied.

    That is right - upgrade to Mac as in purchase a Mac which now have Intel processors and the ability to also install and use Windows XP or Vista along with OS X on the same computer.
    I wonder if u have gone thru Apple's OS X license agreement recently?
    I have gone through the Apple website recently but I don't need to. Regardless, the answer remains the same and will not change. If you want to run OS X, you need to purchase a Mac.

  • Buttons not appearing after given time

    Captivate is driving me absolutely mad...
    I am attempting to make an elearning app with audio narration
    on some slides, and some quiz slides and branching. I have set the
    default slide display time to 600 sec. I am using audio files for
    narration and want captions to appear at strategic points in the
    slide. I made the captions and positioned them where I want them on
    the timeline, then changed their properties to "Display for rest of
    slide".
    When I preview the slide in the Captivate interface, it works
    fine, but when I publish the project (or do a full preview), the
    audio plays but the captions don't appear unless I click on the
    "Play" button in the Flash player controls underneath.
    I have downloaded Captivate 4, as I was having similar
    problems in version 3 (except that in version 3 the audio didn't
    play either!) Was surprised to find the same problem - surely this
    is a really standard thing to do... so what am I doing wrong?

    Hi there
    600 seconds? Seriously? OMG, that's ten minutes!
    Personally, I would never recommend having a slide longer
    than maybe ten
    seconds. I'm not sure how you even manage a timeline that
    long.
    At any rate, whatever floats your boat I suppose. My guess is
    that you have some object (Click Box, Button or Text Entry Box)
    that is sitting on the timeline and pausing things before the
    button you wish to see has a chance to appear.
    Cheers... Rick

  • HT204370 Downloaded movie not playing after first time

    Purchased and downloaded a movie yesterday (have confirmation email of purchase).  Able to watch movie once.  Tried to watch again, but received message "You do not have permission to access the requested resource".  Why am I getting message if I have proof of purchase?

    Trashed the video file and redownloaded.
    Exact same thing.  Doesn't play for more than a couple seconds. 
    Infuriating, and zero responses yet.  Is there a point to posting on here when 99% of the questions I see are unsolved or completely ignored?

  • I've tried to update my ipad 2 with IOs 6 but it was not possible. An error message always appear after some time during e download. Is there an solution?

    I've tried to update my ipad 2 with IOs 6 but it was not possible. An error message always appear after some time during e download. Is there an solution?

    Are you trying to update via wifi or connected to your computer?
     Cheers, Tom

  • Elements 13 Organizer will not open on first time after downloading

    @ ! ! !Why will Elements 13 not open after first downloading?

    Downloadable installation files available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  5.7.1| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5.5, 5 | 1
    Contribute:  CS5 | CS4, CS3 | 3,2
    FrameMaker:  12, 11, 10, 9, 8, 7.2
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • Retake button does not appear after test review in Captivate 6

    Hello All,
    I can't figure this out and it is really causing problems.
    I have a 20 question quiz randomly pulled from questions pools. I am publishing this as Scorm 2004 and delivering via I SPring scorm compliant LMS.
    The requirement to pass is 100%.
    On the results slide I have a review quiz button, retake quiz button, and a continue button.
    If a user does not pass the first time they either retake the quiz or review the quiz first.
    If they review the quiz, when they return to the results slide the Retake quiz button is no longer there, and I cannot seem to come up with a way to make it appear, or reset the quiz for a 2nd attempt.
    I have Completed settings to 100% on Quiz.
    Pass settings to 100% on quiz.
    I am showing the retake button.
    I have set it to "Unlimited attempts"
    Any suggestions? It seems to lie in the link between reaching the results slide from the review path rather from an attempt path?
    Thanks you.

    Hello,
    Bad news, because that is the way Quizzes are designed in Captivate. Reviewing will disable any future attempts, is meant only to be used after attempts are exhausted. For that reason personally I will hide the Review button by dragging it under the Retake button for quizzes.
    Have a look at my blog post about question/score slides (hurry, Posterous will close down soon):
    http://lilybiri.posterous.com/question-question-slides-in-captivate
    Lilybiri

  • Image display (Image don't appear the first time?)

    Applet at: http://saladinsite.tripod.com/Project/MiniProject.htm
    Code at and Bottom: http://saladinsite.tripod.com/Project/MiniProject.java
    Hi,
    I just created my very first applet. It's a simple quiz. I'll agree it's very unefficient.. but heh.. good for first try.
    There is a lil problem I am having. Sometimes when I load the applet, the background image don't show up. Sometimes, the happy/cry images (corresponding to right/wrong answer) don't show up (check the applet to see what I am talkin about) It only happens once tho. It's strange. Take a look at the applet, you will see. Btw: It's not the downloadin of image that cuzes the bug. Same problem happens in appletviewer. If it doesn't appear the first time, the next time you go back to it, it will appear.
    My teacher has also struggled with this problem but failed. Hope you guys can help me out.
    Thanks,
    Gant
    LONG Code again:
    import java.awt.*;
    import java.applet.*;
    import java.net.*;
         public class MiniProject extends Applet implements Runnable {
              boolean flag=true;
              Image happy,cry,cartoon,test,buffer;
              Graphics bufferg;
              Thread main;
                   int x = 50;
                   int y = 50;
                   int a,b,c;
                   String str;
                   double score =0;
                   double correct = 0.0;
                   TextField txt, percent, invis;
                   String boxName[] = {"Addition (+)", "Substraction (-)","Multiplication (x)","Division (�)"};
                   CheckboxGroup checkGr = new CheckboxGroup();
                   AudioClip RedMove, Applause, BadMove, NewGame, sad;
              public void init() {
                   URL codeBase = getCodeBase();
                   happy = getImage(getCodeBase(),"happy.gif");
                   cry = getImage(getCodeBase(),"cry.gif");
                   cartoon = getImage(getCodeBase(),"cartoon.gif");
                   test = getImage(getCodeBase(),"test.gif");
                   RedMove = getAudioClip(codeBase, "RedMove.au");
                   Applause = getAudioClip(codeBase, "Applause.au");
                   BadMove = getAudioClip(codeBase, "BadMove.au");
                   NewGame = getAudioClip(codeBase, "NewGame.au");
                   sad = getAudioClip(codeBase, "sad.au");
                   invis = new TextField("",1) ;
                   invis.setVisible(false);
                   setBackground(Color.white);
                   setLayout(new BorderLayout() );
                   Panel p1 = new Panel();
                   add("South",p1);
                   p1.setBackground(Color.gray);
                   p1.add(new Button("Start") );
                   p1.add(new Button("Exit") );
                   p1.add(new Button("Help") );
                   p1.add(new Button("Credits") );
                             p1.add(new Label(" Score in (%):") );
                             percent = new TextField("",3);
                             percent.setEditable(false);
                             percent.setBackground(Color.gray);
                             p1.add(percent);
                   Panel p2 = new Panel();
                   p2.setBackground(Color.gray);
                   add("North",p2);
                   p2.add(new Label("Quiz with: ") );
              Panel p3 = new Panel();
              p3.setLayout(new FlowLayout(FlowLayout.CENTER, 25, 75));
                   txt = new TextField("", 3);
                   txt.setText("");
    txt.setEditable(false);
                   Font f = new Font("Helvetica", Font.BOLD, 36);
                   txt.setFont(f);
              p3.add(txt);
              add("East",p3);
              p3.setBackground(Color.white);
              for (int i=0; i<boxName.length; i++)
                   p2.add(new Checkbox(boxName, checkGr, false) );
              buffer=createImage(size().width,size().height);
              bufferg=buffer.getGraphics();
              startM();
         } //end init
              public void run(){
              while(main!=null){
                   try {
                   main.sleep(50);
                   catch(Exception e){}
         public void stop(){
              if(main!=null){main.stop();}
         public void startM() {
                        bufferg.setColor(Color.white);
                        bufferg.fillRect(0,0,400,400);
                        bufferg.setColor(Color.black);
                             Font f = new Font("Helvetica", Font.PLAIN, 14);
                             bufferg.setFont(f);
                             bufferg.drawImage(cartoon,0,50,this);
                        bufferg.drawString("^ Click on a Quiz above to begin!", 25,47);
                        txt.setEditable(false);
                        txt.setBackground(Color.white);
                        txt.setText("");
                        percent.setText("");
                             Font f4 = new Font("Helvetica", Font.BOLD, 28);
                             bufferg.setFont(f4);
                             bufferg.setColor(Color.red);
                             bufferg.drawString("WELCOME!",15,90);
                             bufferg.setColor(Color.black);
                             bufferg.drawString("to the Interactive",55, 155);
                             bufferg.drawString("Grade 9 Math Quiz",85, 200);
                             Font f5 = new Font("Helvetica", Font.PLAIN, 18);
                             bufferg.setFont(f5);
                             bufferg.drawString("Designed by: Wasay R.",175,360);
         public void clearM() {
              bufferg.fillRect(0,0,450,400);
         public boolean action(Event evt, Object obj) {
              if (evt.target instanceof Button) {
                   String butLabel = (String) obj;
                        if (obj.equals("Credits") ) {
                             NewGame.play();
                             URL url = getCodeBase(); // get url of the applet
                             try {
                        getAppletContext().showDocument (new URL(url+"credits.htm"));
                             } catch(MalformedURLException e) {
                             showStatus("URL not found");
              if (evt.target instanceof Button) {
                   String butLabel = (String) obj;
                        if (obj.equals("Help") ) {
                             NewGame.play();
                             URL url = getCodeBase(); // get url of the applet
                             try {
                        getAppletContext().showDocument (new URL(url+"help.htm"));
                             } catch(MalformedURLException e) {
                             showStatus("URL not found");
              if (evt.target instanceof Button) {
                   String butLabel = (String) obj;
                        if (obj.equals("Exit") ) {
                             NewGame.play();
                             URL url = getCodeBase(); // get url of the applet
                             try {
                        getAppletContext().showDocument (new URL(url+"end.htm"));
                             } catch(MalformedURLException e) {
                             showStatus("URL not found");
              if (evt.target instanceof Checkbox && flag) {
                   flag=false;
                   NewGame.play();
                   txt.setEditable(true);
                   Color c = new Color(204,204,204);
                   txt.setBackground(c);
                   bufferg.setColor(Color.white);
                   clearM();
                   handleCheckbox(evt);
                   if (evt.target instanceof Button) {
                   String butLabel = (String) obj;
                        if (obj.equals("Start") ) {
                             flag=true;
                             y=50;
                             x=50;
                             score=0;
                             correct=0;
                             startM();
              if (evt.target==txt && score<10) {
                   String find = (invis.getText() ).substring(0,1) ;
                   if (find.equals("+")) {
                             handle2();
                             paint( Create(0) );
                             txt.setText("");
                             score++;
                   else if (find.equals("-") ) {
                        handle2();
                        paint( Create(1) );
                        txt.setText("");
                        score++;
                   else if (find.equals("x") ) {
                        handle2();
                        paint( Create(2) );
                        txt.setText("");
                        score++;
                   else if (find.equals("/") ) {
                        handle2();
                        paint( Create(3) );
                        txt.setText("");
                        score++;
              if (score==10) {
                   if (correct>=5 && !(evt.target instanceof Checkbox) )
                        Applause.play();
                   else if (correct<5 && !(evt.target instanceof Checkbox) )
                        sad.play();
                   txt.setText("");
                   txt.setBackground(Color.white);
                   txt.setEditable(false);
                        bufferg.setColor(Color.white);
                        bufferg.fillRect(100,100,350,75);
                        bufferg.setColor(Color.black);
                        bufferg.drawRect(65,110,225,75);
                             Font f = new Font("Helvetica", Font.BOLD, 28);
                             bufferg.setFont(f);
                             bufferg.setColor(Color.red);
                             bufferg.drawString("Quiz Complete!", 75,143);
                             Font f2 = new Font("Helvetica", Font.PLAIN, 18);
                             bufferg.setFont(f2);
                             bufferg.setColor(Color.black);
                             bufferg.drawString( ("Your Score: " + String.valueOf( Math.round( (correct/score*100)/0.01 )*0.01 )+"%"),101,170);
                             Font f3 = new Font("Helvetica", Font.PLAIN, 14);
                             bufferg.setFont(f3);
                             bufferg.drawString("Click Start and select a Quiz at the Top to begin",19,240);
                             bufferg.drawRect(10,227,326,0);
                             bufferg.drawRect(336,38,0,189);
                             bufferg.drawRect(10,243,326,0);
                             bufferg.drawRect(10,243,0,85);
              percent.setText( String.valueOf( Math.round( (correct/score*100)/0.01 )*0.01 ) );
              repaint();
              return true;
                   private void handle2() {
                        str = invis.getText();
                             Font f = new Font("Helvetica", Font.BOLD, 14);
                             bufferg.setFont(f);
                             bufferg.drawString("Correct:",15,70);
                             bufferg.drawString("Incorrect:",4,345);
                        if ( (str.substring(0,1) ).equals("+") )
                             if (Integer.parseInt(txt.getText() )==(a+b) ) {
                                       invis.setText("+correct");
                                       x+=25;
                                       bufferg.drawImage(happy,x,50,this);
                                       correct++;
                                       RedMove.play();}
                             else {
                                       invis.setText("+wrong");
                                       y+=25;
                                       bufferg.drawImage(cry,y,325,this);
                                       BadMove.play();
                        else if ( (str.substring(0,1) ).equals("-") )
                             if (Integer.parseInt(txt.getText() )==(a-b) ) {
                                       invis.setText("-correct");
                                       x+=25;
                                       bufferg.drawImage(happy,x,50,this);
                                       correct++; RedMove.play();}
                             else {
                                       invis.setText("-wrong");
                                       y+=25;
                                       bufferg.drawImage(cry,y,325,this);
                                       BadMove.play();
                        else if ( (str.substring(0,1) ).equals("x") )
                             if (Integer.parseInt(txt.getText() )==(a*c) ) {
                                       invis.setText("xcorrect");
                                       x+=25;
                                       bufferg.drawImage(happy,x,50,this);
                                       correct++; RedMove.play();}
                             else {
                                       invis.setText("xwrong");
                                       y+=25;
                                       bufferg.drawImage(cry,y,325,this);
                                       BadMove.play();
                        else if ( (str.substring(0,1) ).equals("/") )
                             if (Integer.parseInt(txt.getText() )==(a/c) ) {
                                       invis.setText("/correct");
                                       x+=25;
                                       bufferg.drawImage(happy,x,50,this);
                                       correct++; RedMove.play();}
                             else {
                                       invis.setText("/wrong");
                                       y+=25;
                                       bufferg.drawImage(cry,y,325,this);
                                       BadMove.play();
              public String Multi() {
                        a = ( (int) (Math.random()*100) )+10;
                        c = ( (int) (Math.random()*10) );
                   while(c==0 || c==1)
                        c = ( (int) (Math.random()*10) );
                   String a1 = String.valueOf(a);
                   String a2 = String.valueOf(c);     
                   return (a1+" x "+a2+" = ");
                   public String Divi() {
                        a = 2*( (int) (100*Math.random() ) )+2;
                        c = 2*( (int) (10*Math.random() ) )+2;
                        while (a%c!=0)
                             c = 2*( (int) (10*Math.random() ) )+2;
                   String a1 = String.valueOf(a);
                   String a2 = String.valueOf(c);     
                   return (a1+" � "+a2+" = ");
              public Graphics Create(int i) {
              repaint();
              Dimension d=size();
              bufferg.setColor(getBackground());
              bufferg.fillRect(100,100,350,75);
              bufferg.setColor(Color.yellow);
                   a = ( (int) (Math.random()*100) );
                   b = ( (int) (Math.random()*100) );
                   String a1 = String.valueOf(a);
                   String a2 = String.valueOf(b);
                   Font f = new Font("Helvetica", Font.BOLD, 36);
                   bufferg.setFont(f);
                   bufferg.setColor(Color.black);
                   if (i==0)
                        bufferg.drawString(a1+" + "+a2+" = ", 145,150);
                   else if (i==1)
                        bufferg.drawString(a1+" - "+a2+" = ", 145,150);
                   else if (i==2)
                        bufferg.drawString( Multi() , 145,150);                    
                   else if (i==3)
                        bufferg.drawString( Divi() , 145,150);
                        return bufferg;
         private void handleCheckbox(Event evt) {
              Checkbox cb = (Checkbox)evt.target;
                   String str = cb.getLabel();
                   bufferg.drawImage(test,0,50,this);
                   if (str==boxName[0]) {
                        paint( Create(0) );
                        invis.setText("+");
                   else if (str==boxName[1]) {
                        paint( Create(1) );
                        invis.setText("-");
                   else if (str==boxName[2]) {
                        paint( Create(2) );
                        invis.setText("x");
                   else if (str==boxName[3]) {
                        paint( Create(3) );     
                        invis.setText("/");
         } //end handleCheckBox
         public void update(Graphics g){
              paint(g);
         public void paint(Graphics g) {
              g.drawImage(buffer,0,0,this);
    }//end class

    Its not easy to follow your code without the [ code] +[ /code] tags and your link may as well not be there, the code one. I would resolve this by reducing the overhead ie: stripping down the code as much as I could and then adding them back one by one. DIVIDE and CONQUER!!!
    1. Take out the audio data (I suspect this may be the key problem)
    2. Take out the Thread 'main' and have an actionListener attached to your answer field to handle the changes
    3. Take out java.net and your URLs
    4. use a MediaTracker and WaitForAll()
    5. Strip it down further - AS MUCH AS YOU CAN (you can easily reassemble it quickly again) and then look at the program flow
    6. Add more boolean logic to give you control over all your elements ie
    if(myAnswer==answer) smiley=true;
    else smiley = false;
    // or whatever, as I said I could only scan through your code as it is difficult to read in its present format.
    Finally: this is good work I like the smileys and the instant %'s, the general layout, good /intelligent use of random() to generate different Q's each time. It's a good application, just remember that applets can be unreliable and I think your basic problem is that you have too much data here.
    Strip it right down, focus on your logical flow and then put back the elements one-by-one

  • CRT results are not appearing after successful payroll run

    CRT results are not appearing after successful run of US payroll, however, RT results are appearing.
    Please suggest ideas to find the results of CRT.

    Hi Rémi Corriveau,
    Thank you for spending your time to answer my question.
    Here are the answers to your questions . . . .
    QUESTION: Did you run a Payroll Simulation or a live Payroll Calculation ?
    ANSWER: We did a LIVE payroll run for a period of 3 months.
    QUESTION: Did you use t-code pc_payresults ?
    ANSWER: Yes, we used the t-code pc_payresults but still it doesn't show the CRT results.
    QUESTION: Did you check Processing Class 30 and 70 for your WTs ?
    ANSWER: As per the process, we copied the SAP standard (model) Wage Type M010 to
    our customized Wage Type, hence, hope that it wouldn't disturb any of the standard SAP settings.
    However, we did check the Processing Class 30, but did not check the processing class 70.
    Shall update you once PC 70 is also checked.
    Please educate, if there are any particular specifications that need to be entered while checking
    for our WTs in PC 30 & PC 70.

  • HT1386 My iOS device (Ipad mini) only appears in iTunes while cable-connected, but does not appear after diconnect the cable. How can I Wifi sync ?

    Hi, My iOS device (Ipad mini) only appears in iTunes while cable-connected, but does not appear after diconnect the cable. How can I Wifi sync ?
    Documents say
    Whenever the computer and the iOS device are on the same network, the iOS device will appear in iTunes, and you can sync it....
    But I can't see my iPad Mini in iTunes.
    And my  Ipad  (Settings, General, iTunes Wifi Sinc)  shows  a message :" Sync will resume when xxx(my PC with iTunes) is available "...
    Both are in the same network,
      Ipad mini is is plugged in to power
    . iTunes is open on the computer
    what can i Do ???

    Hi Skydiver119,  and tks for four interest.
    I have done exactly as you say, but it does not work for me.
    You indicated  " Navigate to the info tab and scroll down. There'll be a check box for 'sync over wifi' or something to that effect. Check that box and sync to affirm your choice."
    I navigated to Summary tab (not Info Tab) and checked "Sync with this ipad over Wi-Fi"
    I disconnect the wire,
    and my iPad disappears from my iTunes screen.
    in my iPad ->Settings -> General -> iTunes Wi-Fi Sync -> says " Sync will resume when (my PC) is available.
    So, I can not sync via wi-fi
    I appreciate if you can help me.

  • E-Rec Reference Code in the Publication tab should not appear after enddate

    hi,
    There is a requirement from the client after the end date of the publication ,the reference code should not be displayed to the candidate in the Candidate page ,presently the same is manually done in the system by changing the status to withdrawn.
    Is there any way by which we can automate the process by change in customising by which the reference code does not appear after the end date
    Please provide a solution if something can be done in the standard setting or do we require any Zworkflow to be developed for the same.
    Regards
    RK

    Hi RK,
    this is nothing the standard supports.
    But I would not use a workflow here. As this is a mass handling workflow is no good idea. This is a task for a customer periodical service. Just build a class implementing the periodical service interface which gets all released publications which have a publication end in the past and status released and change their status using the cl_hrrcf_posting_inst_bl. This should be done in a couple of hours. Add the customizing and the issue is solved.
    A requirement in this context where a customer workflow is quite handy in my opinion is a customer workflow which closes all postings and withdraws released publications when you close the requisition. This reduces the steps a recruiter has to do and ensures that no candidate applies although you are already done with the requisition.
    Kind Regards
    Roman

  • Why MLB.TV is not appearing after the last update?

    why MLB.TV is not appearing after the last update?

    Make sure the store is set to the US.. Also restart the ATV.

  • The Facebook video chat icon is not appear after upgrading to mavericks X

    The Facebook video chat icon is not appear after upgrading to mavericks X. Please help.

    http://support.apple.com/kb/ht5404
    Scroll down to the bottom, read and then perform the troubleshooting steps provided.

Maybe you are looking for

  • Coldfusion 11 error with cflayout

    0 down vote  favorite   I have some applications developed on older CF versions (9&10) and in anticipation of a hosting system migrating to CF11 and started doing some testing with a CF development platform on Windows 8 with Apache 2.4. I have found

  • FBZP Questions

    Dear Experts, Please explain how the following requirement can be accomplished. Current state in legacy system: Run the payment run by bank account as they do not have ability to run the payment run for all banks at the same time. Have about 50 compa

  • Maximum number of connections in use. Close an act...

    Hi everyone. I try to connect my N95 to internet, using "One Touch Access" and USB. It used to be working ages ago! but now, it is impossible. it gets connected with the phone, but when i want to open a web page, it say "maximum number of connections

  • What is "reliable message" wait event in 10g??

    Hi, all. The database is 2 node RAC 10.2.0.2.0 on 32-bit windows 2003 EE SP1. From time to time, I see "reliable message" wait event on the "Top 5 Timed Events" section from AWR report. The wait class is "Other". There seems to be no manuals and html

  • Error while installing Shared Technologies Elements 12

    I have just downloaded my purchase of Elements 12 and tried to install twice. I've read through the troubleshooting pages and still can't work out how to fix this. I am getting the error messages and have included them below Can someone please help m