What are the correct settings to connect to my network?

All attempts to connect fail with the message to check my settings.   I need to know what settings are faulty.  There is no way to obtain the answer from the manual as far as I can see.

I have opened ports 80, 443,and 4125 to PCP.  The  router address is http://192.168.1.1, my address is 221.40.138.170.
Thank you.

Similar Messages

  • What are the normal settings to connect to wifi?

    I visited my friend over the weekend and her school required me to change my airport settings in order to connect to the internet. Ever since I got back, I have been unable to connect to my usual wifi source. If I can, it drops off after a few minutes. What are the normal settings to connect to wifi?

    As a minimum, the following would be the "normal settings" to connect your Mac to an unsecured Wi-Fi network. These settings can all be found in System Preferences > Network > AirPort or Wi-Fi > Advanced
    TCP/IP tab: Configure IPv4: Using DHCP
    Proxies tab: Nothing should be checked on this tab, except the "Use Passive FTP Mode (PASV)" option.
    Hardware tab: Configure: Manually
    On the Wi-Fi tab, you may also want to delete any Preferred Networks that you are not using.

  • My new 4s cannot send emails; emails are rejected by server. What are the correct settings?

    What are the correct settings when my new 4s can receive but will not send messages. The emails are rejected by the server,

    You're going to have to ask your e-mail provider. We don't have the slightest clue who that is, much less what the correct settings would be.

  • What are the correct settings for my WRT54GS for using remote access on a Windows Home Server?

    I can not remotely access my Windows Home Server from outside.  What are the correct settings for my WRT54GS?

    I have opened ports 80, 443,and 4125 to PCP.  The  router address is http://192.168.1.1, my address is 221.40.138.170.
    Thank you.

  • What are the correct settings for the Canon 5D mark II in FCP 7 ?

    I am shooting full HD at 23s97 fps.. tried making a preset for the Canon but when I import fils FCP always wants to change to appropriate settings for this file type but doesn't tell me what that is...
    (latest firmware installed)
    Please, can someone provide all the correct settings for me?
    And also, why doesn't the camera show up on the desktop/in the menus when attached to the mac? I have ro use EOS utility every time I want to get anything off of the camera... and FCP doesn't see it either. That's just not right - FCP MUST recognise my camera!! : (
    Please help - I don't want to start editing until I have the right settings for this footage.
    Thanks
    Jim

    Welcome to the Boards
    Not sure what you mean with the following, looks like a word dropped?
    I have ro use EOS utility every time I want to get anything off of the camera...
    Anyway, some more specs on your system could help point where the issue is. With the new Plug-In by Canon you can Log & Transfer from the Flash Card (not sure how you connected the camera.) Alternatively you could just drag the files in (but make sure to keep all files such as THM in case you use Log and Transfer later.)
    Generally it is best to transcode to Pro Res to be able to work with the files in Final Cut. (Log & Transfer should do that, or using Compressor/Mpeg Streamclip.)
    It (Final Cut) is probably changing the timeline to match the codec, or depending on your last preset used, just switching things around. In other words if you were editing in DV and had a set up for that, new sequences would default to that and if you try to ad anything else you will get the message.
    Take a look at the search over there -> to look for the Canon 5D threads for some more info.
    What I would do is just pull one of the clips in to start and look at what the sequence settings are aftr Final Cut changes them for you - they should be fine generally, though you will want to change Codecs to Pro Res.
    I like just batch conversion of all my clips from the 5D Markk II and then work from there. (I do not hook up the camera to the computer, just use a card reader.)

  • What are the correct settings for my wireless-n router?

    I was just upgraded at home with a Huawei HG8245 Fiber Optic Wireless-N router.  The default Setting is:
    WPA/WPA2 Pre-Share, TKIP/AES, Auto Channel and 20Mhz Channel Width.
    I cannot surf past 10 feet from the router.  I switched the Security to TKIP, and it goes to Wireless-G and I can surf all around my apartment.  I did AES only, goes back to Wireless-N, and again the 10 feet issue.  Selected WPA2 only...same thing.
    Any ideas or solutions?
    Paul

    I have opened ports 80, 443,and 4125 to PCP.  The  router address is http://192.168.1.1, my address is 221.40.138.170.
    Thank you.

  • What are the correct domain settings @ Go Daddy?

    I will set up a Mac Mini Lion Server using server assistant.  I bought a domain name from Go Daddy. What are the correct domain (DNS, host) settings @ Go Daddy - need step by step guide; thanks in advance.

    I do not fully understand how the PTR pointer works
    PTRs map IP addresses back to hostnames - also known as 'reverse DNS'.
    The way it works is that when you (or any client) looks up an IP address they first query the root servers that maintain a map of the main IP address allocations. You then query the server that's authoritative for the IP address in question. That server may respond, or may further delegate responsibility to another server.
    As an illustration, imagine a company - MegaISP - who's been allocated a large block of IP addresses - say 1.0.0.0 through 1.255.255.255. As an ISP they provide access service in all 50 states so they may further subdivide their network into chunks and delegate control of each chunk to a different server, e.g. 1.1.0.0 - 1.1.255.255 -> CA, 1.2.0.0 - 1.2.255.255 -> NY, etc.
    Now you, as a customer of MegaISP, connect to their server and are allocated a dynamic address from the 1.2.0.0 - 1.2.255.255 subnet - let's say 1.2.3.4
    When you perform a reverse lookup on 1.2.3.4 your query first goes to the root servers which say something like 'hey, those IPs are owned by MegaISP's DNS servers, so go ask them'. You then query MegaISP's main servers which then say 'hey, that IP is somewhere in the New York subnet, so go query the New York DNS server. Your query then goes to MegaISP's New York server that replies something like 'host-1-2-3-4.ny.megaisp.net' and that' your reverse lookup.
    (of course, this is greatly simplified, and the whole process takes a fraction of a second, but hopefully you get the idea).
    The problem you now have is that MegaISP have no idea what services you're running on your connection, so they just return a generic response (e.g. host-1-2-3-4.ny.megaisp.net) and not something that relates to your domain (e.g. www.yourdomain.net). Nobody knows to ask your DNS server what hostname your IP address should map to.
    In order for that last step, MegaISP either have to change their DNS servers to map your IP address to your domain name rather than the generic hostname, or they have to further delegate your IP address's lookup to your own server (i.e. add another link in the chain - like 'hey, that IP address is delegated to yourdomain.net, so go ask their server').
    Most ISPs are happy to either delegate or have a custom entry for your domain, but not on dynamic or residential-grade connections - it's not worth the time and effort to keep it up to date as your IP address changes, which is why it's typically only something that comes with business-grade services.
    and what limitations this will lead to
    Any service that relies on valid reverse DNS is doomed to fail. For the most part, http doesn't matter/care, but don't expect to run a mail server or certain other services.

  • What are the default settings for ethernet, shows connected but no internet

    What are the default settings for ethernet ? shows connected but no internet via ethernet.
    It used to work fine but I think i have changed something getting my airport to work.
    Now i only get internet via wifi.
    Thanks in advance

    From the menu bar, select
     ▹ System Preferences... ▹ Network
    Click the Assist me button and select Assistant. Follow the prompts.

  • What are the best settings to use for the newest AirPort Extreme (AC wifi) with my optimum online service provider?

    I have the current generation of the AirPort Extreme and a handful of devices that utilize the new 5Ghz A/C frequency. My internet speeds were blazing fast when I had first set it up but lately it has been lagging terribly. I was told that changing my dhcp did help, which it did it seems like it might be back to its normal speeds but I just want to know what are the best settings to configure for the airport so that I can get the most out of my service on all my devices? I'm using a CAT 6 cable which does help, I have a guest wifi setup with a wifi password which I understand will slow it down a little. Can anyone just point me in the right direction or just give me a step by step guide on what settings to configure? Should I really consider turning off the guest network?

    I am assuming that you are looking to configure your network to provide the highest level of bandwidth possible for your network clients. If that is the case, the following are a few things to consider:
    The Internet modem should support Gigabit Ethernet. That is the Ethernet connection between the modem and your 802.11ac AirPort Extreme should be Gigabit Ethernet.
    Use CAT-5e or CAT-6 Ethernet cables between all wired connections.
    Only expect 802.11ac performance with 802.11ac clients in the same room as the base station.
    Eliminate or significantly reduce any forms of Wi-Fi interference on both the 2.4 & 5 GHz bands.
    When streaming, especially HD video on your local network, use wired connections between the host and player devices when possible.
    Other than the above suggestions there are no "magic" settings that you can make on your AirPort. Note: The Guest network shares the same bandwidth as the "main" network. Unless you have a network goal to provide this type of network, it is best left disabled.

  • What is the correct procedure to connect and collect events from IPS through SDEE

    What is the correct procedure to connect and collect events from IPS through SDEE?
    We are a 3rd party application, that needs to collect and analyze the IPS events for a client.
    Currently the approach we are following is
    1) get a SubscriptionId using the URL below
    https://IP_Of_IPS/cgi-bin/sdee-server?action=open&events=evIdsAlert&force=yes
    This gets us a subscriptionId which is used in step 2
    2) Collect events from the url below
    https://IP_Of_IPS/cgi-bin/sdee-server?confirm=yes&action=get&subscriptionId=sub-sample&startTime=1362699903575432000
    a few more notes here are
    - starttime is current time in nanoseconds
    the peculiar problem here is that, even though we specify todays date, SDEE returns us the events from mid Feb (today is march 7)
    we did try a few combinations, but are out of ideas.
    any help or direction would be appreciated

    This is more an application issue than an IPS issue.
    Have you compared your app against other apps [IME]?

  • What are the ideal settings for my TC with Shaw's Cisco DPC3825 router/modem

    My old 2nd Gen Time Capsule crapped out and now I am about to set up my new 2TB TC.  My provider is Shaw Communications and they have upgraded me to their Broadband 100 Mbps service.  This came with a new modem/router combo made by Cisco and is model DPC3825.  Before I start plugging things in I'd like to know what are the ideal settings such that I gain the most of the BB100 service.  Should I be setting the Cisco modem/router to Bridge mode or the TC?  Should I have Shaw disable anything?  Any insight is greatly appreciated.

    Unless you specifically need to have the TC perform as the main router for your network, life will be a lot easier if you configure the TC to operate in Bridge Mode.
    Whether the Cisco modem/router or gateway can possibly be configured to act as a simple bridge mode modem is one thing to consider.
    Whether Shaw would support you in the event of any connection difficulties with the modem/router configured this way is another.
    Since Shaw is your provider, it might make sense to talk with them about best practice as far as configuring the DPC3825.
    Once you have that information in hand, you will then have the answer on how best to configure the TC.....which will very likely be in Bridge Mode.

  • What are the best settings for ripping cd's in the AAC format?

    I have researched and found out that the AAC format rules over the MP3 format as fas as sound quality goes with lossy formats. Example: AAC at 128 is better than MP3 at 160 as so forth. My questions are: What are the best settings for ripping cd's in the AAC format? Will I be able to burn cd mixes with the tracks I import into itunes after importing using the AAC format? Does the AAC format have VBR like the MP3 format? Is there other ripping software such as dbPoweramp and Exact Audio Copy that does a better job ripping cd's in the AAC format? Please help!

    mysteryroach wrote:
    My questions are: What are the best settings for ripping cd's in the AAC format?
    It is a matter of opinion, but I suggest 256 kb/s, CBR, and leave all other settings on automatic.
    Will I be able to burn cd mixes with the tracks I import into itunes after importing using the AAC format?
    Yes. Just put them in a playlist and burn.
    Does the AAC format have VBR like the MP3 format?
    Yes. You will see it as an option in the Import Settings.
    Is there other ripping software such as dbPoweramp and Exact Audio Copy that does a better job ripping cd's in the AAC format?
    EAC does a better job of correcting errors in damaged CDs, but for normal CDs iTunes does a fine job of ripping to AAC.

  • What Are The Correct Gray OS X Discs For This Imac?

    I got a free 700Mhz G4, 15" Screen, 512mb Ram, 40GB HDD and I was wondering what are the correct OS X discs (Gray) that came with this Mac?
    There has to be a serial or model number right? I have Leopard installed on it and I missing having the DVD player so could I connect the iMac to my PowerMac G5 using Target Disc Mode, and then install Panther or Tiger onto the iMac through it?

    Liquidus wrote:
    I got a free 700Mhz G4, 15" Screen, 512mb Ram, 40GB HDD and I was wondering what are the correct OS X discs (Gray) that came with this Mac?
    The correct Mac OS restore discs are Mac OS X 10.1.2 and Mac OS 9.2.2. I have restore discs for a 600MHz Late 2001 iMac G3, which has the same identical software as the iMac G4. That part number for the disc set is 603-0372.
    For the second part of your question, you can install Panther or Tiger through Target Disc Mode from your PM G5.
    -Brian

  • What are the security settings to lock down a form with fillable fields and yet allow someone with Reader to fill in the fields as will as save the form and print it?

    What are the security settings to lock down a form with fillable fields and yet allow someone with Reader to fill in the fields as will as save the form and print it?

    You want to allow someone to open your document and fill out the form (in the fields you have created), but not change or edit the form, right? Here's the answer - assuming you are using Acrobat Pro and someone will be opening the PDF using at least Acrobat Reader 9 and up:
    Tools > Protection > Encrypt < Encrypt with Password
    Answer YES to change the security.
    A new window opens:
         Do NOT select Document Open (or that will require a password to open the document.)
         Select: Permissions (Check the box next to "Restrict editing and printing of the document.")
         Change the following 2 settings from the drop-down box:
              Printing Allowed: Select High Resolution
              Changes Allowed: Select Commenting, filling in form fields, and signing signature fields
              Leave selected: "Enable text access for screen reader devices for the visually impaired"
              Change Permissions Password (insert a strong password)
              Leave all other settings alone in "Options"
              OK - OK
              Re-enter the Permissions Password (the one you entered above)
              OK - OK
              Save the PDF to apply the security [notice that (SECURED0 will appear after the document title]

  • 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");

Maybe you are looking for