Color's timeline is one frame off on occasion

Hi there, odd problem I'm having.
Show shot on RED, cut in Premiere (about 4 mins long), then baked out to ProRes 4444 at its native framerate (23.98), re-cut, then sent to FCP. Now, there were some weird errors there, but I worked around them okay. Made sure the timebase and framerate are 23.98, sent to Color, all seems well, except on occasion the cut is one frame off. The project is also at 23.98 in Color.
Here's the kicker. If I unlock my track and use the Roll tool to fix the annoying error, then sometimes the frame will double up (it will seem like there's the same frame at the end of one clip and at the beginning of the next), or the last frame of the previous clip will become the first frame of the next, creating a different problem and solving nothing.
Ideas on what might be going on?
I'm monitoring through a Matrox MXO2 mini, out from my expresscard slot, if it makes any difference.

I am having the same problem right now with a feature film that is a single baked quicktime (apple pro res HQ 1920 x 1080 23.976 fps) for each scene.
I take the scene and open it in Final Cut Pro, I make the sequence settings automatically fit to the clip.
I cut it up into the seperate shots in the Final Cut timeline. I send to Apple Color.
Then in Apple Color, I see the the edit points are sometimes one frame off (not all of them are off). In all these instances the edit point is rolled one frame forward.
If I color correct and then send back to Final Cut Pro, the new color corrected timeline also is one frame off based on the new footage and xml that came out of Color.
Help!
Using Final Cut Pro  7.0.3
Color 1.5.3
If I look at the format of the original one piece quicktime in Final Cut Pro it says 23.98, and when I open the specific compression setting it states the exact 23.976
In Color it states 23.98 in project settings and if I look at the format of what it is rendering out to Final Cut Pro, it says 24fps. If I open footage rendered in Color (with project settings of 23.98) in quicktime it shows it to be a 24fps clip.
But it is already wrong in the locked timeline of Color. That just after sending from Final Cut Pro. Before any grading, rendering, or sending
That would mean that something is wrong with the xml file Final Cut Pro is sending out.

