Frame Size Problem Still

O.K. my clip size is 586 x 440 and still when I insert it in the timeline is shrinks down with a black border around it and I have to resize and render every clip. I am capturing video off of my Magalia TV tuner card in MPEG4 format. Then I bring the clips into FCE HD 3.0. I checked the clip propertis in the timeline before I rendered them and it is the same size. What am I missing here. Thanks

Isn't this in another thread already?
The correct frame size for DV video is 720x480. Your video is smaller and doesn't fill the frame.

Similar Messages

  • New Quick Time frame size problem when viewing

    Just upgraded to FCPv7 and am having weird issues with playing back video in the new QT player.
    I have exported several different formats of the same 30s video(ProRes422, H264 etc) . When played back, the window /frame size of the QT window is way out. The file info shows the correct info, as a 320 x 180 frame size, but QT keeps displaying it as larger than this, with poor quality (like it has been enlarged). If i export exactly the same file as a 480 x 270, it plays perfectly. I know it must be wrong as the dimensions of the QT windows are the same for both!
    I have further checked this by playing both videos in my macbook (prev version of QT), and both play at the correct size.
    How can I get the new version of QT to play the 320 x 180 at "actual size"? as the option is greyed out if I click properties?
    Thanks
    Message was edited by: mr bluefin

    after an hours search on this forum. i found some ppl have the similar issue. it looks like my problem is one of those Layout problem
    see before my code looks like this
                Component comp;
                if ( ( comp = player.getVisualComponent() ) != null ) {
                    comp.setBackground( Color.BLACK );
                    add( BorderLayout.CENTER, comp );             
                }now i am doing this:
                Component comp;
                if ( ( comp = player.getVisualComponent() ) != null ) {
                    comp.setBackground( Color.BLACK );
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();// get screen size
              comp.setSize(screenSize.width, screenSize.height); // set size to video component at the start
                    add( BorderLayout.CENTER, comp );              
                }i am not sure if this will fix my problem, i am keep running the test.
    Thanks

  • MiniDV: frame size problem?!!

    Hi guys
    The case:
    When I capture from MiniDV the captured footages come in 720 x 576 frame size, while the sequence I am using is 1440 x 1080 and sometimes full HD 1920 x 1080. My final video is the same size of my sequence. What I do right now to overcome the frame size differences problem is to scale my footage to frame size of the sequence, but that results in low quality of my final production.
    The questions:
    Q1: Is it possible to directly capture footages from MiniDV at frame size of 1440 x 1080 or 1920 x 1080?
    Q2: Is it possible to change the frame size of 720 x 576 to 1440 x 1080 or 1920 x 1080 without having to scarify quality?
    Q3: if none of the above is possible then what should I do to solve this problem?

    not very good quality at that because the compression system used (the "codec") is not very efficient and therefore the quality of video you get saved to the tape isn't good.
    That's quite debatable.  The quality of DV compression is equal or even superior to standard definition Betacam SP, which was a broadcast industry standard.
    Newer camcorders ( A few years ago ) dropped the miniDV compression mechanism and changed to miniHDV (which is actually MPEG4 part 10 aka AVCHD aka H.264) and record on the same "miniDV" tape at the same bitrate but because the compression is better it's possible to record HD on that older miniDV tape technology.
    More than a few errors there.  For starters, the HD format is called HDV, nothing "mini" in the name.  Such cameras do use MiniDV tapes, but the format itself is called simply HDV.  Further, HDV is an MPEG 2 compression scheme, not MPEG4.  Further, the compression is very, very lossy, thus resulting in a image actually worse than DV in some ways, with many artifacts and a lesser color space.  It's because so much more of the data is simply thrown out that you can fit the HD signal into the same SD data rate.  And finally, AVCHD is the name of the MPEG4 standard, but there are no cameras that record AVCHD to tape.  They all use internal hard drives or some type of flash card like SDHC.
    Finally, you can use something like InstantHD to uprez normal DV footage into HD.  I can't speak for the results, bot ideally it would be better to be shooting in HD form the start.

  • Premiere 7.0 frame size problem!

    Hello all who might be able to help.
    Am in a jam with Adobe Premiere Pro (7.0)
    I'm trying to change my frame size, usually this should be straight forward. But if you look at this picture I've taken
    http://i120.photobucket.com/albums/o174/littlesirecco/001%20Non%20Bordelle%20de%20Dieu/grr rr.jpg
    You'll see that the frame size box is un-editable. Driving me nuts, any clues gratefully received!
    Thanks for your time.

    You cannot change the framesize.
    You will have to make a new project.

  • How to resize stills to match video frame size

    how to resize psd stills to mach prevailing video frame size -1280x720 ?

    Photo Scaling for Video http://forums.adobe.com/thread/450798

  • How to apply "scale to frame size" to a bunch of stills in CS4 and most likely all PP pro.

    Hello, I was looking for an answer to this procedure after trying to use the "paste attribute" function; that is ticking this option on one picture, and pasting (as attribute) it to the rest of the stills. As this did not work I finally found a Youtube video showing how simple (and embarrassing) it was. -  Just highlight all your stills on the timeline and right click anywhere on the selected area. Then click on the "scale to frame size" to put a tick against it. NB In my case though a few things happened when I tried, and one I remember was that my selection had already a still with the tick against the "resize..." (as I tried and erred various other ways) so it would not work, I guess because the program already could see the tick although it's only on one still. Most likely if I hadn't learned the "paste attribute" method I would have chosen this but here you are as an erratic user I opted for the less obvious possible method!  I hope this entry will help people who want a quick answer  to this situation. I'm a little surprised though as I thought I read somewhere that PP as "scale to frame size" as a default!

    Yes that's right Bill, I think that's what the video did show and that I tried to share in "my discussion" But Ann explained to me how to turn it on as a default from Preference which is a smarter way to go about it, providing it's done before importing the pictures in the project window. Else, yes that the way to do it!
    Actually it would be nice to be able to choose the size of the frame so to fit it directly into the safe area which ever is chosen, it would cut a couple of steps when animating the still, avoiding scaling into the safe area (I'm a dreamer!)

  • Can PE4's "Scale to Frame Size" scaling of stills be adjusted?

    I have authored a movie with over 50 stills at the end. Some of those stills have a caption that I added by enlarging the canvas with white background in Photoshop Elements and typing in people's names. Some of the captions have 1 line, some 2 lines, and some 3 lines. All the stills are about the same size, but no matter how many lines a caption has, the bottom half of the last line is cut off from view. I tried extending the bottom of the caption area, but that made the photo smaller and the white blank area just didn't look right. Next I tried cropping off the caption area and typing the caption on the bottom part of the photo itself--but the last line still gets cut off.
    If I uncheck "Scale to Frame Size", the photo is huge. How can I overide PE4's default scaling so that the photos with bottom captions are small enough for the captions to fit within the Safe Title Margin instead of being cut off? The stills are digital photos 3264 pixels wide with heights varying for 2448 to 2992 pixels. My preset is widescreen 16:9.
    Thanks for your help.

    Sorry I couldn't respond sooner, the site kept saying try again later--then
    after reading over your helpful article several times, I kept digging and
    experimenting and was able to produce exactly what I wanted! So, at least
    you didn't have to read the earlier reply I had composed with several more
    questions.
    Since I shot the video clips in widescreen mode, I batch re-sized all the
    non-captioned photos to 720 X 480. That sure shortened the loading time of
    Premiere! For the ones with captions, I decided the extra text at the bottom
    of the photos would make the photos smaller on screen than I wanted. I used
    PSE to type text on the photo itself, saved the layers, then re-sized it by
    resampling to 432 (480 height X 90%). I found out how to change the ruler in
    Premiere Elements from inches to pixels. I adjusted the text layer so that
    the bottom line would not below the Safe Title Margin of 384 (480 X
    80%)--but when put on the timeline, there was still plenty of room before
    the text was cut off, so I re-positioned the text to about 395. Of course I
    had to select all the stills on the timeline and uncheck the option to scale
    to frame size. Now that I understand how scaling works, I can get any size
    photo to fit just right!
    I had struggled with how to get captions to display for a couple of years,
    so I appreciate so much your pointing me in the right direction with your
    response and helpful article!

  • Sequence frame size/black border

    I created several sequences in Final Cut Pro 4, which all seem to have the same settings, but some of them have a black border around the picture and a smaller picture size. When I export a Quick Time Movie of the sequence, the boarder still exists in iDVD.
    How do I make the picture fill the entire frame?
    My footage was filmed on Mini DV.
    My clip and sequence settings are: 29.97 fps (video rate), 720x480 (frame size), DV/DVC Pro (compressor), NTSC - CCIR 601 (pixel aspect) 48.00 KHz (audio rate)
    Mac Mini   Mac OS X (10.4.6)  

    Hey Cala
    As you say, when you set your sequence as JPEG accidently, and keeping the aspect ratio and everything as you say, it shouldn't have to reduce your frame size of your media.
    Have you tried to make a new sequence with the preset settings for DV and put the referred clip on it? It should present it normally, filling all the frame.
    Checking on your screenshot, it seems to present it as if it were capture it like Photo-JPEG Offline edit. It is the same way appears the clips when are captured with that setting on a DV preset sequence.
    I don't know how much problem would be to recapturing that clip again, before put your sequence settings on the preset for DV, as the same for the Capture preset. Then, it must work all fine.
    About the configuration between Panther 3.9, QT 6.5 and FCP 4.5, in my case never have appeared some situation like this one. Even on Tiger-QT7-FCP 5.
    This is so odd. I can only think on recapturing checking all the presets pointing in DV/DVCPRO NTSC. Hope it works! (It ought to be)
    Best regards!

  • Frame size discrepancies in project settings?

    Hi Guys
    I have some new information and some observations on my problems with getting full screen output.
    I looked through all the project settings and I noticed that the ones I was trying to use…
    HD 1080i (60i) and HDV 1080i 30 say that the output is at a16 to 9 ratio and have a frame size of 1440 by 1080i.
    This is the frame size or ratio, I kept trying to import.
    I finally realized that this isn't a frame size that is proportional to the image ratio that it lists.
    16 by 9 would really be proportional to 1440 by 810.
    The 1440 by 1080 video that I import using either of these,does not export full screen even if it’s exported the same size it comes in, i.e.1440 in and 1440 out.
    So I looked through the project setting for a selection where the stated ratio and the frame size matched.
    I found HDV 720p 30.
    16 by 9 at a 1280 by 720 frame size.
    This would be an easy size for my to work in.
    So I made a video at that size then loaded it into PE8 and it exported fine.
    Full screen no border.  In fact it comes out full screen no matter what size I export it.
    When I exported the same video at 1600 by 900 it exported full screen and looked fine.
    Then I went back and loaded the same 1280 by 720 video inthe HDV 1080i 30 settings.
    It also came out full screen with no border.
    So the problem is that as far as I can see the selection screen is wrong about the frame size for both the HD 1080i and the HDV 1080isettings.
    You really have to load in something at 1600 by 900 or proportional to that.
    And as far a I can find there is no setting that supports any thing other the wide screen except for the Standard 48kHz settings.
    It looks like unless you want to go to a wide screen format 720 by 480 is the only option.
    Now I’ll have to decide whether I want to do future projects wide screen or live with the restrictions on frame size.
    I hate to change horses in the middle of the stream so I may just stick with the smaller size for the Lucy videos but other projects I will do wide screen.
    Thanks again for all the help.
    Mike

    This question is from some other forum member. Don't know why they're linked to my e-mail address.
    Fran (luvsfotos)
    > Date: Tue, 7 Jun 2011 22:22:36 -0600
    From: [email protected]
    To: [email protected]
    Subject: Re: Frame size discrepancies in project settings?
    Hi Guys
    Ok, I think I get it at last.
    So when I create a 1440 by 1080 file, to use in the 1080i format, it should change the PAR from 1 to 1.333 when I create it, but since I can't control that I get an image that is too small, even though the pixel size is the same.  The aspect ration should still end up 16 by 9.
    So since Poser creates everything with a PAR of 1, my only option if I want a wide screen video is to actually pick a 16 by 9 ratio when I output it and ignore the listed frame size. 
    I still don't quite get why the image is both shorter and narrower, it seems like it should only be narrower but I'll live with it.
    And there is no way to make PE8 output a full height image in the wide screen format that 3 by 4 except to drag it larger in the preview window.
    And there is no advantage in doing that since I'm still using a 16 by 9 window and getting the file size that goes with it.
    So if I want to work in a 3 by 4 format then the Standard 48kHz format it the only option.
    Well at least I know what to do next time.
    That should save a lot of time.
    I may just give up and go to 16 by 9 and quit fighting it.
    Thanks again.
    Mike
    >

  • Frame size doesn't match

    I'm working on an animated project...doing the animation in Flash and then doing various effects and editing in Premiere Pro CS3.  I've been rendering my scenes out of flash as PNG sequences, and then bringing them into Premiere...and so far it seems to be working well for picture quality and what not, but I just noticed something weird.  I'm rendering frames from Flash with 1280x720 resolution...and in Premiere I'm working with a project size of 1280x720, so it should be a perfect fit, right?  But it doesn't seem to be.  If I render an image sequence from Premiere, the dimensions are fine, but if I render a video file it stretches the picture out horizontally for some reason, and also crops the left and right edges.  I also noticed that in Premiere if I choose 'scale to fit frame size' in the timeline than the image shrinks a bit and leaves a very narrow letterbox at the top and bottom...this solves the cropping issue when I export but the image is still inexplicable stretched...not to mention that if the clip size has the exact same dimensions as the frame size, 'scale to fit frame size' really shouldn't do anything at all.
    Anybody know what's going on here?  At the moment it doesn't have a big impact on my project but when I finish and want to render out watchable video it's gonna be a problem, so I might as well figure it out now before I go any further.
    thanks in advance

    Ya, all my footage is the same size, I actually made a template file that I open and resave whenever I start a new scene so that all my settings would
    be consistant...and my project settings match my export settings.  The monitor in Premiere shows it cropped as well, but it doesn't get stretched until I export it...and then like I said if I export a targa sequence or something it's not stretched or cropped.
    I'm not sure what you mean by par, thought.

  • Scale to frame size: clip lose quality

    Hi
    I'm working with Premiere CS3.
    I captured a clip from a Sony HVR-Z1E over IEEE1394 in a HDV Project. Settings: HDV 1080i, 25.00 Frames/Second, HD Anamorphic 1080 (1,333), upper field first.
    Afterwards I import the clip in a DV Project. Settings DV PAL, 25.00 Frames/Second,D1/DV PAL Widescreen 16:9 (1, 422), upper field first.
    In the timeline, I scale down the clip manually (under effectsettings/ move/scale)the clip to 53.3%. The clip lose quality. Pixels seems to be bigger. The same also happens if I check "scale to frame size".
    Can anyone help me? Thanks in advance.
    Regards, Corinne

    Hi
    Thanks for your reply. Yes that's right. But in CS2 the lose of quality was much smaller then in CS3. The clip was after scaling to 53.3% still useful. That can't be the problem.
    I thought thath SD DV is upper field?
    regards, Corinne

  • MPEG Streamclip 1.8  error message "can't read frame size"

    I receive message "Error: cant read frame size" after importing a QuickTime Movie file into MPEG Streamclip and choosing File-> Export to QuickTime as suggested in another forum to resolve the problem of no sound when importing a still camera QuickTime Movie file like the following into iMovie.
    (MPEG Streamclip imports the sound but no video.)
    Bottom line, how do I get the video and sound together in iMovie or Final Cut Express?
    Stream: Louie&Sarful 3345.mov
    Path: ~/Movies/Sarful & Louie/Louie&Sarful 3345.mov
    Type: MPEG elementary stream
    Duration: 0:00:53
    Data Size: 0.49 MB
    Bit Rate: 0.08 Mbps
    Video Tracks:
    DV/DVCPRO - NTSC, 720 × 480, 29.97 fps, 28.77 Mbps
    Audio Tracks:
    192 MP2 mono, 32 kHz, 64 kbps
    Stream Files:
    Louie&Sarful 3345.mov (2.13 MB)
    I'm trying to resolve the problem of no sound when importing/opening still camera movie files like this into iMovie or Final Cut Express.
    iMac5,1 IC2D   Mac OS X (10.4.8)   1 GB 2.16 GHZ

    Ref Bottom Line
    Solved my problem by opening the file in MPEG Streamclip and choosing Demux to AIFF and saving the AIFF file to the same folder as the original, then drag the AIFF file to the sound track in iMovie and the original file to the video track.
    iMac5,1 IC2D   Mac OS X (10.4.8)   1 GB 2.16 GHZ

  • Codec/ hardware/software for jumbo-frame size video playback on desktop?

    Hello all,
    I am looking for a codec that I can render to from AE and FCP, and can preview 1/2 or 3/4 scaled and actual scle (partial) on my 30" mac desktop.
    ideal size: 3840x2160 (16:9) 25 fps 604 MB/sec CODEC for desktop PB
    the AJA whack test on Dulce RX shows (720MB/sec.)easily enough disk throughput to handle 604MB/sec,
    but apple uncompressed 10 bit 4:2:2 won't play more than 5sec.
    my problem is not editing and rendering of which I will do a variety of methods, but rather
    ?????what uncompressed codec etc. to render TO????....how to see it,
    1/2 or 3/4 scale or actual scale (partial)
    on my 30" desktop
    so I can check composition...before we finnally have it chopped up for seperate projectors or in the very fancy installation projection system
    or to identify the hardware/software bottle necks to playing such a frame size on my desktop.
    thanks,
    Hilary

    Wow, you are definitely on the bleeding edge, Hilary, trying to produce quad-HDTV on a Mac. One thing you might want to try, if you haven't already, is to post your questions at the AVScience forum. I think you will find a more focused audience there.
    I don't really have answers for you, but I do have more questions and possibly some things to think about. First question; is the source material really quad-HDTV or is it lower res, like normal HDTV, and the plan is to show it through four, 1080p projectors onto a video wall? The reason I ask is, if the source material is lower res, then it seems pointless to try and encode it as quad-HD. You could just encode as HD (1080p) and then chop it up into four 960 x 540 chunks and project that.
    You mention that you have encoded Apple uncompressed 10-bit 4:2:2 but that the file will only play for five seconds. What happens after that? Does it get choppy or does it just altogether stop playing? The answer may hold clues as to what the problem is.
    What will the be the final platform for playing this video through the four projectors? Will it be the same G5 PowerMac that you are producing on or is the playback system based on different hardware? That could influence the encoding choice.
    It seems the most ideal development system for what you are trying to do would not be on a 30" monitor but instead on four 23" Cinema Displays connected to two graphics boards installed in your G5. Then you could be working at full scale aross all the monitors and you wouldn't have to worry about 1/2 scale or 3/4 scale or partial full scale viewing.
    It sounds like you have verified there to be adequate throughput off the disk to play the file at 25 fps but it's hard to imagine that a ~0.6 GBytes per second data stream isn't going to bottleneck somewhere on the G5. That's like 10x the data rate of FW800 if I am reading your post correctly. Maybe you meant 604 Mbps? That's just inside the (theoretical) envelope of FW800, but still a lot of data to be streaming real time without interruption. But where is the pinch point? That is the question. I'm guessing that it is disk related inspite of what the AJA whack test says. Are you using a raid by any chance? That should improve the AJA score and make for more headroom, especially if run off a SATA card.
    Personally, I rarely use anything more powerful than Apple's Activity Monitor as a system monitoring tool. But I doubt that it has enough diagnostic power for this application. If you are running Leopard, DTrace might be helpful, but I have no experience with it personally. Just trying to find the bottleneck could turn into a whole project of its own. Again I refer you to the AVScience forum as a possible shortcut to the answers you seek. Good luck with your project.

  • Kernel Compile Errors - vt6655 frame size

    I'm trying to compile 2.6.31.4 but I'm getting this error:
    drivers/staging/vt6655/iwctl.c: In function 'iwctl_giwaplist':
    drivers/staging/vt6655/iwctl.c:895: warning: the frame size of 1296 bytes is larger than 1024 bytes
    CC [M] drivers/staging/vt6655/vntwifi.o
    CC [M] drivers/staging/vt6655/IEEE11h.o
    LD [M] drivers/staging/vt6655/vt6655.o
    make: *** [drivers] Error 2
    ==> ERROR: Build Failed.
    Aborting...
    Anyone else having / had similar problems or can otherwise shed some light?

    I wouldn't think that it would be a problem with any of the Parallels kexts, as I'm running Parallels 8 (make sure you've the latest version) using Mountain Lion and Windows 7 Pro... but you may want to hunt down these two kexts:
    com.jft.driver.PdaNetDrv          1.0.64
    at.obdev.nke.LittleSnitch          2.4.0
    ...and put them out of harms way and then reboot and see if you're still getting the kernel panics. LittleSnitch may be OK - I don't use it - but I've no idea what the PdaNetDrv is...
    Clinton

  • How do I set the frame size

    I am Making a program for purchasing games, with the basic layout alsot done, except on problem. When the purchase button is pressed, a dialog shows up but nothing is seen until i resize it. How would i set the frame size so that i do not need to resize it each time? below is the code for the files. Many thanks in advance.
    CreditDialog
    import java.awt.*;
    import java.awt.event.*;
    class CreditDialog extends Dialog implements ActionListener { // Begin Class
         private Label creditLabel = new Label("Message space here",Label.RIGHT);
         private String creditMessage;
         private TextField remove = new TextField(20);
         private Button okButton = new Button("OK");
         public CreditDialog(Frame frameIn, String message) { // Begin Public
              super(frameIn); // call the constructor of dialog
              creditLabel.setText(message);
              add("North",creditLabel);
              add("Center",remove);
              add("South",okButton);
              okButton.addActionListener(this);
              setLocation(150,150); // set the location of the dialog box
              setVisible(true); // make the dialog box visible
         } // End Public
         public void actionPerformed(ActionEvent e) { // Begin actionPerformed
    //          dispose(); // close dialog box
         } // End actionPerformed
    } // End Class
    MobileGame
    import java.awt.*;
    import java.awt.event.*;
    class MobileGame extends Panel implements ActionListener { // Begin Class
         The Buttons, Labels, TextFields, TextArea 
         and Panels will be created first.         
         private int noOfGames;
    //     private GameList list;
         private Panel topPanel = new Panel();
         private Panel middlePanel = new Panel();
         private Panel bottomPanel = new Panel();
         private Label saleLabel = new Label ("Java Games For Sale",Label.RIGHT);
         private TextArea saleArea = new TextArea(7, 25);
         private Button addButton = new Button("Add to Basket");
         private TextField add = new TextField(3);
         private Label currentLabel = new Label ("Java Games For Sale",Label.RIGHT);
         private TextArea currentArea = new TextArea(3, 25);
         private Button removeButton = new Button("Remove from Basket");
         private TextField remove = new TextField(3);
         private Button purchaseButton = new Button("Purchase");
         private ObjectList gameList = new ObjectList(20);
         Frame parentFrame; //needed to associate with dialog
         All the above will be added to the interface 
         so that they are visible to the user.        
         public MobileGame (Frame frameIn) { // Begin Constructor
              parentFrame = frameIn;
              topPanel.add(saleLabel);
              topPanel.add(saleArea);
              topPanel.add(addButton);
              topPanel.add(add);
              middlePanel.add(currentLabel);
              middlePanel.add(currentArea);
              bottomPanel.add(removeButton);
              bottomPanel.add(remove);
              bottomPanel.add(purchaseButton);
              this.add("North", topPanel);
              this.add("Center", middlePanel);
              this.add("South", bottomPanel);
              addButton.addActionListener(this);
              removeButton.addActionListener(this);
              purchaseButton.addActionListener(this);
              The following line of code below is 
              needed inorder for the games to be  
              loaded into the SaleArea            
         } // End Constructor
         All the operations which will be performed are  
         going to be written below. This includes the    
         Add, Remove and Purchase.                       
         public void actionPerformed (ActionEvent e) { // Begin actionPerformed
         If the Add to Basket Button is pressed, a       
         suitable message will appear to say if the game 
         was successfully added or not. If not, an       
         ErrorDialog box will appear stateing the error. 
              if(e.getSource() == addButton) { // Begin Add to Basket
    //          GameFileHandler.readRecords(list);
                   try { // Begin Try
                        String gameEntered = add.getText();
                        if (gameEntered.length() == 0 ) {
                             new ErrorDialog (parentFrame,"Feild Blank");
                        } else if (Integer.parseInt(gameEntered)< 0
                                  || Integer.parseInt(gameEntered)>noOfGames) { // Begin Else If
                             new ErrorDialog (parentFrame,"Invalid Game Number");
                        } else { // Begin Else If
                             //ADD GAME
                        } // End Else
                   } catch (NumberFormatException num) { // Begin Catch
                        new ErrorDialog(parentFrame,"Please enter an Integer only");
                   } // End Catch
              } // End Add to Basket
         If the Remove From Basket Button is pressed, a  
         a suitable message will appear to say if the    
         removal was successful or not. If not, an       
         ErrorDialog box will appear stateing the error. 
         if(e.getSource() == removeButton) { // Begin Remove from Basket
              try { // Begin Try
                        String gameEntered = remove.getText();
                        if (gameEntered.length() == 0 ) {
                             new ErrorDialog (parentFrame,"Feild Blank");
                        } else if (Integer.parseInt(gameEntered)< 1
                                  || Integer.parseInt(gameEntered)>noOfGames) { // Begin Else If
                             new ErrorDialog (parentFrame,"Invalid Game Number");
                        } else { // Begin Else If
                             //ADD GAME CODE
                        } // End Else
                   } catch (NumberFormatException num) { // Begin Catch
                        new ErrorDialog(parentFrame,"Please enter an Integer only");
                   } // End Catch
              } // End Remove from Basket
         If the purchase button is pressed, the          
         following is executed. NOTE: nothing is done    
         when the ok button is pressed, the window       
         just closes.                                    
              if(e.getSource() == purchaseButton) { // Begin Purchase
                   String gameEntered = currentArea.getText();
                   if (gameEntered.length() == 0 ) {
                        new ErrorDialog (parentFrame,"Nothing to Purchase");
                   } else { // Begin Else If
                        new CreditDialog(parentFrame,"Cost � 00.00. Please enter Credit Card Number");
                   } // End Else               
              } // End Purchase
         } // End actionPerformed
    } // End Class
    RunMobileGame
    import java.awt.*;
    public class RunMobileGame { // Begin Class
         public static void main (String[] args) { // Begin Main
              EasyFrame frame = new EasyFrame();
              frame.setTitle("Game Purchase for 3G Mobile Phone");
              MobileGame purchase = new MobileGame(frame); //need frame for dialog
              frame.setSize(500,300); // sets frame size
              frame.setBackground(Color.lightGray); // sets frame colour
              frame.add(purchase); // adds frame
              frame.setVisible(true); // makes the frame visible
         } // End Main
    } // End Class
    EasyFrame
    import java.awt.*;
    import java.awt.event.*;
    public class EasyFrame extends Frame implements WindowListener {
    public EasyFrame()
    addWindowListener(this);
    public EasyFrame(String msg)
    super(msg);
    addWindowListener(this);
    public void windowClosing(WindowEvent e)
    dispose();
    public void windowDeactivated(WindowEvent e)
    public void windowActivated(WindowEvent e)
    public void windowDeiconified(WindowEvent e)
    public void windowIconified(WindowEvent e)
    public void windowClosed(WindowEvent e)
    System.exit(0);
    public void windowOpened(WindowEvent e)
    } // end EasyFrame class
    ObjectList
    class ObjectList
    private Object[] object ;
    private int total ;
    public ObjectList(int sizeIn)
    object = new Object[sizeIn];
    total = 0;
    public boolean add(Object objectIn)
    if(!isFull())
    object[total] = objectIn;
    total++;
    return true;
    else
    return false;
    public boolean isEmpty()
    if(total==0)
    return true;
    else
    return false;
    public boolean isFull()
    if(total==object.length)
    return true;
    else
    return false;
    public Object getObject(int i)
    return object[i-1];
    public int getTotal()
    return total;
    public boolean remove(int numberIn)
    // check that a valid index has been supplied
    if(numberIn >= 1 && numberIn <= total)
    {   // overwrite object by shifting following objects along
    for(int i = numberIn-1; i <= total-2; i++)
    object[i] = object[i+1];
    total--; // Decrement total number of objects
    return true;
    else // remove was unsuccessful
    return false;
    ErrorDialog
    import java.awt.*;
    import java.awt.event.*;
    class ErrorDialog extends Dialog implements ActionListener {
    private Label errorLabel = new Label("Message space here",Label.CENTER);
    private String errorMessage;
    private Button okButton = new Button("OK");
    public ErrorDialog(Frame frameIn, String message) {
    /* call the constructor of Dialog with the associated
    frame as a parameter */
    super(frameIn);
    // add the components to the Dialog
              errorLabel.setText(message);
              add("North",errorLabel);
    add("South",okButton);
    // add the ActionListener
    okButton.addActionListener(this);
    /* set the location of the dialogue window, relative to the top
    left-hand corner of the frame */
    setLocation(100,100);
    // use the pack method to automatically size the dialogue window
    pack();
    // make the dialogue visible
    setVisible(true);
    /* the actionPerformed method determines what happens
    when the okButton is pressed */
    public void actionPerformed(ActionEvent e) {
    dispose(); // no other possible action!
    } // end class
    I Know there are alot of files. Any help will be much appreciated. Once again, Many thanks in advance

    setSize (600, 200);orpack ();Kind regards,
      Levi
    PS:
        int i;
    parses to
    int i;
    , but
    [code]    int i;[code[i]]
    parses to
        int i;

Maybe you are looking for

  • Can't upgrade iPhone 3GS to ios4

    My wife and I purchased 3GS iPhones shortly before the 4G was released. We both have identical Panasonic Toughbooks, mine is running Vista, and hers is running WinXP. Neither one of us can update from 3.1 to the latest 4.2 os. We both have the latest

  • Set up a family with Apple Products

    What is the best way to set up a family with multiple apple products? Equipment: My wife and I each have iPhone v4s We have an AppleTV version 1 and an AppleTV version 2 iPad 2 NAS in the closet with iTunes server (which we don't utilize) iTunes inst

  • System crashes when i use any input field after installing Maverick

    Hello all. I have a 2010 macbook air, and have just installed Maverick OS. Now every time i go to any input field to type in a web address or apple id, the system crashes and re-boots. Tried to alter keyboard properties nothing works. I presume i wil

  • Generating data source for a planning area

    Hi all, I have a problem when generating a datasource for a planning area as it gives the following logs. Activate table /1APO/EXT_STRUXXXXX Tabble 1APO/EXT_STRUXXXXX  was activated with warnings and the data source is not being activated. I have als

  • Import Time Q for AVCHD

    Hi, Thinking about purchasing an AVCHD camera. I realize AVCHD can take a long time to "import" because you must import the clip and then have the computer convert the clip to AIC. Thus the total import time can be longer than actually 1X (which you