Code: right or wrong

Write a code that prints all numbers between 0 and 36.
public class Printnumbers
     public static void main(String[] args)
                    for (int i = 0; i < 37; i = i++) { // Test and Loop
                     System.out.println( i++);
     }

Then you answered your own question.
However this is wrong:
i = i++Search the forum (or net) for the reason why as this has been discussed numerous times. The reason your code works is because you increment i inside the print statement.

Similar Messages

  • I have put my itune code on the wrong email address how can i transfer it to my new address please?

    I have put itune code on the wrong email address how can I transfer it to my current email address please?

    Try contacting iTunes:
    Apple - Support - iTunes - Contact Us
    http://www.apple.com/support/itunes/contact/or here if the  purchase shows in your purchase history.
    How to report an issue with Your iTunes Store purchase

  • Formula column right or wrong

    hi frds
    i just want to know whether this formula colum in report builder is right or wrong
    function CF_1Formula return Number is
    X NUMBER;
    begin
    SELECT sum(ABS(nvl(TRAN.QUANTITY,0))) INTO X
    FROM RCV_TRANSACTIONS TRAN,RCV_SHIPMENT_HEADERS RCV,PO_LINES_ALL PL
    WHERE TRAN.TRANSACTION_TYPE ='RECEIVE' AND TRAN.PO_HEADER_ID = :PO_HEADER_ID
    AND TRAN.SHIPMENT_HEADER_ID = :SHIPMENT_HEADER_ID
    AND TRAN.SHIPMENT_HEADER_ID = RCV.SHIPMENT_HEADER_ID
    AND RCV.RECEIPT_NUM=:RECEIPT_NUM
    AND TRAN.ORGANIZATION_ID=:organization_id
    AND TRAN.PO_LINE_ID = PL.PO_LINE_ID
    and pl.item_id=:inventory_item_id;
    RETURN(X);
    end;

    right

  • Is this (mail sending form) code right ?

    I'm not a developer , my boss gave me this php code for sending form data to his mail ..
    is this code right cuz it doesn't seem to work fine ?
    <? php
    $to = "[email protected]";                                                                                                                     
    $cc = "[email protected]";                                                                                                                     
    $bcc = "";                                                                                                                     
    $subject = "Tailor Request Form";                                                                                                                     
    $msg = "                                                                                                      
    <table border=\"1\" width=\"600\">
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Titel</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$title."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Name</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$name."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Country</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$country."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Phone</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$phone."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>E-mail</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$Email."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Tour Package</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$TravelType."</td>
    </tr>
    </table>";                                
    $from = "From: ".$_POST['Email'];                                                    
    $html = "Content-Type: text/html";                                                    
    $headers = $html."\r\n".$from."\r\n".$cc."\r\n".$bcc."\r\n";                                                    
    //$headers .= "cc: [email protected]\r\n";                                                    
    mail($to, $subject, $msg, $headers);?>

    <?php
    $to = "[email protected]";                                                                                                                      
    $cc = "[email protected]";                                                                                                                      
    $bcc = "";                                                                                                                      
    $subject = "Tailor Request Form";                                                                                                                      
    $msg = "                                                                                                               
    <table border=\"1\" width=\"600\">
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Titel</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$title."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Name</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$name."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Name</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$last_name."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Country</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$country."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Phone</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$phone."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Fax</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$fax."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>E-mail</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$Email."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Tour Package</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$TravelType."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Transportation</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$DTransportation."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Number Of Persons</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$NumberofPersons."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Number Of Children</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$NumberofChildren."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Single Room</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$SingleRoomNo."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Double Room</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$DoubleRoomNo."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Twin Room</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$TwinRoomNo."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Triple Room</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$TripleRoomNo."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><b><font face=\"Verdana\" color=\"#000000\" size=\"2\">1<sup>st</sup> City of Interest</font></b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$CitiesToVisit1."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><b><font face=\"Verdana\" color=\"#000000\" size=\"2\">2<sup>nd</sup> City of Interest</font></b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$CitiesToVisit2."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><b><font face=\"Verdana\" color=\"#000000\" size=\"2\">4<sup>th</sup> City of Interest</font></b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$CitiesToVisit4."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><b><font face=\"Verdana\" color=\"#000000\" size=\"2\">5<sup>th</sup> City of Interest</font></b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$CitiesToVisit5."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Between Aswan and Luxor</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$TransportationFromAswanToLuxor."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Preferable Arrival Dates</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$ArrivalDay." - ".$ArrivalMonth." - ".$ArrivalYear."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Preferable Departure Dates</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=lift><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$DepartureDay." - ".$DepartureMonth." - ".$DepartureYear."</td>
    </tr>
    <tr>
    <td width=230 valign=\"middle\" align=\"right\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=right><font face=\"Verdana\" color=\"#000000\" size=\"2\"><b>Special Interests</b></td>
    <td width=370 valign=\"middle\" align=\"left\"><p style=\"MARGIN-LEFT: 5px; MARGIN-RIGHT: 5px\"
    align=justify><font face=\"Verdana\" color=\"#000000\" size=\"2\">".$SpecialInterests."</td>
    </tr>
    </table>";                                
    $from = "From: ".$_POST['Email'];                                                    
    $html = "Content-Type: text/html";                                                    
    $headers = $html."\r\n".$from."\r\n".$cc."\r\n".$bcc."\r\n";                                                     
    //$headers .= "cc: [email protected]\r\n";                                                    
    mail($to, $subject, $msg, $headers);                                   
       ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Delta Tours Egypt</title>
    <style type="text/css">
    </style>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryAccordion.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div id="wrapper">
      <div id="header"></div>
      <div id="menu">
        <ul id="MenuBar1" class="MenuBarHorizontal">
          <li><a href="about_egypt/about_egypt.html" class="MenuBarItemSubmenu">About Egypt</a>
            <ul>
              <li><a href="about_egypt/people.html">People</a></li>
              <li><a href="about_egypt/climate_clothes.html">Climate &amp; Clothes</a></li>
              <li><a href="about_egypt/transportation.html">Transportation</a></li>
            </ul>
          </li>
          <li><a href="cities_info/cities_info_main.html" class="MenuBarItemSubmenu">Cities Info</a>
            <ul>
              <li><a href="#">Cairo</a></li>
              <li><a href="#">Luxor</a></li>
              <li><a href="cities_info/aswan.html">Aswan</a></li>
              <li><a href="cities_info/red_sea.html">Red Sea</a></li>
              <li><a href="cities_info/sinai.html">Sinai</a></li>
              <li><a href="#">Oasis</a></li>
            </ul>
          </li>
          <li><a href="#">Hot Deals</a>      </li>
          <li><a href="#">Tailor Mode</a></li>
          <li><a href="about_us/about_us.html">About Us</a></li>
          <li><a href="contact_us.html">Contact Us</a></li>
        </ul>
      </div>
      <div id="mainMenu">  <ul>
    <li><a href="index.html">Home</a></li>
    <li><a href="tours/tours_main/classical_tours.html">Tours</a></li>
    <li><a href="hotels/hotels_home.html">Hotels</a></li>
    <li><a href="#">Cruises</a></li>
    </ul></div>
      <div id="content">
       <div id="conTop"></div>
       <div id="conBg">
          <div id="spotlight">
           <p><strong><em>Your information has been submitted <br />
            one of our operators will contact you within<br />
    24 hours for further details </em></strong></p>
    <h5 class="signature"><em><strong>Delta Tours Team </strong></em></h5>
                  <br class="clear" />
         </div>
         </div><div id="conBot"></div>
    </div>
         <div id="footer">
      <div id="footerTop"></div>
      <div id="footerMid">
        <p>Home | Tours | Hotels | Cruises | About Egypt | Cities Info | Monuments & History | Hot Deals | Tailor Made | About Us | Contact Us | links</p>
        </div>
      <div id="footerBot"></div>
      </div>
    <div id="copyRight">deltatoursegypt.com © 2012 .All rights reserved.</div></div>
    </div>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    </html>

  • Firefox, when clicked, said IMPORTANT update,pressed enter! But then download went on forever? I didn't trust it, so cancelled download- Right or wrong?? Thanks

    yes, when I pressed enter, the horizontal "tube" never quite filled up, if you know what I mean! I didn't recognise this format & it was taken so long (minutes) I thought it was fraudulent . . was I right or wrong???

    Do you memeber the complete wording of the error message?
    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iPod fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar

  • All Ipad 4 wifi   cellular are unlocked, right or wrong?

    All Ipad 4 wifi   cellular are unlocked, right or wrong?

    Right. Look at the specifications. http://www.apple.com/ipad/specs/

  • Seems simple enough right? Wrong!

    Okay hopefully someone on here can help me. I am using Illustrator CS5 and I am working on a document. I'm trying to put a logo on top of another item created by the pen tool. seems simple enough right? Wrong, the software will not let me use object>arrange>bring to front or Cmd ] and cmd [ is there something that i'm doing wrong? I've redrawn the shape and it still won't let me, I've brought in the logo again, it won't let me, i've done a host of other things and it still won't let me put that stupid logo on top of the cloud (what i drew with the pen tool)
    Thanks!

    Not sure what you mean. Why is there more than one layer?
    It could be that you intentionally created additional layers. It could be that you unintentionally created additional layers. It could be that you hit Cmd L some day. It could be that you pasted objects while Paste Remembers Layers was turned on. Or something else.

  • HT201269 Is there a right, and wrong way to plug the lightning connector into the phone?

    The lightning connector dosen't want to plug into the slot and I don't want to force it, ... is there a right and wrong way to do this bisic and simple step?  Thanks

    No, it is a reversible plug. Either way is fine.
    Just make sure you plug it in straight until it "clicks" into place. It may take a bit of force if new, but check there's nothing in the port first.

  • Creating a test in PDF: Is it possible to create Right and Wrong answer fields in PDF?

    Very new to this.  I may be way off, but Im trying to create a test for some students to do in class.  Is it possible to create fields that turn green when right and red when wrong?  Also can you have a field that accumulates the right answers to give a score?

    Sure you can, with a bit of JavaScript. What sort of fields will you be using and what part of the field do you want to be green or red?

  • I want to upgrade(iOS 8.1.1) iphone 4S. A code is asked. I entered my sim code... wrong. Which code do I have to use?

    I have an iphone 4S... and not enough space to make the upgrades.
    Getting started, using iTunes. My iphone asked my code. I gave in the sim code.. wrong. First wrong code... so I don't try anymore, because I'm afraid my iphone will not work anymore if I give 3 wrong codes...
    Can anybody tell me which code I have to use?

    hito1956 wrote:
    I have an iphone 4S... and not enough space to make the upgrades.
    Getting started, using iTunes. My iphone asked my code.
    What is the exact message you are getting when it asks for a code?

  • Can some body tell me where my code is going wrong

    I have been trying to print a jTextArea and have been having trouble. Can some body look at my code and tell me where I am going wrong please, Thank You.
    I have pasted the code below. P.S. I have only attempted to print the jTextArea I have not done anything else. The program was written in the hope that I could learn how to print a jTextArea and no other function in an aim to transfer the successful code to other applications that I enter information into the jTextArea.
    * print.java
    * Created on 05 August 2007, 23:34
    package my.print;
    * @author morgan
    import java.awt.print.*;
    public class print extends javax.swing.JFrame {
    /** Creates new form print */
    public print() {
    initComponents();
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">
    private void initComponents() {
    jScrollPane1 = new javax.swing.JScrollPane();
    jTextArea1 = new javax.swing.JTextArea();
    jButton1 = new javax.swing.JButton();
    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    jTextArea1.setColumns(20);
    jTextArea1.setRows(5);
    jScrollPane1.setViewportView(jTextArea1);
    jButton1.setText("jButton1");
    jButton1.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    jButton1ActionPerformed(evt);
    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
    getContentPane().setLayout(layout);
    layout.setHorizontalGroup(
    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(layout.createSequentialGroup()
    .addGap(88, 88, 88)
    .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addComponent(jButton1)
    .addContainerGap(67, Short.MAX_VALUE))
    layout.setVerticalGroup(
    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(layout.createSequentialGroup()
    .addGap(95, 95, 95)
    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addComponent(jButton1)
    .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
    .addContainerGap(109, Short.MAX_VALUE))
    pack();
    }// </editor-fold>
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
    try {
    jTextArea1.print();
    } catch (java.awt.print.PrinterException exc) { // ... }
    * @param args the command line arguments
    public static void main(String args[]){
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    new print().setVisible(true);
    // Variables declaration - do not modify
    private javax.swing.JButton jButton1;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JTextArea jTextArea1;
    // End of variables declaration
    }

    sorry i hope that this preserves the code.
    * print.java
    * Created on 05 August 2007, 23:34
    package my.print;
    * @author  morgan
    import java.awt.print.*;
    public class print extends javax.swing.JFrame {
        /** Creates new form print */
        public print() {
                initComponents();
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        // <editor-fold defaultstate="collapsed" desc=" Generated Code ">
        private void initComponents() {
            jScrollPane1 = new javax.swing.JScrollPane();
            jTextArea1 = new javax.swing.JTextArea();
            jButton1 = new javax.swing.JButton();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            jTextArea1.setColumns(20);
            jTextArea1.setRows(5);
            jScrollPane1.setViewportView(jTextArea1);
            jButton1.setText("jButton1");
            jButton1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton1ActionPerformed(evt);
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(88, 88, 88)
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(jButton1)
                    .addContainerGap(67, Short.MAX_VALUE))
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(95, 95, 95)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(jButton1)
                        .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addContainerGap(109, Short.MAX_VALUE))
            pack();
        }// </editor-fold>
        private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
    try {
        jTextArea1.print();
    } catch (java.awt.print.PrinterException exc) { // ... }
         * @param args the command line arguments
        public static void main(String args[]){
            java.awt.EventQueue.invokeLater(new Runnable() {
                 public void run() {
                    new print().setVisible(true);
        // Variables declaration - do not modify
        private javax.swing.JButton jButton1;
        private javax.swing.JScrollPane jScrollPane1;
        private javax.swing.JTextArea jTextArea1;
        // End of variables declaration
        }The preview looked correct. Thank you for the URL. I have been writting my program in netbeans 5.5.1. unfortunately it simplifies the code that you have to put in but at the same time it makes it difficult to follow code examples that are intended to develope the whole of the code from scratch. I have tried looking at the netbeans guidance documentation but find that it doesn't always work even when I follow the direct code for the demonstrations. Anyway thanks for the guidance and for getting back to me so soon.

  • Right thumbnail, wrong images

    I'm using iMovie 11 (9.0.2) on a 2010 MBP with 500GB of hard drive and 8GB RAM.
    I sat down this weekend to put together a video for a friend - ten minutes of scanned stills and ripped-from-DVD videos with a separate narration track.
    I did it in 10 separate sequences - each sequence its own project - and they all worked fine. Then I created a new project into which I was going to put together all ten sequences.
    I got five of them in just fine, but when I put in the sixth one, I started getting anomalies. A thumbnail for a picture of one person now contained pieces of stills of other people I'd already put in. (In other words, a few stills from the first minute of the project now showed up in minute six under the thumbnail of the still that was supposed to go there).
    It was weird. I tried it agin. Dragged the correct still into place ... saw the right thumbnail ... but when I played it, I saw images that I'd already cut in earlier. I had no problem with any of the video segments I'd inserted ... only a few jpegs.
    I tried deleting and re-inserting ... same problem. I tried creating a new project and just starting with minute six, and got the same problem. I closed and re-opened iMovie - same problem. I re-botted. Same problem. It seems like I hit iMovie's limit for ... I don't know ... something.
    Since I needed to get this done, I just created QuickTime movies of each sequence, and married them all together in Final Cut Express, which worked fine. But I'd love to know if there's some way I could have finished this project in iMovie.
    Has anyone seen this anomaly - the thumbnail is right but when you play the sequence the images are totally wrong?
    Thanks in advance for any advice you can offer ...

    I had the same issue today. The thumbnail footage appears correct, but I can't play it to preview it. If I select a portion and put it in a project, I can play, but I can't play it in the preview/event library section. Very strange.
    Anyone have a fix idea?

  • HT204088 security code says its wrong but its not

    itunes always says my security code is wrong but it is not wrong

    Well, the answers ARE case sensitive.  That could be the issue.  You may want to reset them and then you would be sure that they are in the correct format.
    http://support.apple.com/kb/HT5312
    If you established a rescue email address, there will be a link on the "Passwords & Security" page of id.apple.com.  Clicking the link will send the reset to your rescue email address (NOTE:  This is not the same address as your Apple ID email)
    If there is no link on the page, then you didn't establish a rescue email address.  Contact AppleCare at 800.694.7466, and ask for account security.  You will need to answer some questions to verify your identity, AND you will need access to a computer to generate a temporary support pin.
    HTH

  • Is my code right?(J2ME socket communication)

    If i run this code in my emulator i get i get an IOException at at com.sun.cldc.io.j2me.socket.Protocol.openPrim(+7)
    Can u please tell me where i've gone wrong.
    Thanks
    Here goes the code...
    try
    com.sun.cldc.io.j2me.socket.Protocol p = null;
    String url = "socket://10.0.1.244:2500";
    p = (com.sun.cldc.io.j2me.socket.Protocol)Connector.open(url,Connector.WRITE,true);
    DataOutputStream dos = p.openDataOutputStream();
    dos.writeUTF("this is my message");
    dos.flush();
    dos.close();
    }catch(IOException e)
    e.printStackTrace();
    }

    hi.
    can anyone plz show how to send a PNG image file through a raw socket (from a j2se server to a midlet) ???
    your code looks ok, nhikaripur.
    thanks

  • HT201365 I updated my software Wide. The update completed but when I wanted to open the device access code is required, I typed in the code can be wrong then the device is locked . at pelefon .said the solution is to delete everything on the

    I updated my softwarew in my iphone. The update completed but when I wanted to open the device, access code is required, I typed . the code, it can be wrong i try again but then the device is locked. at pelephone corporetion  said the solution is to delete everything on the device and
    . Reinstall the software
    . Is there no other solution' may be i can cancel  the code

    You can only add music to iTunes Match from your iTunes library on your computer, not from your iOS device.  If you have music on your iPad that is not on your computer, you'll have to import it to your iTunes library on your computer to add it to iTunes Match. 
    Music purchased from the iTunes store can be imported directly to your iTunes library by authorizing your computer for the Apple ID(s) used to purchase the music (in Store>Authorize This Computer), then connecting the iPad to your computer, opening iTunes and going to File>Devices>Transfer Purchases.  Music from other sources will require using 3rd party software to transfer to your computer, such as Touch Copy.

Maybe you are looking for

  • No sound on TV with mini DVI to HDMI cable.  Macbook, white, 2008-9 13"

    Picture is fine, mirroring turned on, using mini dvi converter into HDMI on a new Samsung flat screen.  Want to avoid using additional cable from earhone plug to RCA plug in TV.  Thanks

  • Customization of reports

    Hi, In case of customisation of a report SAP FI Functional consultant has to work with ABAP people... Can anyone please let me know with an example, how a FI Functional Consultant discuss about the new report requirement with ABAP team? I mean for th

  • Audio CD not appearing in source list

    Since installing the latest version of Itunes I have not been able to get audio cd's to show up in the source list. I am able to eject the disc with the icon in the lower right hand corner and the songs will play if I manually open them in My Compute

  • How do you change the ordering of data in the iPhone Addressbook?

    I have noticed that when I manually enter contact information into the iphone addressbook I can control the order in which numbers appear. For example I like to have my phone numbers in the order, Work -> Home -> Mobile -> Fax. On the desktop address

  • Https site with no mixed content and EV cert is shown as mixed and not identifiying itself

    My site https:orderform page contains only https images and website has an EV cert that is valid and current. With history cleared and visiting page for first time Firefox reports that page contains mixed content and that site does not identify itese