What is the correct cable to go from from macbook to my TV - toshiba 24V4210U

As above, what is the correct cable, and port, to use for watching videos and photos from my macbook on my TV -
1080p HD    24V4210U
I live overseas where macs and their accessories are not available so I need to purchase this while on a visit to the USA. Thanks!

Depends on what input plug you'll be using on your TV. VGA, DVI or HDMI. You'll need a Mini DisplayPort adapter and a cable from that to your TV. Here's the various types of Mini DisplayPort adapters on Amazon.com http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=min i-dvi&x=9&y=13#/ref=nb_sb_ss_sc_2_16?url=search-alias%3Daps&field-keywords=mini+ displayport&sprefix=mini+displayport&rh=i%3Aaps%2Ck%3Amini+displayport
Mini displayPort

Similar Messages

  • 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.

  • What is the correct process to return errors from an Event Handler

    I have a pre-Create and pre-Modify Event Handlers. If the event handler detects an error, I want to throw an exception back to terminate the create user or modify user event. I also want to display a meaningful error message on the OIM UI. In my pre-modify event handler I am throwing the following exception when an error is detected:
    throw new EventFailedException(processId, null, "User ID not available", "", "MODIFY", null);
    However, the OIM UI is not displaying the message "User ID not available" as I want it to. Instead it is displaying the following error message:
    An error occurred. The corresponding error code is IAM-0080062
    Does anyone know where that error code is coming from? My event handler is not doing that. Also, does anyone know where I can find any documentation on the proper use of the EventFailedException? What do the parameters mean? How do I get a meaningful error message to display on the OIM UI?
    Thank you for any help here.
    -Dave

    Please try to cancel the PO 1st and then Cancel Sales order...
    Refer following note id
    How to Cancel a Drop Ship Order Line (Doc ID 393688.1)
    Thanks

  • What is the correct way to transfer data from old hard drive to new Crucial SSD on a mid 2010 13" MBP

    I just bought an Crucial M550 256GB for my mid 2010 MBP. And I'm not clear on the data transfer instructions.
    1) it came with Acronis instalation kit with a blank CD and a usb cable. I'm not sure what this CD is used for?
    2) is it best to install the SSD with a fresh OSX download and then just use time machine to load all my previous settings?
    3) or do I partition the SSD before I install it in the MBP and transfer using a clone?
    Not sure what to do here...

    Well, I am not familiar with the Crucial kit you got - you might want to ask them about that blank CD...... however, I did install an SSD and this is what I did:
    I ordered a kit from OWC which included an external USB hard drive enclosure and tools. When it arrived, I first installed it in the external enclosre, hooked it to my MBP and then used CarbonCopyCloner to make a full bootable clone of my system on the new SSD after formatting it to Mac OS Extended (Journaled) and the GUID partition scheme. I then uninstalled the internal, installed the SSD in its place (following the install video availabe at OWC) and booted up - that was it. I installed the old internal drive into the external enclosure for an instantaneous bootable cbackup.

  • What is The correct way to remove duplicates from the iTunes library?

    I have a 300GB external drive which over the last 5 years has got bloated with duplicate tracks.
    If I use the show duplicates option, I see 10,479 songs totalling over 50GB. Now, those songs that are shown, do they include the original that they are a duplicate of, or are they JUST the duplicates?
    I have been sorely tempted to select all and delete to the trash, but I want to be 100% sure I don't delete any originals. Also, there are some duplicate tracks that are genuine dupes, for example, I have an original LP with a particular track on it, but then that exact track appears on a compilation LP, so I don't want to remove the compilation LP tracks as then the compilation is incomplete.
    I have Tidy Up installed, but I'm a bit wary to use it as I want to be 10% sure I do the right thing, it's a lot of money to lose, and I'm a DJ, so this is thousands of conversions from my vinyl collection and stuff purchased and ripped from CD.
    I see many methods of getting rid of duplicates but no definitive answer for someone in my position.
    Many thanks all!

    Akuwa wrote:
    This is supposed to be a fix to the result from SQL. Currently no access to the SQL code so we have to fix in he Java code...Then really, whoever said you couldn't change the SQL has absolutely no right to turn around and demand the fastest way to remove the duplicates in Java. It's almost certain that the fastest way to remove the duplicates would be for the SQL not to select them in the first place, so if you don't permit changing the SQL then it's clear you aren't interested in the fastest way.

  • What is the best cables to hook my 08 macbook pro  to my older 2000 hdtv

    I would like to use my macbook pro for video streaming and hook it up to an older mitsubishi hdtv?

    Your MBP should have an output port that looks this:
    (on your MBP, it should appear the same as what is labeled as the adapter end)
    This called a DVI connection.
    Does your TV have an input port that looks like this?
    (it should look like the 'adapter end' on your TV)
    This is called a VGA connection.
    Or does it have a conection that would take a plug shown on the bottom?
    The above addresses only video.  For sound you will need an extension from your audio output port (same plug on one end as your earphones have and a female input on the other end)  You then will need a 'Y' adapter with a plug connecting to the extension and splitting into two RCA male connectors to connect to the TV.
    Let me know how you do.
    Ciao.

  • Hey guys. I want to connect my MacBook to my Samsung television and don't know what cable to purchase. It's a five year old machine and I presume a fairly simple solution but would appreciate it if someone could link me up to the correct cable to buy.

    Hey guys. I want to connect my MacBook to my Samsung television and don't know what cable to purchase. It's a five year old machine and I presume a fairly simple solution but would appreciate it if someone could link me up to the correct cable to buy.
    Thanks,
    Todd
    UK

    Depends on what input plug you'll be using on your TV. VGA, DVI, Composite or HDMI. You'll need a Mini-DVI adapter and a cable from that to your TV. Here's the various types of Mini-DVI adapters on Amazon.com http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=min i-dvi&x=9&y=13
    (Composite is the red, white and yellow RCA plugs on your TV or red, white and S-Video plugs.)
    You'll also need audio cables to the TV using a 3.5mm stereo headphone jack to RCA sound plugs for VGA, DVI or Composite. You attach it from the headphone jack of your MacBook to the appropriate input plugs on your TV http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=min i-dvi&x=9&y=13#/ref=nb_sb_ss_i_2_19?url=search-alias%3Daps&field-keywords=macbo o k+audio+cable&sprefix=macbook+audio+cable&rh=i%3Aaps%2Ck%3Amacbook+audio+cable
    If you connect the MacBook using a Mini-DVI to HDMI adapter you will probably need to use external speakers or a 3.5mm stereo headphone jack to RCA sound plugs connected to a stereo system for audio if your TV doesn't have separate RCA input plugs or a 3.5mm stereo input plug for audio with the HDMI plug. The Mini-DVI to HDMI doesn't carry audio and there're no audio plugs on most TVs to work with HDMI since it's expecting audio with the HDMI.

  • Sometimes my computer takes too long to connect to new website. I am running a pretty powerful work program at same time, what is the best solution? Upgrading speed from cable network, is it a hard drive issue? do I need to "clean out" the computer?

    Many times my computer takes too long to connect to new website. I have wireless internet (time capsule) and I am running a pretty powerful real time financial work program at same time, what is the best solution? Upgrading speed from cable network? is it a hard drive issue? do I only need to "clean out" the computer? Or all of the above...not to computer saavy.  It is a Macbook Pro  osx 10.6.8 (late 2010).

    Almost certainly none of the above!  Try each of the following in this order:
    Select 'Reset Safari' from the Safari menu.
    Close down Safari;  move <home>/Library/Caches/com.apple.Safari/Cache.db to the trash; restart Safari.
    Change the DNS servers in your network settings to use the OpenDNS servers: 208.67.222.222 and 208.67.220.220
    Turn off DNS pre-fetching by entering the following command in Terminal and restarting Safari:
              defaults write com.apple.safari WebKitDNSPrefetchingEnabled -boolean false

  • 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]?

  • Transfer ADOBE creative Suite from an old Mac to a new Mac, I have the code but I don't have a CD. What are the correct steps?

    Hi
    I bought a new Mac and I want to transfer my Adobe Creative Suit CS6 to it from my old one. What are the correct steps? Please note that I don't have a CD because I downloaded it via the net. It was an upgrade for the student edition. I heard something about deactivation and reactivation but I don't want to do something wrong then lose my precious software. Please help. Thanks.

    You can download the software and install it using the page linked below.
    CS6 - http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html
    You are allowed to have the software installed and activated on two machines, so there should be no reason to deactivate it on your other machine, or at least you can wait until you see it loaded and working on the new one.

  • 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!

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

  • Everytime I use IE, first I have to click on the IE bar to allow blocked contect to display. What is the content that is being blocked from IE? viewers may not know what the problem is and see my site totally out of format.

    Everytime I use IE, first I have to click on the IE bar to allow blocked contect to display. What is the content that is being blocked from IE? viewers may not know what the problem is and see my site totally out of format.

    discoveriweb wrote:
    This is iweb development where after publishing, things look different in IE than other browsers. U r correct that this is due to IE software but is iWeb related. After all, one uses iweb not to just publish in Safari but for all browsers.
    Which means that you are only considering half of the problem, but that's your choice.
    I'm out.

  • What is the correct procedure for upgrading to aperture 3.4

    I am working in South Sudan and am shortly going to be in a place where I can download all the updates. The last time I did an update was around 2 weeks ago.
    I presume that there will be updates for Mountain Lion, iPhoto and Aperture, plus a whole pile of iOS updates. From the support questions I see that there is a number of people having problems.
    I presume that the first thing to do will be to rebuild the library of aperture.
    What is the correct procedure after that?

    If I do an upgrade through AppStore, and find it does not work, do I uninstall first by removing to trash? What do you mean by revert to an earlier version, and which previous version of Aperture should I use.
    Neville,
    So you did buy Aperture from the AppStore?
    Then move the Aperture application to the Trash, but do not empty it, just in case
    Sign into the AppStore and reinstall. In this case you do not need to revert to an earlier version. If the AppStore installer does not find an Aperture in your Applications folder, it will have to make a full install, and no incompatible frameworks should remain, as is the problem with the partial upgrades right now.
    Yes, I have a bootable clone,
    And have you checked, if you really can boot from your clone? Just being very cautious.
    Do you use facebook? Some posters are having problems, even after reinstalling, if the want to publish to Facebook. Post back, if you encounter that problem.
    Good Luck
    Léonie

Maybe you are looking for