What is the correct sequence preset to choose?

Now a days I shoot AVCHD but I have video from years past that is from several different
Video cameras, on my hard drive, just waiting until I get around to editing it. How do I
determine which of those many presets that are available to choose from, that are offered when you
start a new project, is the right one?
I seem to remember someone telling me once that if you just hit the "OK" button without selecting anything, the software will assign the
correct preset to the project. I don't know if that is correct or not.

Steven L. Gotz wrote:
Actually, the preset no longer really matters much.
No matter what the preset, if you import 1920X1080 video and drop it on the "New" button, it will create the proper sequence for your video.
Yes, but it's called the "New Item" button.
You could also right click on a clip and "Create New Sequence From Clip"
You could also select the clip and choose File > New > New Sequence From Clip
You could also create any sequence, and edit the clip to that sequence and conform the sequence to the clip settings in the dialog box, as shown.
There's always a number of ways to get from A to B in Premiere Pro.

Similar Messages

  • What is the premiere sequence preset for canon vixia hf r400?

    I'm new to the world of editing.  I shot a project on a Canon Vixia HF R400 with all the factory presets.  Is the correct Premiere preset sequence AVCHD 1080i30 (60i)?
    Thanks!

    Yes that is the correct sequence setting.
    Get Started with Premiere Pro
    New to Premiere Pro? Get started with your first project — editing a video. In less than an hour, you'll learn to edit together different types of media to tell a video story.  

  • What are the best sequence presets and settings to use in FCE for the best resolution with the least amount on strain on computer?

    Hello!
    Can someone please help me figure out the best settings to use in order to obtain the best resolution in FCE4 for a television show that is going to be sent out on full size Sony DVcam tapes, with 4:3 aspect ration and audio output at 48kHz? I am currently working with mixed media sources in Final Cut Express, and I am wondering what the best settings (presets and preferences) are, in order to provide the HIGHEST resolution possible, while putting the least amount of strain on my computer system?
    I am importing mini DV-standard definition footage and still photos (from Canon Rebel camera, HD CMOS Canon camcorder that records in 1440x1080 at 48 kHz, and cell phone photos). For voiceovers I use the tools in FCE.
    I use Voltaic (which I use thanks to recommendations from Apple discussion boards, love it!)  to convert the footage from the HD CMOS-Canon HD VIXIA (HG 20) camera, and then I am using print to video to output onto Sony DVcam tapes (full size). This is for delivery for a television network that broadcasts in Standard Definition, so I need to produce the highest resolution and best quality possible that also puts the least amount of stress on my computer system.
    If anyone has any recommendations, help, or sources that can help me answer this question I would be greatly appreciative.
    Thank you!
    Susan Kayne

    This is happening because your video clip properties do not match your sequence settings.  This is always a problem when you try to insert video from multiple camcorders/cameras (that use different video codecs, frame sizes & rates) in a single sequence. 
    It will help a lot if you provide more specifics - what FCE easy setup did you use to create your sequence?  For your DV footage, are you using standard 4:3 DV or anamorphic 16:9 DV clips?
    If you plan to export to standard def (DV/DVCAM) and are mixing DV from a miniDV camcorder, stills, cell phone images and AVCHD then I would suggest that you use the DV NTSC easy setup for your sequence.  Use MPEG Streamclip or similar utility to convert your non-DV video (your AVCHD video) to QuickTime/Apple DV-DVCPRO NTSC.   Then all your video will match your sequence settings.  Yes, you will have to crop the AVCHD footage to 4:3 and you can do that in MPEG Streamclip.

  • What is the correct sequence to link 3 Airport Express units in a WDS?

    I have 3 AE units set up in a WDS. I currently have unit #1 as a main base. Unit #2 is an extended base station. Unit #3 is a remote base station. I have unit #1 connected to the iMac for the internet on the first floor via an ethernet connection. It is linked to units #2 & 3. Unit #2 is about 60' away on the first floor & linked to unit #3 as a relay. Unit #3 is about 18' below unit #2 in the basement and about 75' from unit #1 & connected to the HP notebook via ethernet. The connections between both computers are fine, thought a bit slow. All three AE units have the audio port active to stream iTunes. Most of the time, the audio is great! However, (and this is the problem....finally) when I am at the HP computer & unit #3, the audio signal drops out for booth units #2 & 3 if I turn as certain way in my chair. I guess when I am in a certain place in the basement, I am blocking the signal (weird....). I also noticed this as well sometimes in the stairwell to the basement. All 3 units have the following wireless settings: Multicast Rate = 1...Interference Robustness = disabled...Transmitter Power = 100%. I have tried the Multicast rate @ 2 & 5.5, with the Interference Robustness enabled and disabled. I didn't notice any significant difference. Would it help to take unit #3 out of the direct link of unit #1? (Let unit #1 link to unit #2 and unit #2 link to unit #3.) Any other helpful hints to try would be appreciated. Thanks!!!
    iMac   Mac OS X (10.3.9)   Also HP Notebook XP SP2

    Would it help to take unit #3 out of the direct link of unit #1? (Let unit #1 link to unit #2 and unit #2 link to unit #3.)
    Perhaps but probably not.
    The fact remains that RF signals can be blocked and redirected. Therefore physically moving things around can affect wireless performance. For more ideas, see KB 58543, AirPort: Potential sources of interference.

  • What is the correct installation sequence for my ATI Radeon 9800 PRO MAC AGP 128MB into my Quicksilver 867 G4?

    Hi.
    I just got my used ATI Radeon 9800 PRO MAC AGP 128MB card.
    What is the correct installation sequence into my Quicksilver 867 G4 running 10.4.11 on one drive 10.5 on another?
    The original NVIDIA GeForce2 MX - 32MB SDRAM went bust.
    Is the driver build in 10.4?
    Do I remove the old driver?
    If I need to install the driver that came with it, (10.3.6) should the card be installed first?
    What about firmware updates?
    Thank you for all your time and patience.
                                                                                        W.W.

    I think it's the card, but here are some files that may affect it...
    /Users/YourUserName/Library/Preferences/ByHost /com.apple.preference.displays.<12digitHex#>.plist
    /Library/Preferences/com.apple.windowserver.plist
    /Users/YourUserName/Library/Preferences/ByHost/com.apple.windowserver.<12digitHe x#>.plist
    /Users/YourUserName/Library/Preferences/ByHost/.GlobalPreferences.<12digitHex#>. plist

  • What is the correct syntax for using a variable in an ad hoc query?

    Hi all
    I am an occasional DB user and at the moment need to update about 1000+ records so that a certain column gets a unique value.
    So I thought that I would use a variable for this.
    I then built this kind of SQL statement for just a small subset of the records:
    variable recNumber number;
    exec :recNumber := 1;
    UPDATE TABLE_TO_BE_UPD
    SET COL_TO_BE_UPD = COL_TO_BE_UPD + recNumber
    WHERE COL_TO_BE_UPD IN ('VAL_A','VAL_B');
    I get the invalid SQL statement error when attempting to execute above (besides the prompt that asks for a value which I would like to omit).
    Anyway I also tried this one:
    CREATE SEQUENCE seqCounter;
    UPDATE TABLE_TO_BE_UPD
    SET COL_TO_BE_UPD = COL_TO_BE_UPD + seqCounter.NEXTVAL
    WHERE COL_TO_BE_UPD IN ('VAL_A','VAL_B');
    From this one I got the error ORA-01722: invalid number...I am guessing this comes because seqCounter is of type number and the COL_TO_BE_UPD is of type character...(?)
    So what I would like to ask is what is the correct way to define and use a counter type of variable to append a number at the end of a character string?
    Also another question that I would like to ask is that are variables that are used in ad hoc queries also called 'bind variables'?
    Thanks muchly

    If you want to append a unique number to a column then this would do it:
    UPDATE TABLE_TO_BE_UPD
    SET COL_TO_BE_UPD = COL_TO_BE_UPD ||to_char(rownum)
    WHERE COL_TO_BE_UPD IN ('VAL_A','VAL_B');

  • What is the correct way to call older version of Adober Reader?

    What is the correct way to call older version of Adober Reader? Specifically version 8? Acrobar Reader 8 or Adober Reader 8? Is is necessary to include "Reader"? We are creating a form and are adding instructions that it works with version 8 and newer. We want to make sure it is worded correctly!
    Thanks!
    Danielle

    When you "Save as" and you select the "compatibility with" for older versions, the document will be compatible with whatever version you choose, be it 4, 5, 6, 7, 8, or higher. If you want to "test it", you'll need a computer with Reader 8 installed, but I've never seen the "Save as" make something that was incompatible with the version it was saving for.

  • What are the best sequence settings for anamorphic?

    sorry for the long explanation....
    i have a project that was shot 16:9. my question is what is the best sequence setting to use so that when i export it to tape it will look right on a regular TV? on the FCP viewer it looks right with either setting. the difference is that if i choose a regular sequence setting ("anamorphic" unchecked), the video clips need to be rendered (it's green, but it will limit my ability to add effects and watch them without rendering). therefore i would prefer to use the anamorphic setting that does not need rendering. However, when i export the movie it comes out stretched (and only works with TV that has an anamorphic setting).
    Can i edit the whole project with the anamorphic sequence setting and in the end copy it to a regular sequence without it becoming stretched?
    i tried this on a little test sequence and it appeared to work, but i'm afraid that if the project becomes elaborate... well, last time i tried editing an anamorphic sequence (a while back, on FCP 2) i had to redo my whole film cut by cut with a regular sequence setting and then render it anamorphic so that it will look right.... it simply didn't work to just cut and paste the project onto a new regular sequence (could this have happened because i had many effects?). it came out stretched as it would when you merely uncheck the "anamorphic" box. has this been solved in the newer versions?

    Your settings -- between the Compressor, Pixel Aspect Ratio and Frame Size -- are oil-and-water.
    If this is going to YouTube (meaning not going to be viewed on traditional TVs) and it's mainly Photos, try using this:
    Frame Size: 1280x720
    Aspect Ratio: HDTV 720p
    Pixel Aspect Ratio: Square
    Editing Timebase: 29.97
    Compressor: Motion JPEG A
    Quality: 100% (though in a lot of cases, you could drag this down to about 75-80% and quality will not suffer)
    Unfortunately, you won't get much (if any) real-time effects. Unless, of course, you're on FCP 6 or later, where you can use a ProRes compressor instead. But with your signature saying 10.4. something, I wasn't sure if it was safe to assume that. The Motion-JPEG setting should work in all versions.

  • What's the correct recovery process once upgraded to Windows 10? (No OneKey Recovery)

    I have a Z50-70 laptop that came preinstalled with Windows 8.1. It is a OEM version, with the product key stored in the Bios. It is a UEFI install. It currently has OneKey recovery installed, which, if I understand correctly (I haven't actually used it yet), allows you to recover from a recovery partition in the hard disk. This isn't a "fresh" Windows 8.1, but an image provided by Lenovo that takes you back to the state the laptop was in when originally purchased (will have all Lenovo software and drivers preinstalled). According to the official Lenovo upgrade guide, before performing the Windows 10 upgrade, we should uninstall basically all Lenovo software, including OneKey recovery and it won't work in Windows 10. Questions: 1. What's the correct process to recover the system from within Windows 10 if something goes badly wrong? I think Windows 10 has a built in "reset your computer" functionality in Settings which I assume is what we would be expected to use. Would this take me to:a. A completely fresh install of Windows 10?b. An image created during the 8.1 to 10 upgrade, containing all my files etc at the point of performing the upgrade?c. Or would it use the Lenovo recovery partition (that OneKey Recovery would have used if it was compatible) and take me back to Windows 8.1?d. Something else? 2. Once I've performed the upgrade and Windows 10 has successfully activated, I believe I could create a bootable media with the Windows 10 ISO, boot into it and install a completely clean installation of Windows 10 and it would activate. I could theoretically do as many fresh installs from the bootable media as I want, so long as initially I did the upgrade (not a clean install), and the laptop hardware doesn't change. Is that correct?2a. If so, during the first clean bootable media install process, would I be safe to compeletly remove the Lenovo recovery partition entirely, and from that point onwards rely on Windows 10's "Reset your PC" functionality? Could I could even just use reinstalling Windows 10 from bootable media again as a way of recovering? If I understand correctly, it doesn't make sense to keep the recovery partition it if it can't be used within Windows 10. I think it I had a regular desktop PC with a retail version of Windows, then all the above would be fine. The added complications here are that 1. I have no Windows 8.1 product key (it's handled alll by the BIOS), and 2. I have no recovery disks. I want to make sure I understand everything fully before upgrading, and potentially doing a clean install using bootable media, so that I don't end up messing something up and ending up with either a laptop that I can't recover, of a Windows installation that isn't activated. Thanks.

    Update for anyone else reading: I just uninstalled OneKey recovery on my Windows 8.1 installation, in preparation for the upgrade. So as far as Windows is concerned, OneKey Recovery has been completely removed. The good news is that I then shut down the laptop, pressed the novo button, selected "System Recovery" and I was still greeted with the OneKey recovery program where I could choose to restore from factory image, or a custom image. Therefore I assume that once I've upgraded to Windows 10, I will always have the option to restore to factory Windows 8.1 if I ever need/want to. The confusion seems to be that the OneKey recovery software is actually two separate softwares: 1. OneKey Recovery #1 is installed within the hidden recovery partition that is responsible for performing a system restore from the image of your choosing - either the factory image or a custom image created by OneKey recovery software #2. OneKey Recovery software #1 is always accessible via the Novo button. 2. OneKey Recovery #2 is installed on the Windows 8.1 installation, that is responsible for creating custom system images. You can also choose to restore the system from here, but as far as I can tell, this just restarts the computer and loads up OneKey software #1, which allows you to perform the recovery. OneKey Recovery #2 is the software that Lenovo told us to uninstall before upgrading to Windows 10. However, uninstalling OneKey Recovery #2 will leave OneKey Recovery software #1 in tact.As far as I can tell, this means that uninstalling OneKey Recovery #2 means that we lose the ability to create custom system images, but we retain the ability to restore from a system image. Can anyone confirm that I've understood correctly, and that what I've said above is indeed the case? I'm still a little unsure about what Windows 10's built in "Reset this PC" will do though - whether it will use Lenovo's recovery partition or perform a clean Windows 10 install.

  • What is the correct cable for iMac 11,2 Intel core i3, mini dvi to vga or mini display port to vga?

    What is the correct cable for iMac 11,2 Intel core i3, mini DVI to VGA or mini display port to VGA to hook up to projector? Thanks!

    mini-DisplayPort.
    Regards.

  • My ical will not sync with iphone and ipad since I've been using icloud. It says URL is incorrect. But what is the correct one and where do I input that to enable all calenders to sync on all devices?

    What is the correct URL for my ical on my MacBook so that all devices will have the same information? And how/where do I update that?
    Thank you.

    I had major issues with the iPhone 4s battery, however it’s resolved.
    The tech who set the phone up at the Apple store did so with little training.
    if you have a mobile me account. First go and move all your data to the cloud by going on your computer and logging in at me.com/move. The cloud has replaced mobile me, so there is no need for those two accounts
    Also make sure that for any of your email accounts you set them up to fetch, not push. My tech person set them all to have the email servers push data to the phone. The new iphone4s antenna is extremely strong so it will continually try to access stuff that is pushed–***** a lot of battery life doing this. It makes it worse if you have exchange 2010 accounts. Something about changes made to exchange really suck battery life from devices that access such accounts.
    turning of locator and the push notifications from facebook--they have a lot!

  • Macromedia Dreamweaver activation phone number is no longer active.  What is the correct number?

    Macromedia Dreamweaver activation phone number is no longer active.  What is the correct number?

    Try http://helpx.adobe.com/x-productkb/policy-pricing/activation-help-legacy-macromedia-produc ts.html

  • What are the correct answers ?

    after doing one sample swing application, i assumed the exam will be easy. when i took the exam, i couldn't do anything...
    what are the correct answers ??/
      Which one of the following converts the Image i into the BufferedImage bi? 
    Choice 1  
    bi = new BufferedImage(0, 0, BufferedImage.TYPE_INT_RGB);
    Graphics2D g = (Graphics2D)bi.createGraphics();
    g.drawImage(i,i.getHeight(this),i.getWidth(this)); 
    Choice 2  
    bi = new BufferedImage(i.getWidth(this), i.getHeight(this), 1);
    bi.drawImage(i,0,0,this); 
    Choice 3  
    bi = new BufferedImage(i.getWidth(this), i.getHeight(this), 1);
    Graphics2D g = (Graphics2D)bi.createGraphics();
    g.drawImage(i,0,0,this); 
    Choice 4  
    bi = new BufferedImage(i, i.getWidth(this), i.getHeight(this), BufferedImage.TYPE_INT_RGB); 
    Choice 5  
    bi = new BufferedImage(i, i.getWidth(this), i.getHeight(this)); 
    CardLayout
    BorderLayout
    FlowLayout
    GridBagLayout
    GridLayout 
      Which one of the following indicates all of the layout managers (from the list above) that allow you to set the space between the components from an instance of the LayoutManager itself? 
    Choice 1  
    CardLayout, FlowLayout, GridBagLayout, GridLayout 
    Choice 2  
    GridBagLayout 
    Choice 3  
    BorderLayout, GridLayout 
    Choice 4  
    BorderLayout, FlowLayout, GridLayout 
    Choice 5  
    BorderLayout, CardLayout, FlowLayout, GridBagLayout, GridLayout 
    JFrame jf = new JFrame();
    jf.setSize(400,400);
    JTextField jtf = new JTextField("JTextField");
    JButton jb = new JButton("JButton");
    jf.getContentPane().setLayout(
                          new FlowLayout(FlowLayout.LEFT,1,2));
    jf.getContentPane().add(jtf);
    jf.getContentPane().add(jb); 
      Which one of the following indicates the positions of the JTextField jtf and JButton jb relative to the JFrame and each other? 
    Choice 1  
    jtf and jb are in the top-center of the Jframe; jtf is to the left of jb, 2 pixels apart. 
    Choice 2  
    jb is in the top-right corner of the JFrame with jtf 1 pixel to the left of it. 
    Choice 3  
    jtf is in the top-left corner of the JFrame with jb 1 pixel to the right of it. 
    Choice 4  
    jb is in the top-right corner of the JFrame with jtf 2 pixels to the left of it. 
    Choice 5  
    jtf is in the top-left corner of the JFrame with jb 2 pixels to the right of it
    public void drawText(Graphics2D g, String text){
      Font f = new Font("Century Gothic", Font.BOLD, 10);
      g.setFont(f);
      g.drawString(text, 20, 20);
      Given the above sample code, what happens if the "Century Gothic" font is NOT available? 
    Choice 1  
    The Font() constructor fails, causing "f" to be null, and the setFont() method throws a NullPointerException. 
    Choice 2  
    "Century Gothic" is a built in Java font, which always exists within the Java runtime environment. 
    Choice 3  
    The code does not compile because only the following "logical" font names are supported in Java: Dialog, DialogInput, Monospaced, Serif, SansSerif, and Symbol. 
    Choice 4  
    The Font() constructor throws an IllegalArgumentException. 
    Choice 5  
    A default Font object is returned and is used
    Sample Code 
    public void drawText(Graphics2D g, String text){
      Font f = new Font("Century Gothic", Font.BOLD, 10);
      g.setFont(f);
      g.drawString(text, 20, 20);
      Given the above sample code, what happens if the "Century Gothic" font is NOT available? 
    Choice 1  
    The Font() constructor fails, causing "f" to be null, and the setFont() method throws a NullPointerException. 
    Choice 2  
    "Century Gothic" is a built in Java font, which always exists within the Java runtime environment. 
    Choice 3  
    The code does not compile because only the following "logical" font names are supported in Java: Dialog, DialogInput, Monospaced, Serif, SansSerif, and Symbol. 
    Choice 4  
    The Font() constructor throws an IllegalArgumentException. 
    Choice 5  
    A default Font object is returned and is used. 
    How must do you interact with a JTextField in order to generate an ActionEvent? 
    Choice 1  
    Tab into the JTextField from another Component. 
    Choice 2  
    Type in the JTextField. 
    Choice 3  
    Activate the cursor in the JTextField. 
    Choice 4  
    Hit <RETURN> while the cursor is in the JTextField. 
    Choice 5  
    Hit the spacebar while typing in the JTextField. 
    double-buffering
    public class TimerTest implements ActionListener{
      public static void main(String[] args){
        TimerTest test = new TimerTest();
        javax.swing.Timer timer = new javax.swing.Timer(100,test);
      public void actionPerformed(ActionEvent ev){
        System.out.println("Timer ticked.");
      Given the above sample code, what is the result when the code is run? 
    Choice 1  
    The words "Timer ticked." are printed to the console once after 100 milliseconds. 
    Choice 2  
    The words "Timer ticked." are printed to the console every 100 microseconds. 
    Choice 3  
    The words "Timer ticked." are printed to the console every 100 seconds. 
    Choice 4  
    The words "Timer ticked." are printed to the console every 100 milliseconds. 
    Choice 5  
    Nothing, the Timer is not started. 
    1. JSlider slider1 = new JSlider (JSlider.VERTICAL, 0, 100, 50);
    2. slider1.setPaintTicks(false);
    3. slider1.setMajorTickSpacing(10);
    4. slider1.setMinorTickSpacing(2); 
      What changes do you have to make to the above Sample code so that there are six Major Ticks and four Minor ticks between each Major Tick? 
    Choice 1  
    Replace line 3 with slider1.setMajorTickSpacing(17); 
    Choice 2  
    Replace line 2 with slider1.setPaintTicks(true);
    Replace line 3 with slider1.setMajorTickSpacing(17);
    Replace line 4 with slider1.setMinorTickSpacing(5); 
    Choice 3  
    Replace line 3 with slider1.setMajorTickSpacing(5);
    Replace line 4 with slider1.setMinorTickSpacing(4); 
    Choice 4  
    Replace line 2 with slider1.setPaintTicks(true);
    Replace line 3 with slider1.setMajorTickSpacing(20);
    Replace line 4 with slider1.setMinorTickSpacing(4); 
    Choice 5  
    Replace line 4 with slider1.setMinorTickSpacing(6); 
       Which one of the following defines a set of three JRadioButtons (b1, b2, and b3) so that only one JRadioButton can be selected at a time? 
    Choice 1  
    ButtonGroup g = new ButtonGroup();
    g.add(b1); g.add(b2); g.add(b3); 
    Choice 2  
    b1.group(true); b2.group(true); b3.group(true); 
    Choice 3  
    JRadioButton jbs[] = {b1, b2, b3};
    ButtonGroup g = new ButtonGroup(jbs); 
    Choice 4  
    The default behavior of JRadioButtons is such that only one can be selected at a time as long as they are in the same Container. 
    Choice 5  
    ButtonGroup g = new ButtonGroup(b1, b2, b3); 
    Sample Code 
    public static void main(String args[]){
      What is the role of the method in the code above? 
    Choice 1  
    To provide a place for initialization code when instantiating the current class. 
    Choice 2  
    It is the first method run when a class is run with the Java Interpreter. 
    Choice 3  
    It serves no specific function. It is a residual method from Java 1.0. 
    Choice 4  
    It is the first method that the Java Compiler converts to bytecode when creating a .class file. 
    Choice 5  
    To process command-line parameters when running the Java Interpreter 
    How do you create a menu item, Save, with a shortcut key of Ctrl+S? 
    Choice 1  
    You have to override the KeyPressed event of the top level Frame and handle the Ctrl+S to call the menu item's actionPerformed. 
    Choice 2  
    JMenuItem save = new JMenuItem("Save");
    save.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S,Event.CTRL_MASK)); 
    Choice 3  
    JMenuItem save = new JMenuItem("Save");
    save.enableShortcut(KeyEvent.CTRL_KEY + KeyEvent.S); 
    Choice 4  
    JMenuItem save = new JMenuItem("Save");
    save.setMnemonic("Ctrl+S"); 
    Choice 5  
    JMenuItem save = new JMenuItem("Save");
    save.addShortcutKey( new KeyStroke(KeyStroke.S | KeyStroke.CTRL_KEY) ); 
    GridBagConstraints gbc1 = new GridBagConstraints(1,1,2,1,1,3,10,1,new Insets(5,5,5,5),1,1);
    gbl.addLayoutComponent(jb,gbc1); 
      In regards to the above code, which one of the following indicates jb's grid position? 
    Choice 1  
    Grid position 2,1 
    Choice 2  
    Grid position 1,2 
    Choice 3  
    Grid position 1, 1 
    Choice 4  
    Grid position 10, 1 
    Choice 5  
    Grid position 1, 3 
    GridBagConstraints gbc1 = new GridBagConstraints(1,1,2,1,1,3,10,1,new Insets(5,5,5,5),1,1);
    gbl.addLayoutComponent(jb,gbc1); 
      In regards to the above code, which one of the following indicates jb's grid position? 
    Choice 1  
    Grid position 2,1 
    Choice 2  
    Grid position 1,2 
    Choice 3  
    Grid position 1, 1 
    Choice 4  
    Grid position 10, 1 
    Choice 5  
    Grid position 1, 3 
    Which one of the following is necessary when changing an Applet to a standalone application? 
    Choice 1  
    Add a no-argument constructor. 
    Choice 2  
    Remove the init(), start() and stop() methods. 
    Choice 3  
    Remove "extends JApplet" or "extends Applet". 
    Choice 4  
    Add a main() method. 
    Choice 5  
    Change the import statement so that it imports an Application container rather than Applet or JApplet. 
    Which one of the following adds the String "Java" to the JComboBox jcb? 
    Choice 1  
    ComboBoxModel cbm = jcb.getModel();
    cbm.addItem("Java"); 
    Choice 2  
    jcb.setText("Java"); 
    Choice 3  
    ComboBoxModel cbm = jcb.getModel();
    cbm.add("Java"); 
    Choice 4  
    jcb.add("Java"); 
    Choice 5  
    jcb.addItem("Java");

    I'll have a go but I am not saying they are all correct...
    Question 1.
    Which one of the following converts the Image i into the BufferedImage bi?
    Choice 3 (assuming this implements the imageobserver interface)
    bi = new BufferedImage(i.getWidth(this), i.getHeight(this), 1);  //1 is BufferedImage.TYPE_INT_RGB
    Graphics2D g = (Graphics2D)  
    bi.createGraphics();
    g.drawImage(i,0,0,this);Good luck with your homework...
    nes
    Question 2.
    CardLayout
    BorderLayout
    FlowLayout
    GridBagLayout
    GridLayout
    Which one of the following indicates all of the layout managers (from the list above) that allow you to set the space between the components from an instance of the LayoutManager itself?
    Choice 4
    BorderLayout,
    FlowLayout,
    GridLayout
    (GridBagLayout uses GridBagConstraints to decide component spacing, card layout does not provided component spacing due to the deck nature used)
    Question 3.
    JFrame jf = new JFrame();
    jf.setSize(400,400);
    JTextField jtf = new JTextField("JTextField");
    JButton jb = new JButton("JButton");
    jf.getContentPane().setLayout( new FlowLayout(FlowLayout.LEFT,1,2));
    jf.getContentPane().add(jtf);
    jf.getContentPane().add(jb);    Which one of the following indicates the positions of the JTextField jtf and JButton jb relative to the JFrame and each other?
    Choice 3 jtf is in the top-left corner of the JFrame with jb 1 pixel to the right of it.
    Question 4
    public void drawText(Graphics2D g, String text)
         Font f = new Font("Century Gothic", Font.BOLD, 10);  
         g.setFont(f);  
         g.drawString(text, 20, 20);
    }    Given the above sample code, what happens if the "Century Gothic" font is NOT available?
    Choice 5 A default Font object is returned and is used
    Question 5.
    How must do you interact with a JTextField in order to generate an ActionEvent?
    Choice 4 Hit <RETURN> while the cursor is in the JTextField.
    Question 6.
    public class TimerTest implements ActionListener
         public static void main(String[] args)
               TimerTest test = new TimerTest();    
               javax.swing.Timer timer = new javax.swing.Timer(100,test);  
         public void actionPerformed(ActionEvent ev)
              System.out.println("Timer ticked.");  
    }    Given the above sample code, what is the result when the code is run?
    Choice 5 Nothing, the Timer is not started.
    Question 7.
    1. JSlider slider1 = new JSlider (JSlider.VERTICAL, 0, 100, 50);
    2. slider1.setPaintTicks(false);
    3. slider1.setMajorTickSpacing(10);
    4. slider1.setMinorTickSpacing(2);    What changes do you have to make to the above Sample code so that there are six Major Ticks and four Minor ticks between each Major Tick?
    Choice 4 Replace line 2 with slider1.setPaintTicks(true); Replace line 3 with slider1.setMajorTickSpacing(20); Replace line 4 with slider1.setMinorTickSpacing(4);
    Question 8.
    Which one of the following defines a set of three JRadioButtons (b1, b2, and b3) so that only one JRadioButton can be selected at a time?
    Choice 1 ButtonGroup g = new ButtonGroup(); g.add(b1); g.add(b2); g.add(b3);
    Question 9.
    Sample Code
    public static void main(String args[]){ }
    TYPO - should be public static void main(String[] args){ }
    What is the role of the method in the code above?
    Choice 2 It is the first method run when a class is run with the Java Interpreter.
    Question 10.
    How do you create a menu item, Save, with a shortcut key of Ctrl+S?
    Choice 2 JMenuItem save = new JMenuItem("Save");
    save.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S,Event.CTRL_MASK));
    Question 11.
    GridBagConstraints gbc1 = new GridBagConstraints(1,1,2,1,1,3,10,1,new Insets(5,5,5,5),1,1); gbl.addLayoutComponent(jb,gbc1);
    In regards to the above code, which one of the following indicates jb's grid position?
    Choice 3 Grid position 1, 1
    Question 12
    Which one of the following is necessary when changing an Applet to a standalone application?
    Choice 1 Add a no-argument constructor.
    Choice 2 Remove the init(), start() and stop() methods.
    Choice 3 Remove "extends JApplet" or "extends Applet".
    Choice 4 Add a main() method.
    Choice 5 Change the import statement so that it imports an Application container rather than Applet or JApplet.
    mmm. not a good choice of answers. look at the following link...
    http://forum.java.sun.com/thread.jsp?forum=57&thread=218096
    Question 13.
    Which one of the following adds the String "Java" to the JComboBox jcb?
    Choice 5 jcb.addItem("Java");

  • What is the correct way to add styling to drag-and-drop created calendars?

    I have a working instance of a rich client calendar. I generated the view with the required fields (start, stop, provider, ...), put it into the App Module, and dragged it onto a JSF page to create a calendar.
    Next I created an activityScope object in a class called CalendarBean (no inheritance)
    Class CalendarBean()
    private HashMap<Set<String>, InstanceStyles> activityColorMap;
    +..+
    +public CalendarBean() {+
    super();
    activityColorMap = new HashMap<Set<String>, InstanceStyles>();
    HashSet setEd = new HashSet<String>();
    HashSet setLen = new HashSet<String>();
    setEd.add("Work");
    setLen.add("Home");
    activityColorMap.put(setEd, CalendarActivityRamp.getActivityRamp(CalendarActivityRamp.RampKey.ORANGE));
    activityColorMap.put(setLen, CalendarActivityRamp.getActivityRamp(CalendarActivityRamp.RampKey.RED));
    +}+
    +}+
    Next, I linked this up as a backing bean and associated the ActivityStyles of CalendarBean to it:
    +#{backingBeanScope.calendarBean.activityColorMap}+
    I populated some records in the database with properties "Work" and "Ed', but they show default blue.
    As I understand it, I need to do something with the getTags() method of the underlying CalendarActivity class, but I'm not quite sure how to do that.
    Took a stab at creating a class, CalendarActivityBean, that extended CalendarActivity, and pointed all the CalendarActivity references I had to the new class, but it didn't seem to fire (in debug), and I got into trouble, when inserting records, with
    public void calendarActivityListener(CalendarActivityEvent calendarActivityEvent) {
    currActivity = (CalendarActivityBean) calendarActivityEvent.getCalendarActivity();
    being an illegal cast
    What is the correct way to add provider-based styling to drag-and-drop create calendars?
    Ed Schechter

    A colleague of mine was kind enough to solve this:
    The calendar has ActivityStyles property = #{calendarBean.activityStyles}
    CalendarBean looks something like this:
    package com.hub.appointmentscheduler.ui.schedule;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.Set;
    import oracle.adf.view.rich.util.CalendarActivityRamp;
    import oracle.adf.view.rich.util.InstanceStyles;
    +public class CalendarBean {+
    private HashMap activityStyles;
    private String dummy;
    +public CalendarBean() {+
    +// Define colors+
    activityStyles = new HashMap<Set<String>, InstanceStyles>();
    HashSet setPending = new HashSet<String>();
    HashSet setArrived = new HashSet<String>();
    HashSet setApproved = new HashSet<String>();
    HashSet setCompleted = new HashSet<String>();
    setApproved.add("APPROVED");
    setPending.add("PENDING");
    setArrived.add("ARRIVED");
    setCompleted.add("COMPLETED");
    activityStyles.put(setApproved, CalendarActivityRamp.getActivityRamp(CalendarActivityRamp.RampKey.GREEN));
    activityStyles.put(setPending, CalendarActivityRamp.getActivityRamp(CalendarActivityRamp.RampKey.ORANGE));
    activityStyles.put(setArrived, CalendarActivityRamp.getActivityRamp(CalendarActivityRamp.RampKey.PLUM));
    activityStyles.put(setCompleted, CalendarActivityRamp.getActivityRamp(CalendarActivityRamp.RampKey.LAVENDAR));
    +}+
    +public void setactivityStyles(HashMap activityStyles) {+
    this.activityStyles = activityStyles;
    +}+
    +public HashMap getactivityStyles() {+
    return activityStyles;
    +}+
    +}+
    Now, go into the Bindings tab on the calendar page, double click the calendar binding, and specify the column you've defined as the calendar's Provider in the Tags dropdown.
    Should show colors.

  • 1.4.2 - What is the correct way to format output in the java.io.PrintStream

    With Java 1.4.2:
    What is the correct way to format output in the java.io.PrintStream?
    The following is incorrect, even though it is still used in the The JavaTM Tutorial at: http://java.sun.com/docs/books/tutorial/essential/
    System.out.formatThis returns "cannot resolve the method 'format'"
    Any detailed suggestions or information is greatly appreciated.

    The following is incorrect, even though it is still
    used in the The JavaTM Tutorial at:
    http://java.sun.com/docs/books/tutorial/essential/
    The whole format thing has been introduced in 1.5. The tutorial also states it's been "updated to 1.5.".
    That's all I've got to say for I don't know how you can format a PrintWriter, let alone a PrintStream, prior to 1.5. I'm not really sure there is any way. Any "legacy way", that is. There almost certainly are third-party API which achieve similar results.

Maybe you are looking for

  • Memory issue with Podcast !!!

    Hi, I have several issues with the Podcast App. - i cannot sync podcast that i have downloaded on my laptop using itunes to the iphone, - when i download some podcast directly on the iphone, i cannot play them, i still have to stream them, - i have u

  • Songs on the ipod cannot be updated???

    Ive had my nano for awhile and it worked with iTunes. recently i must have done something i shouldnt cause everytime i try to update my ipod i get this message "Songs on the iPod "Chris's iPod" cannot be updated because all of the playlists selected

  • J2EE server not running. 503 service unavailable

    Hi , J2EE Server is not starting. Rest all are running in mmc console.The contents of the file std_server0.out is as below. stdout/stderr redirect node name : server0 pid : 584 system name : J2E system nr. : 00 started at : Tue Feb 15 10:12:46 2005 C

  • My iPad 1's glass seems to be sinking on the right hand side, any on know how to fix this?

    Hi, I have had my iPad 1 for about 9 months, I really like it. But the glass in the middle, on the right hand side of the iPad is sinking in and the aluminium is sticking out, should I take it to the apple store? Will they fix it? (my iPad is still u

  • InDesign CS6 crashing on startup in OS X 10.7.3

    I also am having an issue. I am running 10.7.3 however. I installed InDesign CS6 (version 8.0) and if I have all my plugins running it will crash EVERY TIME on start-up. However, I systematically removed all plugins and found that the plugin that cau