Duplicate frames in clip. frame rate?

I was scrubbing through some footage in a clip in my viewer window. I noticed something interesting. As I was scrubbing, I noticed there were a few duplicate frames.
E.g.: A B C D D E F G H H I J K, etc.. etc..
so 3 unique frames, 2 duplicate frames
what does this mean?

Sounds like a normal standards conversion or film transfer pulldown, or media that has been slightly slow-mo'd for some reason. Usually when people have this they know why it's there.
The particular way you're seeing it probably also has something to do with your viewer being set to less than 100%, so you aren't seeing both fields (you would also see them on a native format external CRT).
But you don't say anything about what this media is, where it came from, what your clip settings are...

Similar Messages

  • Clip frame rate wrong in imovie 11

    Ever since I upgraded to imovie 11 all of my video clips show a 60 in a yellow frame - both in events and projects - with the message "indicates clip frame rate (60fps) is not a multiple of the current project (25 fps)". What does this mean? As I said shows in events and projects. To stop audio jumping I detached all audio from clip but how do I fix the clip frame rate? Assume this causes "jumpy replay" problems. How do I fix and where??? Please help. Could not find solutions anywhere.

    mattias.rylander wrote:
    I meant to say it only (if I may generalize here) makes a difference when you edit. Don't try to edit 30 fps material in a timeline meant for 25 fps. Very few applications can accomplish this with a good end result.
    Are you speaking about this particular change of frame rates or any?
    Having transfered Super 8 film that was shot at 18 fps, I have little choice but to change the rate. So far everything seems to be working out fine. For 24 fps iMovie does a pull-down of 1 1 2; for 30, 2 2 1. I'm a little confused as to whether I should use 24 or 30 fps. I'll be asking about this in a new thread.
    The easiest way to change a projects framerate is to edit the project xml file.
    Right click on your iMovie project file and choose "Show package contents..." (or something similar)
    Edit the "Project" file (no extension) using the free Textwrangler editor or a plist capable editor.
    Find the node "frameRate" and update to 30.
    Really? That's a cool trick! But it sounds like it could easily mess things up. Have you tried this and with what scenarios?
    or easier just create a new project
    HTH
    Message was edited by: betaneptune. Changed "under" to "with" for better clarity.

  • Change duration of all frames in clip/videotimeline at once

    Hi,
    I would like to make a videoclip/slideshow containing about 100 pictures. i import all pictures in 1 document and in the videotimeline i click ==> make frames from clips so all my layers are arranged so one picture starts after another but ==> one picture is now appearing abut 1 second. How can i select all my layers (frames) at once and change the duration of the frames to about 5 seconds for all pictures at once?
    Thank you.
    Best regards,
    Tommy

    Hello, for video layers? it would be useful, indeed. Enter a feature request at http://feedback.photoshop.com/photoshop_family/topics/ps_cs6_feature_request_set_the_defau lt_frame_duration_for_newly_added_clips_in_the_video_timeline

  • Some questions/findings - Merged Clips, Markers, Match Frame, Source Clips etc

    Hi,
    Working on my second long form project with CC (1 hour + timelines) and am encountering some problems with merged clips.
    Problem 1 - So I do all my markers in a video clip (which can take hours).  I add names and copy the names into the markers notes.  I then merge the clips (video with sound) and the markers are there but all the notes have gone.  This doesn't always happen but it happens enough for me to have been looking for answers as its completely wasted time.
    Problem 2 - More variations of lost markers.  In some cases I have put markers on sound clips.  Merged with video and the markers are there but all names and comments have gone.
    Problem 3 - Merged clips - I am sharing the project with another editor (I am PC based and he is Mac based).  I set everything up so he has a mirror of my files and folder structure.  I send him new edits (timelines) and some merged clips work fine sometimes the audio goes offline.  This can also be reversed.  He sends me edits and sometimes the merged clips work fine and sometimes the audio disappears.  The real problem comes when you have then lost your markers on the video and audio and end up having no idea where the in points are as the match frame doesn't work on merged clips.  It only matches the frame on the merged clip and not the source clip.
    Problem 4 - Clips going offline but they are online.  I get this quite often, mainly with sound (recorded on a zoom recorder - STE-001.wav etc).  Quite often it will say the clip is offline so I click to "locate" and it directs me to the file but it has seemingly not linked it.  So CC knows where the clip is... I just have to select it and its linked.  Why does it come up as offline/locate when it's in exactly the same place it was and the CC path takes me straight to the clip?
    What I need to be able to do with merged clips is;
    1 - I need to be able to easily get to the source material for each merged clip.  Say for example I put a merged clip in a timeline.. and the audio has seemingly gone offline.  If I click the audio I would like to go back to the merged clip and then select if I need to go back to the audio or video for said merged clip and for match frame to be frame accurate on the audio and video.  I used to live by this in Avid.  Reveal in project is great but again it takes me to the merged clip and not the source clips.  Surely there is a way to get back to the source clips Audio/Video?
    2 - I need to have a way that marker information will not get lost in merged clips... EVER!!!  I really can't pinpoint why it happens or when it happens but it happens, too often.  Some clips it seems fine and then all of a sudden the info is gone.  Once it's gone there's no way of getting it back.  I need to be able to 100% save the marker info.  Even if it's as a separate word doc or something.  A documentary with maybe 20-+ hours of interviews... all logged nicely via markers and then for me to randomly lose marker info is absolutely not up to scratch.  PLEASE SORT IT
    Finally.... I am still posting in the PP forum.  is there not a dedicated CC forum yet?  I couldn't find it.. am I missing something?  Makes it real hard in Google if I have to go through PP posts as well.
    Thanks

    This bug is NOT FULLY FIXED.  I'm on a tight deadline so i'm not looking very hard online to see if i'm alone - so please forgive me for just posting here...
    I'm using CC7.2.1 it's 1/21... very grateful that match frame FINALLY works on merged clips, but, again, this insert/overwrite bug is only PARTIALLY FIXED.
    Insert/overwrite with merged clips on 3-point edit now works, but ONLY when cutting in BOTH merged video+audio... if you're just trying to cut in the audio from a merged clip using a 3-point/4-point edit via hotkey, it's a no-go.
    I, for example, needed to re-cut in audio under some video with effects on it. So, I unpatched the video source completely and patched source audio tracks 1-4 to the appropriate sequence tracks. Upon hitting insert or overwrite multiple times, nothing responds. The only way to cut anything in from the source (merged clip) was to patch the source video back into the timeline on an unused video track, then cut ALL the tracks from the source in, I then had to delete the video track re-link the now free audio to the original video. Not a big deal, but annoying enough & waste of precious time on tight deadline.
    So, yeah, I have a workaround but is still not appropriate to have a core function not work properly. Especially when I'm working with a very complicated timeline.
    That said, thanks for keeping on top of our gripes, Mark.

  • Nach dem PreRendern kopiert PR den letzten Frame des Clips in die ersten 2 frames des zweiten Clips

    Hey Leute! - Michi hier!
    Ich arbeite mit Premiere CC an einem MacBook Pro Mid 2012.
    Ich habe folgendes Problem:
    Nach dem Vorschau Rendern kopiert Pr. CC den letzten Frame des Clips in die ersten 2 Frames des zweiten Clips.
    Das klingt jetzt wahrscheinlich sehr verwirrend - desshalb hier eine Bilderreihe, die das Problem verdeutlicht:
    http://up.picr.de/16781440if.jpg         Pic 1
    http://up.picr.de/16781441pt.jpg       Pic 2
    http://up.picr.de/16781442ma.jpg     Pic 3
    http://up.picr.de/16781443wz.jpg     Pic 4
    http://up.picr.de/16781445al.jpg       Pic 5
    In Bild 1 ist zu sehen, dass der Marker in der Timeline am letzten Frame des Clips: "GoPro2130.MP4 (120%)" liegt. Im Projekt Fenster wird der richtige Frame angezeigt - nämlich der letzte des Videos.
    Jetzt bewege ich den Marker auf der Timeline um genau EINEN Frame nach rechts - der Marker liegt jetzt auf dem Video mit dem Namen: GoPro2130(114,99%), nun sollte sich doch die Vorschau im Projekt Fenster ändern, aber dem ist nicht so. Premiere zeigt weiterhin den letzten Frame des vorhergehenden Clips "GoPro2130.MP4 (120%)" an.
    Nun bewege ich den Marker um einen weiteren Frame nach rechts - siehe Bild 3 - IMMERNOCH wird der Frame im Projekt Fenster angezeigt, den wir in Bild 1 und 2 schon gesehen haben, obwohl wir uns schon im 2ten Frame des neuen Clips befinden.
    Als nächstes bewege ich den Marker um einen weitere Frame nach rechts - Bild 4 - NUN ändert sich der Frame - der Beginn-Frame des Clips: GoPro2130(114,99%) wird im Projekt Fenster angezeigt.
    Jedoch sollte sich der Frame schon 3 Frames zuvor geändert haben.
    Es ist wirklich furchtbar!! Ich kann Projekte NIE vorrendern bzw wenn, dann muss ich jeden Clip einzeln erneut zuschneiden, das mein Video komplett Off-Beat ist!
    Ich hoffe wirklich ihr könnt mir helfen, im Englischen Forum hatte ich schon kein Glück..
    Hier der Link zum Thread:
    http://forums.adobe.com/message/5940418#5940418
    Liebe Grüße und Danke im Vorraus,
    Michi.

    Also ich weiß nicht ob ich beim Cache leeren was Falsch mache.
    Ich habe erstmals den Cache bereinigt und dann es nochmal versucht, das Problem war das gleiche.
    Dann dachte ich... "Ich doof, habe vergessen den AE Cache mit zu leeren, klar das das nix wird." den auch geleert.
    Doch wieder das Problem. Nach MediaCache gegooglet und http://help.adobe.com/de_DE/mediaencoder/cs/using/WSb8e30982e628fbec-54c04a521312559a5de-7 ffc.html gefunden. Dort dann unten die Lampe beachtet und dannach gesucht.
    Durch die Bereinigung der Datenbank und des Cache mit der Schaltfläche „Bereinigen“ werden keine Dateien gelöscht, die mit Footageelementen verknüpft sind, deren Quelldateien weiterhin verfügbar sind. Um angepasste und indizierte Dateien manuell zu entfernen, navigieren Sie zum Medien-Cache-Ordner und löschen Sie die Dateien. Der Speicherort des Medien-Cache-Ordners wird in den Voreinstellungen für die Medien angezeigt. Ist der Pfad abgeschnitten, können Sie mithilfe der Schaltfläche „Durchsuchen“ den vollständigen Pfad anzeigen.
    Vorsichtshalber ein Backup vom Ordner gemacht und dann alle Programme geschlossen. Den ganzen Common Ordner gelöscht und Premerie gestartet. Es hat gedauert, doch alle Peks sind wieder erstellt worden.
    Danach AE gestartet und es war auch alles OK, auch die Verkünpfungen in Premerie von den AE Dateien waren OK.
    Jetzt habe ich das zu Speedgrade geschickt und das Problem ist immernoch da, habe ich den Falsch geleert?
    Am liebsten wäre mir zwar das jetzt so zu machen aber vllt ist ja auch mein Workflow Falsch, sollte ich lieber...
    Rohdaten in Premeiere schneiden. Dann zu SpeedGrade. Dort dann die Colorcorrection machen und dann rausrendern. (ist ja soweit ich weiß verlustfrei möglich)
    und dann das was ich aus SpeedGrade bekommen habe in Premerie wieder rein (Als neue Sequenze und dann den Clip druch eine Komposition ersetzen und das Keying machen?
    Viele Grüße und danke für die Hilfe...
    salkinB

  • Hello, i'm creating a very simple animation in ps cs5, but when I try to transform a smart object in a frame, all the frames are affected by it. What can I do ? Thanks, Ep

    Hello, i'm creating a very simple animation in ps cs5, but when I try to transform a smart object in a frame, all the frames are affected by it. What can I do ? Thanks, Ep

    Ok, you are in frame animation mode. I thought cs5 had a timeline mode, but now I think I was wrong.
    In frame animation mode what you do is in one frame you have the object rotated in one position, then select an other frame and rotate it. If it rotates the first frame, which I think it will. Create duplicate of the object in a new layer. Then rotate the second layer.
    At this point in my example you would have two layers, one of which has a rotated object.
    Clear the frames
    Convert the two layers to frames.
    You now have two frames, one for each layer.
    Select both frames then click the tween button.
    This will create the in between frames.
    In the tween dialog box the higher the number of frames set here, will create a smoother animation but will result in a longer time frame for the animation to play.
    Because Photoshop has no way of knowing which way the object should rotate, it is feasible for it to rotate the opposite direction or could look wonky. Just undo and add an in between layer showing how it should look in the middle, then continue on.
    So your layers should be the following, a frame that shows all objects in their rest state.
    All objects that remain in a rest state must be copied to the next layer (ctrl-j on Windows or cmd-j on Mac)
    All subsequent layers are then used for rotating a duplicate of the object. (Ctrl j or cmd j)
    You will find the commands to clear the frames, convert layers to frames and tweeting in the hidden menu found when you click the small icon in the upper right hand corner of the animation panel.

  • I am trying to create a simple animated gif in Photoshop. I've set up my frames and want to use the tween to make the transitions less jerky. When I tween between frame 1 and frame 2 the object in frame two goes out of position, appearing in a different p

    I am trying to create a simple animated gif in Photoshop. I've set up my frames and want to use the tween to make the transitions less jerky. When I tween between frame 1 and frame 2 the object in frame two goes out of position, appearing in a different place than where it is on frame 2. Confused!

    Hi Melissa - thanks for your interest. Here's the first frame, the second frame and the tween frame. I don't understand why the tween is changing the position of the object in frame 2, was expecting it to just fade from one frame to the next.

  • How do i pass selected value of JList in one frame to other frame?

    hai everybody,
    In my application where i m using swing as GUI in that i require selected value of Jlist in one frame to other frame ..
    Since i need the previous frame jlist selected value for my application.
    How this can be done
    Help me pa
    Thanx in advance

    You need to post your Short, Self-Contained, Compilable Example or SSCCE if you need further help.

  • How to copy a value from one Frame to another Frame.

    Hi,
    I am new to Swing and AWT prgramming .
    I have created a menu called " Test window " and it contains toplevel menu item "File" and File Menu contains subitems "Product Evaluation", "ProcessEvaluation", "ResourceEvalation", "TotalEvaluation" and "Exit".
    When i click File->Product Evaluation it displays a new Frame named frame1 , similarly if i click ProcessEvaluation , ResourceEvalation , TotalEvalation it displays frame 2 , frame 3 and frame 4 Respectively,
    frame 1 , frame 2, frame 3 contains four textfields with names t1,t2,t3 and t4.(NOTE: I have given same names for textfields in all three frames so that in future i want to extend my GUI).
    frame 4 contains 4 textfields with names t5,t6,t7,t8 and 4 buttons (b1,b2,b3,b4).
    After i compile my program i will select ProductEvaluation and enter some values in textfield of frame 1 and minimise it. Similary i will open ProcessEvaluation and TotalEvaluation and enter values in textfields of frame2 and frame3 and minimise them.
    My queston is now if i select TotalEvaluation and press Button1 in frame 4 it should display in textfield t5 the value extracted from t1 in frame1 added to the value extracted from t1 in frame 2 added to the value extracted from t1 in frame 3.
    ie after pressing Button 1 textfield t5 should conatin value of t1 in frame1+ value of t1 in frame2 + value of t1 in frame3.
    I am sending the code.
    Can you please help me.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.awt.Component;
    // Make a main window with a top-level menu: File
    public class MainWindow extends Frame {
        public MainWindow() {
            super("Test Window");
            setSize(500, 500);
            // make a top level File menu
            FileMenu fileMenu = new FileMenu(this);
            // make a menu bar for this frame
            // and add top level menus File and Menu
            MenuBar mb = new MenuBar();
            mb.add(fileMenu);
            setMenuBar(mb);
            addWindowListener(new WindowAdapter() {
                public void windowClosing(WindowEvent e) {
                    exit();
        public void exit() {
            setVisible(false); // hide the Frame
            dispose(); // tell windowing system to free resources
            System.exit(0); // exit
        public static void main(String args[]) {
            w = new MainWindow();
            w.setVisible(true);
        private static MainWindow w ;
        protected TextField t1, t2, t3, t4,t5,t6,t7,t8;
        // Encapsulate the look and behavior of the File menu
        class FileMenu extends Menu implements ActionListener {
            private MainWindow mw; // who owns us?
            private MenuItem itmPE   = new MenuItem("ProductEvaluation");
            private MenuItem itmPRE   = new MenuItem("ProcessEvaluation");
            private MenuItem itmRE   = new MenuItem("ResourceEvaluation");
            private MenuItem itmTE   = new MenuItem("TotalEvaluation");
            private MenuItem itmExit = new MenuItem("Exit");
            public FileMenu(MainWindow main) {
                super("File");
                this.mw = main;
                this.itmPE.addActionListener(this);
                this.itmPRE.addActionListener(this);
                this.itmRE.addActionListener(this);
                this.itmTE.addActionListener(this);
                this.itmExit.addActionListener(this);
                this.add(this.itmPE);
                this.add(this.itmPRE);
                this.add(this.itmRE);
                this.add(this.itmTE);
                this.add(this.itmExit);
            // respond to the Exit menu choice
            public void actionPerformed(ActionEvent e) {
                if (e.getSource() == this.itmPE) {
                   final Frame frame1 = new Frame("Frame1");
                    frame1.setSize(700,700);
                    frame1.setLayout(null);
                    t1 = new TextField("");
                    t1.setBounds(230, 230, 50, 24);
                    frame1.add(t1);
                    t2 = new TextField("");
                    t2.setBounds(330, 230, 50, 24);
                    frame1.add(t2);
                    t3 = new TextField("");
                    t3.setBounds(430, 230, 50, 24);
                    frame1.add(t3);
                    t4 = new TextField("");
                    t4.setBounds(530, 230, 50, 24);
                    frame1.add(t4);
                    frame1.addWindowListener(new WindowAdapter() {
                        public void windowClosing(WindowEvent e) {
                            frame1.dispose();
                    frame1.setVisible(true);
                else
                if (e.getSource() == this.itmPRE) {
                  final  Frame frame2 = new Frame("Frame2");
                    frame2.setSize(700,700);
                    frame2.setLayout(null);
                    t1 = new TextField("");
                    t1.setBounds(230, 230, 50, 24);
                    frame2.add(t1);
                    t2 = new TextField("");
                    t2.setBounds(330, 230, 50, 24);
                    frame2.add(t2);
                    t3 = new TextField("");
                    t3.setBounds(430, 230, 50, 24);
                    frame2.add(t3);
                    t4 = new TextField("");
                    t4.setBounds(530, 230, 50, 24);
                    frame2.add(t4);
                    frame2.addWindowListener(new WindowAdapter() {
                        public void windowClosing(WindowEvent e) {
                            frame2.dispose();
                    frame2.setVisible(true);
               else
               if (e.getSource() == this.itmRE) {
                 final   Frame frame3 = new Frame("Frame3");
                    frame3.setSize(700,700);
                    frame3.setLayout(null);
                    t1 = new TextField("");
                    t1.setBounds(230, 230, 50, 24);
                    frame3.add(t1);
                    t2 = new TextField("");
                    t2.setBounds(330, 230, 50, 24);
                    frame3.add(t2);
                    t3 = new TextField("");
                    t3.setBounds(430, 230, 50, 24);
                    frame3.add(t3);
                    t4 = new TextField("");
                    t4.setBounds(530, 230, 50, 24);
                    frame3.add(t4);
                    frame3.addWindowListener(new WindowAdapter() {
                        public void windowClosing(WindowEvent e) {
                            frame3.dispose();
                    frame3.setVisible(true);
                else
                if (e.getSource() == this.itmTE) {
                  final  Frame frame4 = new Frame("Frame4");
                    frame4.setSize(700,700);
                    frame4.setLayout(null);
                    t5 = new TextField("");
                    t5.setBounds(170, 230, 50, 24);
                    frame4.add(t5);
                    t6 = new TextField("");
                    t6.setBounds(270, 230, 50, 24);
                    frame4.add(t6);
                    t7 = new TextField("");
                    t7.setBounds(370, 230, 50, 24);
                    frame4.add(t7);
                    t8 = new TextField("");
                    t8.setBounds(470, 230, 50, 24);
                    frame4.add(t8);
                    ActionListener action = new MyActionListener(frame4, t5, t6, t7, t8);
                    Button b1  = new Button("Button1");
                    b1.setBounds(170, 400, 120, 24);
                    b1.addActionListener(action);
                    frame4.add(b1);
                    Button b2  = new Button("Button2");
                    b2.setBounds(300, 400, 120, 24);
                    b2.addActionListener(action);
                    frame4.add(b2);
                    Button b3  = new Button("Button3");
                    b3.setBounds(420, 400, 120, 24);
                    b3.addActionListener(action);
                    frame4.add(b3);
                    Button b4  = new Button("Button4");
                    b4.setBounds(550, 400, 120, 24);
                    b4.addActionListener(action);
                    frame4.add(b4);
                    frame4.addWindowListener(new WindowAdapter() {
                        public void windowClosing(WindowEvent e) {
                            frame4.dispose();
                    frame4.setVisible(true);
                else {
                    mw.exit();
          class MyActionListener implements ActionListener {
                private Frame frame4;
                private TextField t5;
                private TextField t6;
                private TextField t7;
                private TextField t8;
                public MyActionListener(Frame frame4,TextField tf5, TextField tf6, TextField tf7, TextField tf8)
                    this.frame4 = frame4;
                    this.t5 = tf5;
                    this.t6 = tf6;
                    this.t7 = tf7;
                    this.t8 = tf8;
                public void actionPerformed(ActionEvent e) {
                    String s = e.getActionCommand();
                    if (s.equals("Button1")) {
             // I think code for the Button1 action can be written here  
        

    hi,
    u have ot submit the values using
    b1 for f1,
    b1 for f2 and
    b1 forf3
    after u can access the values in to f4 other wise u con't
    what u have to do use method in each frame like
    setValueforframe1() { } and 2 and 3
    and u can call this method in frame 4 and u can get the values

  • How to put a string from one Frame to another Frame?

    Dear all,
    How can I put a String from one Frame to another Frame?
    When the application started, the Frame 'WindowX' will be displayed. After you press the 'openButton', a whole new Frame (inputFrame) will be shown. In this Frame )(inputFrame) you can write a String in a TextField. After pressing the okButton, this String will be sent to the first Frame 'WindowX'.
    But does anyone know how to realize the sending part?
    I've tested this code on Win98 SE and JDK1.2.2.
    Hope someone can help me. Thanks in advance.
    import java.awt.*;
    import java.awt.event.*;
    public class WindowX extends Frame implements ActionListener, WindowListener
         private Button openButton;
         private TextField resultField;
         public static void main(String [] args)
              WindowX wx = new WindowX();
              wx.setSize(300,100);
              wx.setVisible(true);
         public WindowX()
              setLayout(new FlowLayout());
              openButton=new Button("open");
              add(openButton);
              openButton.addActionListener(this);
              resultField=new TextField(10);
              add(resultField);
              resultField.addActionListener(this);
              addWindowListener(this);     
         public void actionPerformed(ActionEvent evt)
              if (evt.getSource()==openButton)
                   inputFrame ip=new inputFrame();
                   ip.setSize(200,80);
                   ip.show();
         public void place(String theString) //this doesn't work
              resultField.setText(theString);
         public void windowClosing(WindowEvent event)
              System.exit(0);
         public void windowIconi......
    class inputFrame extends Frame implements ActionListener,WindowListener
         String theString = "";
         Button okButton;
         TextField inputField;
         WindowX myWX=new WindowX();   //??
         public inputFrame()
              setLayout(new FlowLayout());
              inputField=new TextField(10);
              add(inputField);
              inputField.addActionListener(this);
              okButton=new Button("OK");
              add(okButton);
              okButton.addActionListener(this);     
              addWindowListener(this);     
         public static void main(String[] args)
              Frame f = new Frame();
              f.show();
         public void actionPerformed(ActionEvent evt)
              if (evt.getSource()==okButton)
                   theString=inputField.getText();
                   myWX.place(theString);   //??
                   dispose();
        public void windowClosing(WindowEvent e) {
        dispose();
        public void windowIconi......
    }

    Thanks for your reply!
    But I got an other problem:
    I can't refer to the object (wx) made from the main Frame 'WindowX', because it's initialized in 'public static void main(String [] args)'...
    Hope you can help me again... Thanks!
    import java.awt.*;
    import java.awt.event.*;
    public class WindowX extends Frame implements ActionListener, WindowListener
         private Button openButton;
         private TextField resultField;
         public static void main(String [] args)
              WindowX wx = new WindowX();   //!!
              wx.setSize(300,100);
              wx.setVisible(true);
         public WindowX()
              setLayout(new FlowLayout());
              openButton=new Button("open");
              add(openButton);
              openButton.addActionListener(this);
              resultField=new TextField(10);
              add(resultField);
              resultField.addActionListener(this);
              addWindowListener(this);     
         public void actionPerformed(ActionEvent evt)
              if (evt.getSource()==openButton)
                   inputFrame ip=new inputFrame(wx);
                   ip.setSize(200,80);
                   ip.show();
         public void place(String theString)
              resultField.setText(theString);
         public void windowClosing(WindowEvent event)
              System.exit(0);
         public void windowIconi....
    class inputFrame extends Frame implements ActionListener,WindowListener
         String theString = "";
         Button okButton;
         TextField inputField;
         WindowX parent;
         public inputFrame(WindowX parent)
              setLayout(new FlowLayout());
              this.parent=parent;
              inputField=new TextField(10);
              add(inputField);
              inputField.addActionListener(this);
              okButton=new Button("OK");
              add(okButton);
              okButton.addActionListener(this);     
              addWindowListener(this);     
         public static void main(String[] args)
              Frame f = new Frame();
              f.show();
         public void actionPerformed(ActionEvent evt)
              if (evt.getSource()==okButton)
                   theString=inputField.getText();
                   parent.place(theString);
                   dispose();
        public void windowClosing(WindowEvent e) {
        dispose();
        public void windowIconi..........
    }          

  • How do I get a button to launch a new frame within a frame?

    I'm very new to Java and am using Jdeveloper9i.
    I am writing a stand alone application that has a frame with fields e.g. name, emailid etc and have provided a "Modify" button, which I want to call up another frame/panel with text fields to allow the user to make changes to name, emailid etc.
    Can anyone point me in the right direction of some sample code that will do this?

    I think you want something like this...
    // Add an action listener to your button where ever you do your setup
    myButton.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        buttonPressed();
    // Then define the buttonPressed method() something like this
    public void buttonPressed() {
      Frame newFrame = new Frame("Modify details");
      newFrame.setSize(100, 100);
      newFrame.setVisible(true);
      // now add the rest of your objects to your frame
    }Rob.

  • Animation. How do I import still images in final cut pro x (from dragon frame) duration 3 frames pr. image?

    Animation. How do I import still images in final cut pro x (from dragon frame) duration 3 frames pr. image? We have allready tried to set stillimages duration in preferences to 0,08 sek, but it does not have any effect!

    You can drag your images to the timeline, select all, ctrl-d and set the duration to 3 frames by typing 3 and enter.
    Or you can use Quicktime 7 to "open image sequence", select the desired duration, export your animation to quicktime and import that into FCP X for further editing.

  • How to copy value from one frame to another frame

    Hi,
    I am new to swing prgramming .
    I have created a menu called " TopFrame " and it contains toplevel menu item "select" and select Menu contains subitems "firstframe", "secondframe", "thirdframe" and "Exit".
    When i click select->firstframe it displays a new Frame f1 with a
    textfield t1. I enter value in textfield t1 and minimise the frame.
    similarly when i click select->secondframe it displays a new Frame f2 with a textfield t1. I enter value in textfield t1 and minimise the frame.
    now when i click select->thirdframe it displays a frame f3 which contains button called "Totalvalue" and a textfield t2 .
    MY question is after opening frame f3 when i press "Totalvalue" button it should add the values from textfield t1 from both the frames f1 and f2 and display the result in textfield t2 of frame f3.
    Actually my application is big but for better understanding i have reduced the description above.
    I am posting the code...Kindly help me
    thanks in advance..
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.Component;
    import java.awt.Checkbox;
    import javax.swing.*;
    import java.text.DecimalFormat;
    import javax.swing.JComponent;
    public class MainWindow extends Frame {
      public MainWindow() {
        super("TopFrame");
        setSize(600, 600);
        // make a top level File menu
        FileMenu fileMenu = new FileMenu(this);
        // make a menu bar for this frame 
        // and add top level menus File and Menu
        MenuBar mb = new MenuBar();
        mb.add(fileMenu);
        setMenuBar(mb);
        addWindowListener(new WindowAdapter() {
          public void windowClosing(WindowEvent e) {
            exit();
      public void exit() {
        setVisible(false); // hide the Frame
        dispose(); // tell windowing system to free resources
        System.exit(0); // exit
      public static void main(String args[]) {
        MainWindow w = new MainWindow();
        w.setVisible(true);
        w.setBackground(Color.white);
    private static MainWindow w ;
    protected TextField t1, t2;
      class FileMenu extends Menu implements ActionListener {
      private MainWindow mw; // who owns us?
      private MenuItem itm1   = new MenuItem("Firstframe");
      private MenuItem itm2   = new MenuItem("Secondframe");
      private MenuItem itm3   = new MenuItem("Thirdframe");
      private MenuItem itmExit = new MenuItem("Exit");
        public FileMenu(MainWindow main)
        super("Select");
        this.mw = main;
        this.itm1.addActionListener(this);
        this.itm2.addActionListener(this);
        this.itm3.addActionListener(this);
        this.itmExit.addActionListener(this);
        this.add(this.itm1);
        this.add(this.itm2);
        this.add(this.itm3);
        this.add(this.itmExit);
      public void actionPerformed(ActionEvent e)
        if (e.getSource() == this.itm1)
         final Frame f1 = new Frame("first frame opened");
         f1.setSize(500,500);
         f1.setLayout(null);
         Label l1 = new Label("Enter first value below");
         l1.setBounds(220, 250, 240, 24);
         f1.add(l1);
         TextField t1 = new TextField("0");
         t1.setBounds(260, 300, 40, 24);
         f1.add(t1);
          f1.addWindowListener(new WindowAdapter() {
            public void windowClosing(WindowEvent e)
              //System.exit(0);
               f1.dispose();
         f1.show();
       else
       if (e.getSource() == this.itm2)
         final Frame f2 = new Frame("second frame opened");
         f2.setSize(500,500);
         f2.setLayout(null);
         Label l1 = new Label("Enter first value below");
         l1.setBounds(220, 250, 240, 24);
         f2.add(l1);
         TextField t1 = new TextField("0");
         t1.setBounds(260, 300, 40, 24);
         f2.add(t1);
          f2.addWindowListener(new WindowAdapter() {
            public void windowClosing(WindowEvent e)
              //System.exit(0);
               f2.dispose();
         f2.show();
       else
       if (e.getSource() == this.itm3)
         final Frame f3 = new Frame("third frame opened");
         f3.setSize(500,500);
         f3.setLayout(null);
         JButton b1  = new JButton("Totalvalue");
         b1.setBounds(220, 300, 180, 24);
         f3.add(b1); 
         TextField t2 = new TextField("0");
         t2.setBounds(410, 300, 40, 24);
         f3.add(t2);
         f3.addWindowListener(new WindowAdapter() {
            public void windowClosing(WindowEvent e)
              //System.exit(0);
               f3.dispose();
         f3.show();
       else
       { mw.exit();}

    hi ,
    I have extended my application ...i have some doubts can you please clear my doubts..
    Now i have two textfields t1 and t2 in both the frames frame 1 and frame 2 and i have 2 buttons Button1 and Button2, textfields t5 and t6 in frame3.
    Now my question is i enter some values in t1 and t2 in frame1, and t1 and t2 in frame2 and minimise or close them...when i open frame3 and press Button1 it should take values from t1 in both frame1 and frame2 , add them and display the result in t5( in frame3)... similarly when i press Button2 it should take values from t2 in both frame1 and frame2, add them and display the result in t6(in frame3).
    Can you please tell me how can i do this?
    Thanks in advance.
    I am posting the code...
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.awt.Component;
    // Make a main window with a top-level menu: File
    public class MainWindow extends Frame {
        public MainWindow() {
            super("Test Window");
            setSize(500, 500);
            // make a top level File menu
            FileMenu fileMenu = new FileMenu(this);
            // make a menu bar for this frame
            // and add top level menus File and Menu
            MenuBar mb = new MenuBar();
            mb.add(fileMenu);
            setMenuBar(mb);
            addWindowListener(new WindowAdapter() {
                public void windowClosing(WindowEvent e) {
                    exit();
        public void exit() {
            setVisible(false); // hide the Frame
            dispose(); // tell windowing system to free resources
            System.exit(0); // exit
        public static void main(String args[]) {
            w = new MainWindow();
            w.setVisible(true);
        private static MainWindow w ;
        protected TextField t1, t2,t5,t6;
        // Encapsulate the look and behavior of the File menu
        class FileMenu extends Menu implements ActionListener {
            private MainWindow mw; // who owns us?
            private MenuItem itmPE   = new MenuItem("ProductEvaluation");
            private MenuItem itmPRE   = new MenuItem("ProcessEvaluation");
            private MenuItem itmTE   = new MenuItem("TotalEvaluation");
            private MenuItem itmExit = new MenuItem("Exit");
            public FileMenu(MainWindow main) {
                super("File");
                this.mw = main;
                this.itmPE.addActionListener(this);
                this.itmPRE.addActionListener(this);
                this.itmTE.addActionListener(this);
                this.itmExit.addActionListener(this);
                this.add(this.itmPE);
                this.add(this.itmPRE);
                this.add(this.itmTE);
                this.add(this.itmExit);
            // respond to the Exit menu choice
            public void actionPerformed(ActionEvent e) {
                if (e.getSource() == this.itmPE) {
                   final Frame frame1 = new Frame("Frame1");
                    frame1.setSize(700,700);
                    frame1.setLayout(null);
                    t1 = new TextField("");
                    t1.setBounds(230, 230, 50, 24);
                    frame1.add(t1);
                    t2 = new TextField("");
                    t2.setBounds(330, 230, 50, 24);
                    frame1.add(t2);
                    frame1.addWindowListener(new WindowAdapter() {
                        public void windowClosing(WindowEvent e) {
                            frame1.dispose();
                    frame1.setVisible(true);
                else
                if (e.getSource() == this.itmPRE) {
                  final  Frame frame2 = new Frame("Frame2");
                    frame2.setSize(700,700);
                    frame2.setLayout(null);
                    t1 = new TextField("");
                    t1.setBounds(230, 230, 50, 24);
                    frame2.add(t1);
                    t2 = new TextField("");
                    t2.setBounds(330, 230, 50, 24);
                    frame2.add(t2);
                    frame2.addWindowListener(new WindowAdapter() {
                        public void windowClosing(WindowEvent e) {
                            frame2.dispose();
                    frame2.setVisible(true);
                else
                if (e.getSource() == this.itmTE) {
                  final  Frame frame3 = new Frame("Frame4");
                    frame3.setSize(700,700);
                    frame3.setLayout(null);
                    t5 = new TextField("");
                    t5.setBounds(170, 230, 50, 24);
                    frame3.add(t5);
                    t6 = new TextField("");
                    t6.setBounds(270, 230, 50, 24);
                    frame3.add(t6);
                    ActionListener action = new MyActionListener(frame3,t5,t6);
                    Button b1  = new Button("Button1");
                    b1.setBounds(170, 400, 120, 24);
                    b1.addActionListener(action);
                    frame3.add(b1);
                    Button b2  = new Button("Button2");
                    b2.setBounds(300, 400, 120, 24);
                    b2.addActionListener(action);
                    frame3.add(b2);
                    frame3.addWindowListener(new WindowAdapter() {
                        public void windowClosing(WindowEvent e) {
                            frame3.dispose();
                    frame3.setVisible(true);
                else {
                    mw.exit();
          class MyActionListener implements ActionListener {
                private Frame frame3;
                private TextField t5;
                private TextField t6;
                public MyActionListener(Frame frame3,TextField tf5,TextField tf6)
                    this.frame3 = frame3;
                    this.t5 = tf5;
                    this.t6 = tf6;
                public void actionPerformed(ActionEvent e) {
                    String s = e.getActionCommand();
                    if (s.equals("Button1")) {
             // I think code for the Button1 action can be written here  
          else if (s.equals("Button2")) {
             // I think code for the Button2 action can be written here  
           

  • 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

  • Records alternate between non drop frame and drop frame...

    I am seeing a pattern with Premiere records, that alternate the records from being non drop frame to drop frame.  So one day we recorded 7 segments.  The records ended up coming out like this (without any changes being made between records):
    Segment 1 - non drop frame
    Segment 2 - drop frame
    Segment 3 - non drop frame
    Segment 4 - drop frame
    Segment 5 - non drop frame
    Segment 6 - drop frame
    Segment 7 - non drop frame
    Is this from a hidden setting we can't find, or is this a known bug?

    Hi Angela,
    I'm following up with you from your Tweets on Twitter. As I mentioned there, we have seen similar issues in Premiere Pro CC (7.0.1) but they were fixed. It is possible that they could be rearing up again, so I would encourage you to file a bug report: http://adobe.ly/ReportBug
    Further, I would contact AJA support. They have released new drivers very recently, which may assist your issue.
    You are also free to contact Adobe support. When you are connecting via phone or chat, ask for the video queue: Contact Customer Care
    Thanks,
    Kevin

Maybe you are looking for

  • How do I log into my iCloud account on my iPad

    Everytime I time to log into my iCloud on my iPad (within Safari) it delivers a screen asking me to setup iCloud again, it also invites me to download "find my iPhone" and "find my friends" apps which I already have on the iPad. My iCloud a/c is acti

  • Missing port information

    Hi all, i am running a simple web service in JWSDP1.3 with tomcat server.When i am running the client application i am getting the output without any problem.Then i modified my server program with some oracle database connection.When i tried the same

  • Exporting Movie Settings - HELP!

    Hello I'm creating various movies on iMovie '08 and intend to burn them to DVD using iDVD. Once they are ready to be exported...what options are best to choose (bearing in mind I want to burn these to DVD). Is it best to choose 'Export Movie', or 'Ex

  • Report prompting Report Parameters on clicking Viewer Refresh button

    Hi, We are using Crystal Reports XI release 2 for launching the reports.  Dot net Web forms are used for launching the reports. We are using SQL server stored procedure for getting the report data.  Report Parameter values are assigned programmatical

  • Suggestions to add a 10gr2 RAC to a 9iR2 RAC configuration.

    Hello, I want to add a new 10gR2 instance (with clusterware and ASM) to a working production RAC 92 installation (2 nodes on RedHat 3). The old RAC is configured with raw devices. For the ASM we plan to use a new configured LUN. Can you point me to a