Please Help! PrE 4 "failed to return a video frame" on my project!

Big project, I finally pulled everything all together and on the render to H.264, I get "Adobe Premiere Elements (4) failed to return a video frame."
I really had hoped to get this in today (it's a video pitch for my dream opportunity).   Any help you guys/gals can lend would be greatly appreciated!

Bill, thank you!  Your article did help, and I was able to get the video to completely render.  I essentially used a "Title" track, stripped down of its text/shapes to fill in all the gaps. Seems to have done the trick on that issue.
Unfortunately, I must have done something wrong, because the audio and the video are now terribly out of sync.  The odd thing is, it seems to be matched  sometimes, but then the video of me talking appears to speed up or slow down - the audio does not sound distorted but the video appears to be changing speeds.  It's kind of throwing off my "Oh maybe I added too long of a gap Title frame and skewed the audio" theory.
I was dreading this moment.  The moment when all is done and I can't export cleanly!  Perhaps I should pose the audio sync problem as a separate question, because this is a fairly detailed project (lots of images/video popping up) and I fear that I'm having some sort of conversion or codec issue now  
Any ideas?  Thanks a million Bill, and everybody else!

Similar Messages

  • "Failed to return a video frame: Cancelling the operation"

    I get this error after a few minutes when I try to export an MPEG-2 from Premiere CS3. Hundreds of other people seem to have the same issue, confirms Google, but I have yet to find a solution! Anyone?
    Cheers!

    Herbie747,
    After working through the tips provided by John, look at your Timeline very closely for gaps. When there is a "Failed to return... " error, it is most often associated with gaps (even one frame gaps) in the video. I zoom in to the "frame level" and step through the entire Timeline. If you use the PageUp/PageDown keys, you should see a smooth flow from Clip to Clip. If you get "pause," a "skip" or a "hesitation," you have probably found your gap.
    Good luck,
    Hunt

  • Adobe Premiere Elements failed to return a video frame. Cancelling the operation. (For 3.0)

    This is the message that comes up everytime I try to export my 6 minute 10 seconds film. I have used 2 of the 'Video Effects' and the film is mainly made up of AVI files.Will someone please tell me why this is happening and how I can fix it. Thank you very much

    This error often shows up when there is a gap in the Video Timeline.
    What I would do is zoom in on the Timeline to about the maximum. Hit Home to get the CTI to the 00;00;00;00 point. Now, hit PageDn to step you through your Clips. With the zoom at the max, you should be at the frame-level, so even a 1-frame gap should be visible. However, sometimes even max zoom will not clearly show them. What you need to do is watch the CTI, as it progresses from Clip to Clip. If it seems to "hiccup," or "stutter," you have probably found your gap. In most cases, you can just Select (Lasso) all Clips following and drag them so that the gap is closed. In some cases, you might just want to change the Out Point of the preceeding Clip to close it, or extend the In Point for the following Clip to close. Don't forget to check the entire Timeline for more.
    One little caveat. If you do find gap, and close it up with the Lasso and drag method, and also have a Soundtrack that extends the total length of your Video, check that there is NOT more Audio, than you now have Video. If you do, you have two choices: click-drag the Audio's Tail to line it up with your Video's Tail (only if you have just a touch of silence in your Soundtrack, or can slightly alter you Fade-out to work as you want. Or, you can go to the Project panel, and choose the New icon, then Black Video. Drag that to butt up to the Tail of your last Clip, and then click-drag its Tail so that you have maybe one frame more Video, than Audio.
    I hope that you'll be able to find a gap, and that it will be the problem. As I said, this is usually the cause for that error message.
    Good luck,
    Hunt

  • Application failed to return a video frame

    This is no problem to me anymore, but if someone have this error appearing ir rendering process, I can share my solutions. I had to spent some week before I finalize my current project in Premiere Pro CS3. I manage to test all solutions, what people provide in different forums about this error message. I cannot say, that something of this is nuts, maybe there are different problems under this one error message.
    1) first they say, that there should not be any gaps between you videos or sequences in timeline – not a single black frame
    2) your audio should not be longer than video on timeline. same – not longer than a single frame
    3) when you render, you should close all sequences ir timeline palette (they will not be deleted, just closed)
    4) and this ir most important – you have to boot your system in 32bit, not 64!  I'm working on MacOSX Snow Leo x64, and did render my movie only after I boot in 32bit. It could be solution for Win users, too. I have no idea about CS4 and CS5, bet my CS3 is not 64bit application.
    Good luck!

    Welcome to the forum, and thank you for posting your observations, and experiences.
    I did this ARTICLE for the most likely cause of "Failure to Return Frame" error.
    You also make an important note of the Duration of the Audio vs the Video. As the Video takes center-stage, having even a few Audio Units extra, means there is a gap in the Video. To keep this from happening, and to also address some other potential issues, I always end  each Timeline with about 02 sec. of Black Video, and always end the Audio within that.
    What I find odd, however, is that I have seen Timelines with many gaps, and they Transcode fine, yet have seen Timelines with one 1-Frame gap, that would yield the "Failure to Return Frame." Why the gaps are not 100% universal in shutting down Transcoding, is still a mystery.
    Appreciated, and good luck,
    Hunt

  • Adobe Premiere Saving Issue: Returning a Video Frame

         I have Adobe Premiere Elements 4 and have edited a video on it. The video format is AVI, from a camera that didn't seem to have trouble before this. It is a Sony if that is any help. I'm really hoping it isn't CODEC problems.
         Last night I finished my project and tried to save it on my desktop as a Windows Media movie, but an error popped up saying that "Adobe Premiere failed to return a video frame." I tried other saving styles to no avail.
         Thus I began the process of googling and then trying to solve this saving error by changing my edits. I have removed all Video Effects, except for three black and white shots. I have gone through and checked that I have no gaps, about five times. I saw that my audio (in a wma format) wasn't perfectly aligned with my visuals and had gaps, so I added in audio till there was never a silent moment.
         Is that audio format (wma) acceptable?
         I am playing two soundtracks over each other, one is the vocals and one is the music. The music's format is MP3.
         I have several still shots created with the program with titles over it. At one moment I tried to put a menu on the project, but it didn't work out. When I went to try and delete my attempt, I couldn't find the menu to remove it.
         The piece is about five minutes long. I can't think of anything else to tell you.
         I'm running out of things to change. I'm afraid my CODEC is wrong and I may have to start all over (is there a way to apply a fix to a CODEC error on a project?). Having spent all day on this, I'm at a point of desperation. If I can't get it to work, I'm about to start all over in Windows Movie Maker where at least I know I can save it and turn it in tomorrow.
         Thanks

    For the Audio Assets, the best that one can do is to use PCM/WAV, and use any number of audio-editing programs to convert that.
    Still, your error is "Return a Video Frame." That indicates an error in the Video portion of the Timeline.
    Besides gaps, do you have any overly large still images?
    As for any gaps, did you use the method outlined in the linked article? They can be very hard to see, even when zoomed into the max view (Frame View).
    I still did not see the CODEC of the used AVI files. Can you provide that please, as it might make a differenece?
    Good luck,
    Hunt

  • Please help! Itunes fails to open on my macbook pro. I have remove itunes and reinstalled it and it still will not work!, Please help! Itunes fails to open on my macbook pro. I have remove itunes and reinstalled it and it still will not work!

    Please help! Itunes fails to open on my macbook pro. I have removed itunes and reinstalled it and it still will not work!

    Try removing the Genius database.  In the "Finder" go to the /username/Music/iTunes/ folder and delete the "iTunes Library Genius.itdb" file. This may allow the program to launch again. This file will be recreated upon first use of the "Genius" feature.

  • Please help: Why JMF does't play .avi video clip?

    The player doesn't play .avi media file, or plays sound only, but it works fine when palying .mpg files, anything I need to pay attention to when using the following code to generate a player to play video clips?
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import javax.swing.*;
    import javax.media.*;
    public class PlayClip extends JFrame {
    //singliton design pattern
    private static PlayClip instance;
    protected Player player;
    private File file= new File ("goal.avi");
    private PlayClip () {
    instance=null;
    initComponents();
    public static PlayClip getInstance(){
    if (instance==null)
    instance=new PlayClip ();
    return instance;
    private void initComponents() {
    JButton OK = new JButton ("OK");
    OK.addActionListener (
    new ActionListener () {
    public void actionPerformed (ActionEvent e) {
    player.close ();
    instance = null;
    dispose();
    getContentPane ().add (OK, BorderLayout.NORTH);
    setSize (300, 300);
    show ();
    createPlayer ();
    /** Creates new form PlayClip */
    private void createPlayer () {
    if (file == null) {
    return;
    removePreviousPlayer ();
    try {
    //create a new player and add listener
    player = Manager.createPlayer (file.toURL () );
    player.addControllerListener (new EventHandler () );
    player.start (); //start player
    catch (Exception e) {
    JOptionPane.showMessageDialog (this, "Invalid file or location", "Error loading file", JOptionPane.ERROR_MESSAGE );
    System.exit (1);
    private void removePreviousPlayer () {
    if (player == null )
    return;
    player.close ();
    Component visual = player.getVisualComponent ();
    Component control = player.getControlPanelComponent ();
    Container c = getContentPane ();
    if (visual != null)
    c.remove (visual);
    if (control !=null)
    c.remove (control);
    private class EventHandler implements ControllerListener {
    public void controllerUpdate (ControllerEvent e) {
    if (e instanceof RealizeCompleteEvent ) {
    Container c = getContentPane ();
    Component visualComponent = player.getVisualComponent ();
    if (visualComponent != null)
    c.add (visualComponent, BorderLayout.CENTER);
    Component controlsComponent = player.getControlPanelComponent ();
    if (controlsComponent != null)
    c.add (controlsComponent, BorderLayout.SOUTH);
    c.doLayout ();
    }

    JDunlop,
    thanks for your quick reply to my java.sun.com forum posting! i just got back from vacation, so i didn't get a chance to try your method til now. i pulled your email address off the website to update you on my problem playing an avi file in JMStudio (JMF).
    as per your instructions, i downloaded the divx player at www.divx.com and tried to play the avi file. this is the error the divx player gives:
    Divx Player 2.1
    The file contains unknown video data
    The file contains the following type of data:
    Video data: FOURCC code "MP42"
    You may need to install a new video codec on your computer to watch this video
    Some quick questions:
    1. Where could I find the "MP42" codec to play my avi file in JMStudio (JMF)? Does java.sun.com have video codecs?
    2. You mentioned in your posting "If you don't have the one that was used in the encoding, your out of luck." Does this mean that I need to know how the avi file was originally coded and have the original codec to decode (play) it?
    Thanks,
    lac410
    P.S. If you need more Duke Dollars for your help, I'd be happy to award them to you.
    Re: Please help: Why JMF does't play .avi video clip?
    Author: JDunlop Jun 5, 2003 5:00 AM
    sounds to me like you are missing a video codecs. If you don't have the one that was used in the encoding, your out of luck. Download the player from divx.com, it will tell you which codecs the video needs (if it won't play). You can then search the net for that particular codecs.

  • I work on the CompactRIO 9068 that the password is lost for some time. Please help me to reset it, for finish my end of study project. Thank you,

    I work on the CompactRIO 9068 that the password is lost for some time.
    Please  help me to  reset it, for finish my end of study project.
    Thank you,

    but the page of ni support does not work:
    https://sine.ni.com/srm/app/newrequest
    and I have the recovery.cfg file from NI with this steps :
    1.        Copy the recovery.cfg file, found in the zip folder attached at the bottom of the email, to the thumb drive. 
    2.        With the cRIO device powered off, plug in the USB drive to the controller.
    3.        Hold down the reset button while powering on the controller.  Continue holding the reset button until the status light turns on, then release the reset button.
    4.        Wait for the controller to boot.  This should take less than a minute.
    5.        Check that the password has been reset to the default. (you will still be prompted for a password even if the default is blank)
    6.        Reinstall software to the controller. Using the USB reset will leave the system in a state where it is unable to run LVRT
      I have followed the procedure as mentioned 
    Result: the LED "Status" is permanently blinking.
    Would you please provide as with another alternative so that we can fix this issue.

  • Please help with the query (INSERT RETURNING BULK COLLECT INTO)

    I am trying to write a query inside the C# code where I would insert values into a table in bulk using bind variables. But I also I would like to receive a bulk collection of generated sequence number IDs for the REQUEST_ID. I am trying to use RETURNING REQUEST_ID BULK COLLECT INTO :REQUEST_IDs clause where :REQUEST_IDs is another bind variable
    Here is a full query that use in the C# code
    INSERT INTO REQUESTS_TBL(REQUEST_ID, CID, PROVIDER_ID, PROVIDER_NAME, REQUEST_TYPE_ID, REQUEST_METHOD_ID, SERVICE_START_DT, SERVICE_END_DT, SERVICE_LOCATION_CITY, SERVICE_LOCATION_STATE, BENEFICIARY_FIRST_NAME,
    BENEFICIARY_LAST_NAME, BENEFICIARY_DOB, HICNUM, CCN, CLAIM_RECEIPT_DT, ADMISSION_DT, BILL_TYPE,
    LANGUAGE_ID, CONTRACTOR_ID, PRIORITY_ID, UNIVERSE_DT, REQUEST_DT, BENEFICIARY_M_INITIAL,
    ATTENDING_PROVIDER_NUMBER, BILLING_NPI, BENE_ZIP_CODE, DRG, FINAL_ALLOWED_AMT, STUDY_ID, REFERRING_NPI)
    VALUES
    (SQ_CDCDATA.NEXTVAL, :CIDs, :PROVIDER_IDs, :PROVIDER_NAMEs, :REQUEST_TYPE_IDs,
    :REQUEST_METHOD_IDs, :SERVICE_START_DTs, :SERVICE_END_DTs, :SERVICE_LOCATION_CITYs,
    :SERVICE_LOCATION_STATEs, :BENEFICIARY_FIRST_NAMEs, :BENEFICIARY_LAST_NAMEs, :BENEFICIARY_DOBs,
    :HICNUMs, :CCNs, :CLAIM_RECEIPT_DTs, :ADMISSION_DTs, :BILL_TYPEs, :LANGUAGE_IDs,
    :CONTRACTOR_IDs, :PRIORITY_IDs, :UNIVERSE_DTs, :REQUEST_DTs, :BENEFICIARY_M_INITIALs,
    :ATTENDING_PROVIDER_NUMBERs, :BILLING_NPIs, :BENE_ZIP_CODEs, :DRGs, :FINAL_ALLOWED_AMTs,
    :STUDY_IDs, :REFERRING_NPIs) RETURNING REQUEST_ID BULK COLLECT INTO :REQUEST_IDs
    However, when I run this query, it gives me a strange error ORA-00925: missing INTO keyword. I am not sure what that error means since I am not missing any INTOs
    Please help me resolve this error or I would appreciate a different solution
    Thank you

    You cannot use (and do not want to in this case) the BULK COLLECT.
    create table for_testing
       the_id      number not null primary key,
       some_data   number
    declare
       l_return_value for_testing.the_id%type;
    begin
      4 
       insert into for_testing
          the_id,
          some_data
       values
          1,
          5
       returning the_id into l_return_value;
       dbms_output.put_line('the return values is ' || l_return_value);
    end;
    20  /
    the return values is 1
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.02
    TUBBY_TUBBZ?Is a simple example. In the future, please use the tags to preserve formatting on your code like i have so it remains readable .                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Please help with SSL POST: Servlet returns Error 500

    I am struggling for many days to get a Java program to log in to an SSL page. The program is supposed to track ADSL usage statistics from https://secure.telkomsa.net/titracker/, but I never seem to get around Server returned Error 500.
    Could anyone please help me understand what I am doing wrong by looking at the method I used. (It seems on the server side it is a jsp servlet that handles authentication).
    Any help is deeply appreciated!
    I copy-paste the method directly from NetBeans:
    CODE>
    void connectHTTPS(String url){
    try {
    URL page = new URL(url); // login page necessary to get a jsp session cookie
    //------------ SET UP SSL - is it right?
    System.setProperty("java.protocol.handler.pkgs",
    "com.sun.net.ssl.internal.www.protocol");
    try {
    //if we have the JSSE provider available,
    //and it has not already been
    //set, add it as a new provide to the Security class.
    final Class clsFactory = Class.forName("com.sun.net.ssl.internal.ssl.Provider");
    if( (null != clsFactory) && (null == Security.getProvider("SunJSSE")) )
    Security.addProvider((Provider)clsFactory.newInstance());
    } catch( ClassNotFoundException cfe ) {
    throw new Exception("Unable to load the JSSE SSL stream handler." +
    "Check classpath." + cfe.toString());
    URLConnection urlc = page.openConnection();
    urlc.setDoInput(true);
    *Get the session id cookie set by the TelkomInternet java server
    String cookie = urlc.getHeaderField("Set-Cookie");
    //textpane.setText(totextpane);
    textpane.setText(cookie);
    //---------------- form an auth request and post it with the cookie
    String postdata =URLEncoder.encode("ID_Field","UTF-8")+"="+URLEncoder.encode("myusrname","UTF-8")+"&"+URLEncoder.encode("PW_Field","UTF-8")+"="+URLEncoder.encode("mypwd","UTF-8")+"&"+URLEncoder.encode("confirm","UTF-8")+"="+URLEncoder.encode("false","UTF-8");
    // set the servlet that handles authentication as target
    URL page2 = new URL("https://secure.telkomsa.net/titracker/servlet/LoginServlet");
    // cast to httpConn to enable setRequestMethod()
    HttpURLConnection urlc2 = (HttpURLConnection)page2.openConnection();
    // formulate request with POST data urlc2.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
    urlc2.setRequestMethod("POST"); // experimental
    urlc2.setRequestProperty("Content-Length",""+postdata.length());
    urlc2.setRequestProperty("User-Agent","Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)");
    urlc2.setRequestProperty("Accept-Language","en-us");
    urlc2.setUseCaches(false);
    urlc2.setDoOutput(true);
    urlc2.setDoInput(true);
    urlc2.setFollowRedirects(true); // ??
    //send cookies
    urlc2.setRequestProperty("Set-Cookie", cookie); // or "Cookie" - doesn't work either
    //write other data
    PrintWriter out = new PrintWriter(urlc2.getOutputStream());
    out.print(postdata); // username and password here
    out.flush();
    out.close();
    //---------------- get the authenticated page with real ADSL statistics
    BufferedReader br = new BufferedReader(new InputStreamReader(urlc2.getInputStream()));
    String totextpane = "";
    String buffer = "";
    while (buffer != null) {
    try {
    totextpane = totextpane + "\n" + buffer;
    buffer = br.readLine();
    } catch (IOException ioe) {
    ioe.printStackTrace();
    break;
    textpane.setText(totextpane);
    } catch (Exception ex) {
    System.err.println(ex.getMessage());
    ---- END CODE---
    Thank you very much for any attempt at helping with this problem!

    I am struggling for many days to get a Java program to log in to an SSL page. The program is supposed to track ADSL usage statistics from https://secure.telkomsa.net/titracker/, but I never seem to get around Server returned Error 500.
    Could anyone please help me understand what I am doing wrong by looking at the method I used. (It seems on the server side it is a jsp servlet that handles authentication).
    Any help is deeply appreciated!
    I copy-paste the method directly from NetBeans:
    CODE>
    void connectHTTPS(String url){
    try {
    URL page = new URL(url); // login page necessary to get a jsp session cookie
    //------------ SET UP SSL - is it right?
    System.setProperty("java.protocol.handler.pkgs",
    "com.sun.net.ssl.internal.www.protocol");
    try {
    //if we have the JSSE provider available,
    //and it has not already been
    //set, add it as a new provide to the Security class.
    final Class clsFactory = Class.forName("com.sun.net.ssl.internal.ssl.Provider");
    if( (null != clsFactory) && (null == Security.getProvider("SunJSSE")) )
    Security.addProvider((Provider)clsFactory.newInstance());
    } catch( ClassNotFoundException cfe ) {
    throw new Exception("Unable to load the JSSE SSL stream handler." +
    "Check classpath." + cfe.toString());
    URLConnection urlc = page.openConnection();
    urlc.setDoInput(true);
    *Get the session id cookie set by the TelkomInternet java server
    String cookie = urlc.getHeaderField("Set-Cookie");
    //textpane.setText(totextpane);
    textpane.setText(cookie);
    //---------------- form an auth request and post it with the cookie
    String postdata =URLEncoder.encode("ID_Field","UTF-8")+"="+URLEncoder.encode("myusrname","UTF-8")+"&"+URLEncoder.encode("PW_Field","UTF-8")+"="+URLEncoder.encode("mypwd","UTF-8")+"&"+URLEncoder.encode("confirm","UTF-8")+"="+URLEncoder.encode("false","UTF-8");
    // set the servlet that handles authentication as target
    URL page2 = new URL("https://secure.telkomsa.net/titracker/servlet/LoginServlet");
    // cast to httpConn to enable setRequestMethod()
    HttpURLConnection urlc2 = (HttpURLConnection)page2.openConnection();
    // formulate request with POST data urlc2.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
    urlc2.setRequestMethod("POST"); // experimental
    urlc2.setRequestProperty("Content-Length",""+postdata.length());
    urlc2.setRequestProperty("User-Agent","Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)");
    urlc2.setRequestProperty("Accept-Language","en-us");
    urlc2.setUseCaches(false);
    urlc2.setDoOutput(true);
    urlc2.setDoInput(true);
    urlc2.setFollowRedirects(true); // ??
    //send cookies
    urlc2.setRequestProperty("Set-Cookie", cookie); // or "Cookie" - doesn't work either
    //write other data
    PrintWriter out = new PrintWriter(urlc2.getOutputStream());
    out.print(postdata); // username and password here
    out.flush();
    out.close();
    //---------------- get the authenticated page with real ADSL statistics
    BufferedReader br = new BufferedReader(new InputStreamReader(urlc2.getInputStream()));
    String totextpane = "";
    String buffer = "";
    while (buffer != null) {
    try {
    totextpane = totextpane + "\n" + buffer;
    buffer = br.readLine();
    } catch (IOException ioe) {
    ioe.printStackTrace();
    break;
    textpane.setText(totextpane);
    } catch (Exception ex) {
    System.err.println(ex.getMessage());
    ---- END CODE---
    Thank you very much for any attempt at helping with this problem!

  • Please help Aironet encapsulation failed problem...

    Greetings All
    I have a bought a Aironet 1230 AP.. It has a default configuration ,I try to connect a  ethernet cable to the AP and computer and establish a web session to configure the AP graphically..I try to ping the PC which has the ip of 192.168.1.100 (I have already configured the fa0 port with 192.168.1.1)
    When I ping with a debug on it shows encapsulation failed....I have been trying to work on this for two days still I havent yet got a solution for it ...Please HELP....
    Thanks in Advance

    The BVI interface has a default gateway of 10.0.0.1 ..Even when I configure my computer with subnet of 10.0.0.0 . Still i get the encapsulation failed ...

  • PLEASE HELP: Mouse Pairing Failed and I cannot use the computer!

    Hi,
    PLEASE HELP!
    The batteries in my Blue Tooth, wireless Mighty Mouse died. I changed the batteries and since then cannot get the mouse to work with my computer. I went through the process of attempting to connect the mouse (this came up after I restarted the computer) and the pairing has failed a dozen times or more even though the computer recognizes the mouse. I have very limited control over the computer because I do not have a backup mouse. I have been at this for 3 hours and cannot solve this problem.

    Try to connect in recovery mode, explained here:
    iOS: Unable to update or restore

  • Please Help regard function that will return values of each JComboBox items

    I'd like to create a function that will return values of each item on the JComboBox at a time when
    I click on each item of a comboBox. I had this following codes, but didn't work.
    Please help me !!!Please correct it... thanks a million
    String wp;
    String text;
    String A[] = {"WARNIGNS","CAUTIONS","NOTES"};
    JComboBox ABC = new JComboBox();
    for (int i=0;i<A.length;i++) {
    ABC.addItem (A);
    text = Get_It(); //assigns each value of JComboBox's item to variable text when clicks at each item
    //of a comboBOx
    private String Get_It(){
    ABC.addActionListener(new ActionListener (){
    public void actionPerformed(ActionEvent e){
    wp = (String)CBweapon.getSelectedItem() ;
    return wp;

    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    public class AlertFrame extends JFrame {
    String s_alert[] ={"WARNIGNS","CAUTIONS","NOTES"};
    JComboBox CBweapon;
    String wpText;
    public AlertFrame() {
    super("Alerts");
    Container contentPane = getContentPane();
    contentPane.setLayout(null);
    setSize(600,600);
    CBweapon = new JComboBox();
    for (int i=0;i<s_weapon.length;i++) {
    CBweapon.addItem (s_weapon);
    contentPane.add(CBweapon);
    CBweapon.setActionCommand("");
    //set position for components
    CBweapon.setBounds(370 + insets.left,295+ insets.top, 150,30);
    System.out.println(getit()); //calling getit() function
    //this function will be return a String of JcomboBOx value if click on each item of combobox
    private String getit(){
    CBweapon.addActionListener( new ActionListener (){
    public void actionPerformed(ActionEvent e){
    wpText = (String)CBweapon.getSelectedItem() ;
    return wpText;
    public static void main(String args[]) {
    AlertFrame af = new AlertFrame();
    af.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    System.exit(0);
    **I have no errors on compile or run, but it didn't return a string value to System.out.println(getit());
    It maybe because of the "void" of public void actionPerformed(ActionEvent e){
    wpText = (String)CBweapon.getSelectedItem() ;
    Please help me

  • Please help me because don't feel nothing (video or music) in my Ipad

    In My IPad don't work audio and don't feel nothing, music or video or game, but I control general set tinga and I found all ok.
    Before to bring at the assistance center I'd like to know if There are something else to control in the IPad.
    I already control side buttons and show me the icon with the Image and all little square are full.
    Please help me

    Have you ever tried a reset? Hold down home and sleep/wake buttons together until you see the apple, then let go.

  • PLEASE HELP! How can I recover deleted videos frommy camera roll?

    Hello. I was making a video in iMovie and when it came down to exporting in 720p, it said I did not have enough room. So, I accidentally deleted a few videos from my camera roll. These were the video clips that I used in my iMovie so when I try playing the movie, the videos I deleted won't show up. How can I recover these deleted videos??? Please help! This is a video for someones birthday that is coming up soon. Any help is much appreciated. Thanks!

    Are you talking about iMovie on the iPhone, or iMovie '11? If you used iMovie '11 you had to get your media onto the computer. If you're talking about iMovie on the iPhone I think you want to be on http://discussions.apple.com/forum.jspa?forumID=1140
    I don't know if DriveSavers can work with an iPhone. It involves opening the hard drive in a clean room, and I don't think you can do that with an iPhone drive.

Maybe you are looking for

  • NFe com SEFAZ-AM: Código de retorno 200. O que seria isto?

    Pessoal, Estávamos realizando um teste com um cenário de devolução de compra de material de uso e consumo com a nossa filial do Amazonas e obtivemos o retorno no XML com o código de retorno 200. Alguém já viveu esta experiência antes? Se sim, o que s

  • Error while  Asset settlement

    as i have transferred last year internal order balance to the new internal order in this year. and when i was running th Ko88 for AUC to main asset settlemnt it gave me below error. <b>Error during acquisition transfer: Depr. area does not exist Mess

  • MacPro ATI Radeon HD 4870

    Have 12 Mac Pros w/ ATI Radeon HD 4870 each displaying DVI-D out to Samsung P2570HD. 7 of them are working fine but the other five are displaying the start up screen then turning black / monitor reads 'No Display'. Any related issues with MacPros/ AT

  • Distinct Count Function-how to use properly

    Hello, I am new to using forums & have only been using Crystal since May of 2009, so i hope i do this correctly & provide the appropriate information.  i've looked for this answer in what's been posted but cannot find it.  Some things i've read I don

  • Flash Builder 4.5 for PHP doesn't update changes

    Hi, I'm guessing this is a very noob issue so I appologise about that. As I said, i'm very new to flex and started using it very recently. This morning I woke up started to make changes in my application. saved them and run them in the browser BUT to