Similar Messages

  • Calendar timeline one hour off

    In iOS 5 on an iPad 2, using calendar after converting to Eastern Standard Time using the Week View, the Timeline is one hour off (iCal didn't register the time change). When the time is 3:00 EST, the Timeline registers 4:00 pm EST.

    I had the same issue - not with Yahoo but Apple's own iCal and MobileMe.
    This worked for me:
    Go to iPhone Settings>Mail,Contacts,Calendars>Calendars>Time Zone Support
    Change Time Zone Support selector to "OFF" then back to "ON".
    Exit Settings
    NB: NOT Settings>General>Date & Time
    My Time Zone Support selector was "on", however Time Zone showed Etc/GMT -4
    When I selected Time Zone Support to "off" and then back to "on", Time Zone changed to show "New York" (my local area). Calendar events then displayed the same times as iCal/MobileMe.
    Rob

  • I would like to change my back ground color in one frame for a logo that i am using I am able to change it on the canvas but not on the timeline?

    I would like to change my back ground color in one frame for a logo that i am using I am able to change it on the canvas but not on the timeline?

    Are you using FCPX? It doesn't have a canvas. Do you really mean one frame, like 1/30th of a second? Add a custom generator underneath the logo. Make it whatever color you want. Make it however short you want.

  • After Effects CS6 render problem with exactly one frame or exactly at one point in the timeline.

    I've recently tried to render a project in After Effects CS6 but everytime I render the render fails at exaclty one frame or a time in the timeline, in this frame or point in timeline I have a composition with the following effects: Twixtor Pro and inside that composition I have the video with the following effects: Motion Tiles and Wave Warp. I rendered the project in H.264 format with a 8 bitrate. I tried to fix this even by trying to render the project as a TIFF Sequenece but the render keeps failing and the final output is only the part of the video until that exact frame. I have caps lock on to try to speed up my render. Any help would be appreaciated and let me know if you need more information and i'll try to give you more.

    Set your work area to about 5 frames before the fail and 5 frames after and see if you get a fail.
    If you get a fail then start turning off a layer at a time until you find the culprit. Let us know what's going on there.
    A screenshot of the timeline with all properties revealed may also give us some ideas.

  • Timecode filter off one frame for speed reversed clips

    Is this a known issue in Premiere Pro CC? I'm using version 7.2.1 (4).
    The video clip in V1 has a reverse speed change applied, and the timecode filter is off by one frame. Or maybe the source overlay is off by one frame? Which should I trust?

    Another clip in the sequence has a timecode filter error much greater. See attached screenshot. the timeline clip is sped up 694.28%, the source timecode overlay reports 09:25:35:14 and the timecode filter says 09:25:35:07. 

  • How can I move a clip on the timeline less than one frame?

    I need to move an audio clip on the timeline to match the video but it snaps one frame at a time and I need to move it less than that.?

    I've just had a look.
    Try
    Edit
    Keyboard Shortcuts
    Panels
    Program Monitor Panel
    Program Monitor Panel Menu
    You should then find this:
    You can then set up your preferred shortcut key.

  • Using Overwrite, snapped PC files from Vegas are 1 frame off in timeline!

    Perhaps someone here can offer some help...
    I was given a 30 minute piece of video that someone else created and started in Sony Vegas on PC. I have to finish the project in FCP. I personally did the final Audio soundtrack myself in Pro Tools. I am syncing that with this video, that had a "rough" early version of the same audio.
    The person who gave me the files delivered them in AVI format. As many editing programs do, Vegas apparently split the 30 minutes of video/audio (around 6 gig of DV-NTSC 29.97 video) into multiple 1 gig pieces. So I have 6 (1gig) .avi clips that should snap back together frame accurate to get the 30 minutes back in the timeline in FCP.
    So, I setup a standard DV-NTSC FCP project and I imported my audio first, so I could verify time cues, etc.
    I import the AVI files, then Snap them in the timeline front to previous end, carefully, using Overwrite.
    However, all of the video files are exactly 1 frame off at the end of each clip. As if either the Vegas splitting chopped off a frame at the end while splitting, or FCP is losing a frame as I import and then snap it in the time line. I can determine that it is exactly 1 frame, because of my "final", non-split audio track that is sync'd just underneath it. At the timeline area where each new clip gets snapped in, I can zoom way in and determine that the rough audio from the video track, is off by a frame with my final audio track.
    It's not a drift problem, because if I line up each single clip on it's own with my audio, it stays perfectly in sync until the final frame. Then it's 1 frame short.
    So by the time I snap in 6 clips, my video is exactly 6 frames off at the ending with my audio track (which I know is correct).
    Sorry for being a bit lengthy, but it is hard to explain otherwise...
    Is there something I am overlooking? Shouldn't FCP handle the AVI files okay? The person who gave the files to me from Vegas states that they should be frame accurate regardless of the split.
    I am going to try them in another program to see what I discover, but I am stumped right now in Final Cut Pro? (That is assuming the Vegas splits were correct? Maybe that is the culprit?)
    Thanks for any thoughts!
    Wade

    Thanks David...
    I was able to finally conducted a test. I went to a friends studio that runs Premiere Pro 2.0. I checked the files there and the split AVI files do line up frame accurate perfectly and there were no frames cut off. (No surprise as it's PC files used in a PC format
    Also, I first mentioned that I thought it was the end of the file that was missing a frame. It actually looks to be the opposite. It's at the front of the file that is off and missing 1 frame.
    So, shouldn't I be able to use the AVI files in FCP frame accurate? Is there some dummy setting I am missing? Lastly, since AVI files are not the best format to use in FCP, can anyone recommend a conversion method for me to use for these files in FCP?
    Thanks again!
    Wade

  • I want to know the exactly when the Kinect gives depth frame and color frame in a period of one frame

    Hi, I'm currently using Kinect for Windows v2 to get a blurry sequence of color frames as well as corresponding depth frames. 
    It seems to me that the depth frame is acquired after the exposure time of the color frame. I am using the sample in the CoordinateMappingBasic to acquire the depth frame and the color frame at the same time. 
    But as i've found out by the aligned depth map with color frame, i think Kinect gives depth frame at the end of the exposure time of color frame. I've tried to obtain timestamps by calling a function iColorFrame->get_relative_time, and for the same number
    the timestamps show that depth frame is acquired prior to color frame, which opposes what i said above.. 
    Is there some way that i can know the exact time the Kinect gives depth frame and color frame in a period of one frame.
    Thank you in advance.

    Depth is generated based on IR information so when you acquire the frame, that is when it was created. Using the Multisource Frame Reader(MSFR) this does a lot under the covers to align the color and depth frame. If you want to do your own synchronizing,
    you can use a polling thread to acquire depth on one and color on the other and do your own mechanism that is similar to MSFR. You will never get Color and Depth to align exactly on a particular timestamp. Since color is its own camera, the only thing
    you can be assured of is when the color frame is acquired, the runtime will give you the closest depth frame that will align to it.
    Carmine Sirignano - MSFT

  • Premiere Pro: Not Playing Timeline, Not Rendering Full Sequence, Stalling on One Frame

    2013 iMac // 10.9.3 // Premiere Pro CC 2014 (latest update)
    I have been editing a project for a few days, and it just started giving me issues on my last run through it before exporting.
    I have dealt with many problems with PP before, but I honestly don't even know what's going wrong here. I cannot pinpoint the issue. It seems to be a number of things. I started by updating PP and CUDA. Nothing. So I continued.
    1) I was having problems rendering, so I figured I'd delete the preview files and start from scratch. When rendering the entire project, it would get to about 60%, then stop and hang there. After five minutes of watching it, I would quit PP. Even though it would look like it had quit, it would still be running in Activity Monitor and the little light underneath it in the dock would be on, so I have to force quit.
    2) It was odd because the spot where it stops rendering is the sport where, if I scroll through the timeline, the Program window will freeze on one frame. Then it doesn't matter how much I move the playhead, it won't show any other frames. Nor will the sequence play at all after this. So I'd quit again.
    3) I went back to another project and rendered everything in it - fine and dandy.
    Why is this giving me such a problem? If anyone needs anything else from me to properly diagnose this, please just say so! Thanks for the help.

    Sorry 'bout the time lag. Our new firm just started its first large project, and as the tech geek for the photo-part of it, been kinda busy.
    So there's clearly a problem with the project file having gotten corrupted, but ... when it hits the footage it choked on before, it choked again. There's some kind of glitch here that has to to with PrPro interacting with those files. I'm wondering if a file header somewhere has a digit that can confuse PrPro or something? I do recall a couple issues of a similar nature that eventually involved people sending a bit of the nasty footage to an Adobe staffer, who poked through behind the scenes and found something that was not exactly what it might best have been in a header or something. Altered that, PrPro & footage liked each other again, everybody else happy. But that's the sort of ish that one needs experience at ... and I've got none.
    There's been times also where people have split a project up ... right on the edge of the Problem. Three parts to their project, in separate project files. First "good" part, and rendered it out as a separate project. Next project, the "troubled" footage that worked by itself, as again its own project, and rendered out. Then the final & also untroubled part, again rendered out. I've heard of both taking those into QuicktimePro (if appropriate codec) and uniting in one continuous piece, I've also heard of people who took three PrPro projects that had been rendered out separately (if I recall one was probably about six parts, a long & complex bugger) and brought those rendered-out parts back in to make a final project with everything in it. In fact, there are a number of people who split their larger projects into chunks, that are finished separately, then combined in a final PrPro project for final polishing as their normal work habit.
    Best wishes ...

  • Text graphics are offset by one frame. Footage clips are in place but text graphics are off by one frame when output.

    Any thoughts?
    Mac os 10.9.5
    AE 2014 Latest
    Cleared Caches
    Restarted

    Here is a start. The program is used to make precise transitions and is not. Everything looks fine in the timeline previews, then get garbled by one frame when output.
    Thoughts?

  • DVD slideshow transitions off by one frame

    iDVD 08. Multiple slideshows of about 20 pictures each. Variety of transitions. Sometimes use "fit to audio" and sometimes use a fixed slide duration. I don't know how many "frames" it takes to complete a transition, but let's say it's 10. For each of the slideshows, the dvd transitions to the proper image, but then goes 1 frame beyond the picture before displaying for the specified time. So what we end up seeing is not the best quality picture, but rather one frame into the following transition, which of course is not the best quality, and with transitions like cube, reveal, and mosaic looks particularly off.
    Any ideas? Thanks.

    Hi, I just tested this and can't reproduce the problem. I tried selecting lip in/out in both premiere cc (2014, 8.0.0 169 build) and ame and both were frame accurate. Can you double check your frame rate settings please? Also what OS are you running and version of premiere?
    Thanks
    Chris

  • Moving Timeline one frame at a time on Premiere 6.0

    Using Premiere 6.0 on a Mac G4, with OS 10.3.9, I want to move a video clip, Lt or Rt. one frame at a time so I can line it up with clips above or below it ..
    Any suggestions ???
    Peter S.

    You might have better luck in the Premiere Forum a few doors down.

  • Batch export off by one frame

    I'm trying to export several clips from a bin in Premiere CC 2014 (rendering R3D to DPX).  I highlight them all, add to the queue.  Then in Media Encoder, I select each one and change the source range to "Clip In/Out".  Unfortunately, this creates renders offset by one frame.  So it's missing one frame at the head, and has an extra frame at the tail.

    Hi, I just tested this and can't reproduce the problem. I tried selecting lip in/out in both premiere cc (2014, 8.0.0 169 build) and ame and both were frame accurate. Can you double check your frame rate settings please? Also what OS are you running and version of premiere?
    Thanks
    Chris

  • Color FCP Timeline problem

    I am having a problem sending my completed project from Color to FCP. In Color, the timeline matches what I see in FCP; however, when I send from Color, the resulting sequence is dropping clips and has randomly re-edited some.
    The original FCP sequence mixes no formats or frame rates (it is 23.98), is in Uncompressed 10 bit, and has no other processing applied. (Other posts have had similar issues when mixing formats or with sequences with speed changes, but this is not the case here).
    The sequence I am sending to Color is actually one long media clip in which I've placed cuts at shot changes so I can apply different grades more easily.
    I see absolutely no reason for this to be happening and it's obviously rather frustrating.
    Has anyone experienced a similar issue and found a solution?

    Thanks for the response but the edits were made in FCP - no modification was made to the timeline in Color.
    I was eventually able to find a functional workaround by taking the same source clip, putting it into a new sequence with the exact same settings, replicating the same edit points from the original track, sending that to Color, applying all the previous grading (I saved the corrections for each shot as a separate grade to do this), re-rendering the whole thing and sending it back to FCP.
    A lot of duplicated effort to achieve the result I should have seen in the first place. And now I get to do the same thing for the rest of the project.

  • HELP ME i need to pass String variables from one Frame to another

    I need help with some code.
    i need to pass a set of string values from one frame to another.
    from the mainscreen i need to pass what type of seats the user has requested this is done by radio buttons. i need this information to then be passed onto the next frame called Mydialog1 and placed in a textbox with label st. it dosn't comple and i don't know why
    this is getting me depressed. I need some serious help with this
    can anybody get this to work??
    here is the code
    Mainscreen1 code
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    public class mainscreen1 extends Applet implements ItemListener,
    ActionListener
    private Image layout1;
    private int frame;
    private int xpos,ypos,xdir,ydir;
    public TextField tn, tt1, tt2, total;
    public int value, ticketnum, sum, nr_seats, ctot;
    public Label title, seat, need, payable;
    public Button b1, b2, b3;
    Mydialog1 d;
    String stype, c1, sr;
    public void init()
         setBackground(Color.pink);
    setSize (600, 460);
    setLayout(null);
    //Mydialog1.mehod(sr);
    title=new Label("The Almeida Theater booking system");
         title.setBounds(100,0,400,30);
         title.setFont(new Font("Verdana", Font.PLAIN,24));
         add(title);
    seat=new Label("Please choose a seating location:");
         seat.setBounds(300,40,190,20);
         seat.setFont(new Font("Verdana", Font.BOLD,12));
         add(seat);
    payable=new Label("Total Payable:�");
         payable.setBounds(300,390,100,20);
         payable.setFont(new Font("Verdana", Font.BOLD,12));
         add(payable);
         need=new Label("Please enter the number of seats needed:");
         need.setBounds(300,180,245,20);
         need.setFont(new Font("Verdana", Font.BOLD,12));
         add(need);
         CheckboxGroup sr = new CheckboxGroup();
         Checkbox Stalls = new Checkbox("Stalls", true, sr);
         Stalls.setBounds(490,40,60,25);
         add(Stalls);
         Stalls.addItemListener(this);
         Checkbox Balcony = new Checkbox("Balcony", false, sr);
         Balcony.setBounds(490,65,65,25);
         add(Balcony);
         Balcony.addItemListener(this);
         Checkbox Concessions = new Checkbox("Concessions", false,
    sr);
         Concessions.setBounds(490,90,94,25);
         add(Concessions);
         Concessions.addItemListener(this);
    Button b1=new Button("Quote");
         b1.setBounds(20,395,80,30);
         add(b1);
         b1.addActionListener( this );
         Button b2=new Button("Confirm booking");
         b2.setBounds(110,395,100,30);
         add(b2);
         b2.addActionListener( this );
         Button b3=new Button("Clear");
         b3.setBounds(480,410,100,30);
         add(b3);
         b3.addActionListener( this );
         tt1=new TextField(60);
         tt1.setBounds(300,250,270,20);
    add(tt1);
         tt1.setEditable (false);
         tt1.addActionListener(this);
         tt2=new TextField(60);
         tt2.setBounds(300,300,150,20);
         add(tt2);
         tt2.setEditable (false);
         tt2.addActionListener(this);
         tn=new TextField(3);
         tn.setBounds(545,180,30,20);
         add(tn);
         tn.addActionListener(this);
         total=new TextField(5);
         total.setBounds(400,390,45,20);
         add(total);
         total.setEditable (false);
         total.addActionListener(this);
         xpos = getSize().width/-1400;
         ypos = getSize().height/12;
         layout1 = getImage(getDocumentBase(),"layout1.gif");
         repaint();
    public void itemStateChanged(ItemEvent e)
         String c1 = (String) e.getItem();
         if (c1 == "Stalls")
              value = 20;
         else if (c1 == "Balcony")
              value = 15;
         else
              value = 10;
         tt1.setText("You have chosen to sit in the " + c1 + "
    area");
         tt2.setText("Each seat will cost: �" + value);
         repaint();
    public void clearValue()
              //cb.setSelectiob
              total.setText("");
              tt1.setText("");
              tt2.setText("");
              tn.setText("");
    public void actionPerformed ( ActionEvent e )
    if( e.getActionCommand() == "Quote" )
         int nr_seats = Integer.parseInt(tn.getText());
         total.setText("" +nr_seats*value);
    else if( e.getActionCommand() == "Confirm booking")
         int nr_seats = Integer.parseInt(tn.getText());
         int ctot = Integer.parseInt(total.getText());
         //String stype = String.parseString(c1.getText());
         total.setText("" +nr_seats*value);   
         d = new Mydialog1();      
         d.set_text(nr_seats);
         d.set_texts(ctot);
         stype = sr.getSelectedItem();
    else if ( e.getActionCommand() == "Clear")
         clearValue();
              ticketnum = Integer.parseInt(tn.getText());
              repaint();
         public void paint(Graphics g)
              g.setColor(Color.black);
              g.drawString ("You have chosen:" + ticketnum +"
    seats", 300, 365);
              g.drawImage(layout1,xpos,ypos,null);
    Mydialog1 code
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Mydialog1 extends Frame implements ItemListener,
    ActionListener
    public Label title, custd, custd1, custfn, custad, custsn, custpc,
    custph, custem, custem1, need;
    public Button b1, b2, b3;
    public TextField cfnt, csnt, cdt,cdt2,cdt3,cdt4, tf, tt, st,
    cpct, cph, cem;
    public int value, nr_seats, ctot;
    creditcard cc;
    String stype, c;
    public Mydialog1() //constructor
         init();
    public void init()
         custer(String c)
         stype = c;
         setBackground(Color.yellow);
    setSize (500, 500);
    setLayout(null);
         setLocation(320,140);
         setVisible(true);
         //Mydialog1(Frame f);
    title=new Label("The Almeida Theater booking system");
         title.setBounds(70,20,400,30);
         title.setFont(new Font("Verdana", Font.PLAIN,24));
         add(title);
         CheckboxGroup ct = new CheckboxGroup();
         Checkbox Mr = new Checkbox("Mr", true, ct);
         Mr.setBounds(5,190,36,25);
         add(Mr);
         Mr.addItemListener(this);
         Checkbox Mrs = new Checkbox("Mrs", false, ct);
         Mrs.setBounds(50,190,42,25);
         add(Mrs);
         Mrs.addItemListener(this);
         Checkbox Miss = new Checkbox("Miss", false, ct);
         Miss.setBounds(95,190,45,25);
         add(Miss);
         Miss.addItemListener(this);
    custd=new Label("If above booking details are correct please
    fill in your deatils below");
         custd.setBounds(5,140,400,30);
         add(custd);
         custd1=new Label("If they are incorrect please click on
    close and re-book seats.");
         custd1.setBounds(5,160,400,30);
         add(custd1);
         custfn=new Label("*ForeName:");
         custfn.setBounds(5,220,60,20);
         add(custfn);
         cfnt=new TextField(60);
         cfnt.setBounds(70,220,150,20);
    add(cfnt);
         custsn=new Label("*SurName:");
         custsn.setBounds(230,220,60,20);
         add(custsn);
         csnt=new TextField(60);
         csnt.setBounds(300,220,150,20);
    add(csnt);
         custad=new Label("*Address:");
         custad.setBounds(5,250,55,20);
         add(custad);
         cdt=new TextField(60);
         cdt.setBounds(70,250,180,20);
    add(cdt);
         cdt2=new TextField(60);
         cdt2.setBounds(70,270,180,20);
    add(cdt2);
         cdt3=new TextField(60);
         cdt3.setBounds(70,290,180,20);
    add(cdt3);
         cdt4=new TextField(60);
         cdt4.setBounds(70,310,180,20);
    add(cdt4);
         custpc=new Label("*Postcode:");
         custpc.setBounds(5,330,60,20);
         add(custpc);
         cpct=new TextField(60);
         cpct.setBounds(70,330,180,20);
    add(cpct);
         custph=new Label("*Telephone:");
         custph.setBounds(5,360,65,20);
         add(custph);
         cph=new TextField(60);
         cph.setBounds(70,360,180,20);
    add(cph);
         custem=new Label("E-mail:");
         custem.setBounds(5,390,65,20);
         add(custem);
         cem=new TextField(60);
         cem.setBounds(70,390,180,20);
    add(cem);
         custem1=new Label("eg: [email protected]");
         custem1.setBounds(250,390,150,20);
         add(custem);
         need=new Label("* = required field.");
         need.setBounds(350,400,150,20);
         add(need);
         //seat number being pased into this textbox
         tf = new TextField();
    tf.setBounds(5, 80, 160,20);
         tf.setEditable (false);
    add(tf);
         //seat number being pased into this textbox
         tt = new TextField();
    tt.setBounds(5, 100, 160,20);
         tt.setEditable (false);
    add(tt);
         //seat number being pased into this textbox
         st = new TextField(stype);
    st.setBounds(5, 120, 230,20);
         st.setEditable (false);
    add(st);
         setVisible(true);
         Button b1=new Button("Close");
         b1.setBounds(20,440,80,30);
         add(b1);
         b1.addActionListener( this );
         Button b2=new Button("Proced with booking");
         b2.setBounds(110,440,150,30);
         add(b2);
         b2.addActionListener( this );
         Button b3=new Button("Clear");
         b3.setBounds(350,440,100,30);
         add(b3);
         b3.addActionListener( this );
    public void itemStateChanged(ItemEvent e)
         String c2 = (String) e.getItem();
         if (c2 == "Mr")
              value = 20;
         else if (c2 == "Mrs")
              value = 15;
         else
              value = 10;
    public void clearValuea()
              //cb.setSelectiob
              cem.setText("");
              cph.setText("");
              cdt.setText("");
              cdt2.setText("");
              cdt3.setText("");
              cdt4.setText("");
              cfnt.setText("");
              csnt.setText("");
              cpct.setText("");
              cph.setText("");
              cem.setText("");
    public void actionPerformed( ActionEvent e )
    if( e.getActionCommand() == "Close" )
    this.dispose();
    else if( e.getActionCommand() == "Proced with booking")
    cc = new creditcard();
    else if( e.getActionCommand() == "Clear")
    clearValuea();
         public void set_text (int nr_seats)
         tf.setText (" You have booked " + nr_seats + " seat/s");
         public void set_texts (int ctot)
         tt.setText (" The total is � " + ctot);
         public void SetTextField(String c1)
         st.setText(c1);
    creditcard
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    public class creditcard extends Frame implements ActionListener
         public Label title, ccd1, ccfn;
         public Button b1, b2;
         public TextField cnt, cdt, ccfnt;
         public String cfnt;
    public creditcard() //constructor
         init();
    public void init()
         setBackground(Color.green);
    setSize (500, 500);
    setLayout(null);
         setLocation(320,140);
         setVisible(true);
         //Mydialog1(Frame f);
    title=new Label("The Almeida Theater booking system");
         title.setBounds(70,20,400,30);
         title.setFont(new Font("Verdana", Font.PLAIN,24));
         add(title);
         ccd1=new Label("If billing address is different please edit below information.");
         ccd1.setBounds(5,50,400,20);
         ccd1.setFont(new Font("Verdana", Font.BOLD,12));
         add(ccd1);
         ccfn=new Label("*ForeName:");
         ccfn.setBounds(5,220,60,20);
         add(ccfn);
         ccfnt=new TextField(60);
         ccfnt.setBounds(70,220,150,20);
    add(ccfnt);
         Button b1=new Button("Close");
         b1.setBounds(20,440,80,30);
         add(b1);
         b1.addActionListener( this );
         Button b2=new Button("Proced with booking");
         b2.setBounds(110,440,150,30);
         add(b2);
         b2.addActionListener( this );
    public void actionPerformed( ActionEvent e )
    if( e.getActionCommand() == "Close" )
    this.dispose();
    else if( e.getActionCommand() == "Proced with booking")
    setBackground(Color.red);

    Here's the new mainscreen1.java file...
    public class mainscreen1 extends Applet implements ItemListener,
    ActionListener
      private Image layout1;
      private int frame;
      private int xpos,ypos,xdir,ydir;
      public TextField tn, tt1, tt2, total;
      public int value, ticketnum, sum, nr_seats, ctot;
      public Label title, seat, need, payable;
      public Button b1, b2, b3;
      Mydialog1 d;
      CheckboxGroup checkGroup; // heres the new global CheckboxGroup variable.
      String stype, c1, dialogString; // new name for the string too...
      public void init()
        setBackground(Color.pink);
        setSize(600, 460);
        setLayout(null);
        //dialogString = "Hi";
        //Mydialog1.mehod(dialogString);
        title=new Label("The Almeida Theater booking system");
        title.setBounds(100,0,400,30);
        title.setFont(new Font("Verdana", Font.PLAIN,24));
        add(title);
        seat=new Label("Please choose a seating location:");
        seat.setBounds(300,40,190,20);
        seat.setFont(new Font("Verdana", Font.BOLD,12));
        add(seat);
        payable=new Label("Total Payable:�");
        payable.setBounds(300,390,100,20);
        payable.setFont(new Font("Verdana", Font.BOLD,12));
        add(payable);
        need=new Label("Please enter the number of seats needed:");
        need.setBounds(300,180,245,20);
        need.setFont(new Font("Verdana", Font.BOLD,12));
        add(need);
        checkGroup = new CheckboxGroup(); // instantiate the global CheckboxGroup
        Checkbox Stalls = new Checkbox("Stalls", true, checkGroup); // add to the CheckboxGroup
        Stalls.setBounds(490,40,60,25);
        add(Stalls);
        Stalls.addItemListener(this);
        Checkbox Balcony = new Checkbox("Balcony", false, checkGroup);
        Balcony.setBounds(490,65,65,25);
        add(Balcony);
        Balcony.addItemListener(this);
        Checkbox Concessions = new Checkbox("Concessions", false, checkGroup);
        Concessions.setBounds(490,90,94,25);
        add(Concessions);
        Concessions.addItemListener(this);
        Button b1=new Button("Quote");
        b1.setBounds(20,395,80,30);
        add(b1);
        b1.addActionListener( this );
        Button b2=new Button("Confirm booking");
        b2.setBounds(110,395,100,30);
        add(b2);
        b2.addActionListener( this );
        Button b3=new Button("Clear");
        b3.setBounds(480,410,100,30);
        add(b3);
        b3.addActionListener( this );
        tt1=new TextField(60);
        tt1.setBounds(300,250,270,20);
        add(tt1);
        tt1.setEditable(false);
        tt1.addActionListener(this);
        tt2=new TextField(60);
        tt2.setBounds(300,300,150,20);
        add(tt2);
        tt2.setEditable(false);
        tt2.addActionListener(this);
        tn=new TextField(3);
        tn.setBounds(545,180,30,20);
        add(tn);
        tn.addActionListener(this);
        total=new TextField(5);
        total.setBounds(400,390,45,20);
        add(total);
        total.setEditable(false);
        total.addActionListener(this);
        xpos = getSize().width/-1400;
        ypos = getSize().height/12;
        layout1 = getImage(getDocumentBase(),"layout1.gif");
        repaint();
      public void itemStateChanged(ItemEvent e) {
        String c1 = (String) e.getItem();
        if (c1 == "Stalls") {
          value = 20;
        else if (c1 == "Balcony") {
          value = 15;
        else {
          value = 10;
        tt1.setText("You have chosen to sit in the " + c1 + " area");
        tt2.setText("Each seat will cost: �" + value);
        repaint();
      public void clearValue() {
        //cb.setSelectiob
        total.setText("");
        tt1.setText("");
        tt2.setText("");
        tn.setText("");
      public void actionPerformed( ActionEvent e ) {
        if( e.getActionCommand() == "Quote" ) {
          int nr_seats = Integer.parseInt(tn.getText());
          total.setText("" +nr_seats*value);
        else if( e.getActionCommand() == "Confirm booking") {
          int nr_seats = Integer.parseInt(tn.getText());
          int ctot = Integer.parseInt(total.getText());
          total.setText("" +nr_seats*value);
          d = new Mydialog1();
          d.set_text(nr_seats);
          d.set_texts(ctot);
          // You can do your checkbox selection data transfer here like this...
          // I used d.SetTextField because you had that defined in the Mydialog1 class.
          Checkbox chkBx = checkGroup.getSelectedCheckbox();
          d.SetTextField(chkBx.getLabel());
        else if ( e.getActionCommand() == "Clear") {
          clearValue();
        ticketnum = Integer.parseInt(tn.getText());
        repaint();
      public void paint(Graphics g)
        g.setColor(Color.black);
        g.drawString("You have chosen:" + ticketnum +" seats", 300, 365);
        g.drawImage(layout1,xpos,ypos,null);
    }

Maybe you are looking for