Is there a way to draw a straight line from one point to another?

Is there a way of drawing a straight line from one point to another please?

Yes.  First click on this icon:
Now select the line drawing icon:
Now press a shift key and drag your mouse on the image to draw a straight line.
These instructions are for Windows system so you need to adapt the method for Macs.  I can't afford to by an Apple Mac!!!!!
Good luck.

Similar Messages

  • Is there a way to move multiple Calendar items from one date to another?

    Hello. I have far too many Calendar items every day in my iCal. Until I finally pare them down to a reasonable level, I need to "reschedule" all of my unfinished ToDo items and reminders, to another day, later in the week.
    There doesn't seem to be any "Select All" feature available.
    Is there a way to move multiple Calendar items from one date to another?
    Thanks in advance!

    Still no ideas? Apple, please come up with a fix. Thanks.

  • I redeemed a giftcard in one of my accounts, and realized I wanted to redeem it in another. Is there a way I can transfer the money from one account to another, without being billed to my credit card?

    I redeemed a giftcard in one account and realized I wanted to use it in another. Is there a way I can transfer the money from one account to the other without billing my credit card?

    You can't transfer money between accounts.  You can, however, gift items by clicking the arrow to the right of the price, which will achieve the same ends.  It should work for everything except rentals.

  • How to see my code drawing a line from one point to another

    hi, im wondering if you could help me.
    i am working on my project which is to visualise travelling salesman heuristics.
    i have managed to make my first heuristic work, but my problem is that when i clicked the run button on my GUI,
    the output is already a complete tour with all the edges already drawn, but what i want is to see how it solves or draw the lines from one vertex to another just by clickin the run button once.
    would be great if you could advice me of what method or technique i need to use to see my application solving the tour or drawing the edges.
    below is my cofe for drawing the edges from one point to another
      void drawLineNNh(Graphics g){
             Graphics2D g2 = (Graphics2D) g;
             g2.setColor(Color.blue);
             int i = 0;
             if (P == null) return;
             else
                 for(i=0; i<P.getSize(); i++)
                 Line2D.Double drawLine = new Line2D.Double(P.x_coor[nnH.seen]+5, P.y_coor[nnH.seen[i]]+5, P.x_coor[nnH.seen[i+1]]+5,P.y_coor[nnH.seen[i+1]]+5);
    Line2D.Double drawLastEdge = new Line2D.Double(P.x_coor[nnH.seen[P.getSize()-1]]+5, P.y_coor[nnH.seen[P.getSize()-1]]+5, P.x_coor[0]+5,P.y_coor[0]+5);
    g2.drawString( " Total Distance : " + nnH.totalDistance , 10, 300);
    g2.draw(drawLine);
    g2.draw(drawLastEdge);
    public void setNNh(Points p)
    nnH = new NNheuristic(p);
    useNNh = true;
    public void paint(Graphics g)
    frame(g);
    drawpoints(g);
    if(useNNh)
    drawLineNNh(g);
    below is my code for calling the above method to draw edges, actionlistererun.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e) {
    if (e.getActionCommand().equals("Run")) {
    if (chooseHeur.getSelectedItem()=="Nearest-Neighbour")
    System.out.println(chooseHeur.getSelectedItem());
    //points = new Points(toInt((String)chooseNum.getSelectedItem()));
    //PlotArea.set(points);
    PlotArea.setNNh(points);
    PlotArea.repaint();

    I AM USING SWING.
    HERE IS MY CODE, HOPEFULLY ENOUGH TO UNDERSTAND THE PROBLEM.
    class Plot extends Panel{
         public static int num;
         NNheuristic nnH;
         Closest_insertion CI;
         Points P;
         public static boolean useNNh= false;
         boolean useCI=false;
         boolean triangleDrawn = false;
         boolean CIupdate;
         void drawpoints (Graphics g)
             Graphics2D g2 = (Graphics2D) g;
             Graphics2D g3 = (Graphics2D) g;
             int i=1;
             g2.setColor(Color.red);
                    if (P==null) return;
                    else
                    while (i<P.getSize())
                         Ellipse2D.Double vertices = new Ellipse2D.Double(P.x_coor,P.y_coor[i],10,10);
    g2.fill(vertices);
    i++;
    g3.setColor(Color.MAGENTA);
    Ellipse2D.Double initial = new Ellipse2D.Double(P.x_coor[0],P.y_coor[0],10,10);
    g3.fill(initial);
    System.out.println("No. of Vertices: " + P.getSize());
    for(int k = 0; k < P.getSize(); k++)
    System.out.println("x coordinate: " + P.x_coor[k] + ", " + "y coordinate :" + P.y_coor[k] );
    // System.out.println("next:"+ P.x_coor[k+1]);
    triangleDrawn = false;
    void drawLineNNh(Graphics g){
    Graphics2D g2 = (Graphics2D) g;
    g2.setColor(Color.blue);
    int i = 0;
    if (P == null) return;
    else
    for(i=0; i<P.getSize(); i++)
    Line2D.Double drawLine = new Line2D.Double(P.x_coor[nnH.seen[i]]+5, P.y_coor[nnH.seen[i]]+5, P.x_coor[nnH.seen[i+1]]+5,P.y_coor[nnH.seen[i+1]]+5);
    Line2D.Double drawLastEdge = new Line2D.Double(P.x_coor[nnH.seen[P.getSize()-1]]+5, P.y_coor[nnH.seen[P.getSize()-1]]+5, P.x_coor[0]+5,P.y_coor[0]+5);
    g2.drawString( " Total Distance : " + nnH.totalDistance , 10, 300);
    g2.draw(drawLine);
    g2.draw(drawLastEdge);
    public void set (Points p)
    P=p;
    useNNh = false;
    useCI = false;
    public void setNNh(Points p)
    nnH = new NNheuristic(p);
    useNNh = true;
    void frame (Graphics g)
    g.setColor(Color.white);
              g.fillRect(0,0,size().width,size().height);
              g.setColor(Color.green);
              g.drawRect(0,0,579,280);
    public void paint(Graphics g)
    frame(g);
    drawpoints(g);
    if(useNNh)
    drawLineNNh(g);
    else if(useCI)
    if(!CIupdate)
    drawTriCI(g);
    else
    drawRestCI(g);
    // drawLineNNh(g);
    public void clear ()
         // remove the points and the graph.
    P=null;
    triangleDrawn = false;
    code of my GUIpublic class TSP extends JFrame{
    JButton run;
    ...................codes...........
    TSP() {
    ...............................codes...........
    run = new JButton ("Run");
    run.setPreferredSize(new Dimension(113,30));
    run.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e) {
    if (e.getActionCommand().equals("Run")) {
    if (chooseHeur.getSelectedItem()=="Nearest-Neighbour")
    System.out.println(chooseHeur.getSelectedItem());
    //points = new Points(toInt((String)chooseNum.getSelectedItem()));
    //PlotArea.set(points);
    PlotArea.setNNh(points);
    PlotArea.repaint();
    else if(chooseHeur.getSelectedItem()=="Closest-Insertion")
    PlotArea.setC_I(points);
    PlotArea.repaint();
    pane2.add(run);

  • Is there a way of swapping all data over from one ipad to another ipad and vice verse?

    Another family member and I both have iPad 3, they have with 3g and mine just wifi. We are discussing swapping so I can have the 3g feature as its more useful for me. Is there a way of swapping all their data to my ipad and my data to their ipad so it is a straight swap?

    What you want to do would be no different that restoring your current content to a brand new iPad. You should both do as described below and then erase your respective devices and make the swap.
    First ... and you both want to do this.... Transfer purchases from your iPad into iTunes on your computer, backup the iPad and then sync with iTunes.
    These two articles will explain how to do that.
    Transfer purchases.
    http://support.apple.com/kb/HT1848
    How to backup and restore from a backup
    http://support.apple.com/kb/HT1766
    You may want to import photos from the device to your computer as well so that you can sync them back at a later time. Your camera roll photos are stored in the backup, but it never hurts to be proactive.
    Read about importing photos here.
    http://support.apple.com/kb/HT4083
    After you have transferred purchases, backed up and transferred photos, you can erase your iPad before you swap devices. Settings>General>Reset>Erase all content and settings. That will completely wipe your devices.
    Now you can swap and you will both be starting from scratch like you did when the iPad was new.
    When you re-activate the new iPad, the one you are getting from your family member - toward the end of the activation process you will be given the opportunity to restore from an iCloud or iTunes backup. You want to select the iTunes option. So you will have to connect the iPad to your computer's iTunes and restore from the backup and then sync with iTunes.
    Restoring from the backup will recover all of you app data and settings, syncing with iTunes will recover all of your apps, books, photos, music and other media

  • Is there a way to reference a private variable from one class in another?

    My first class starts off by declaring variables like so:
    class tStudent {
      // declare student name, id, grades 1 & 2, and gpa
      private String fname, lname, g1, g2;
      private int id;
      private double gpa;
      // define a constructor for a new student
      tStudent () {fname=lname=g1=g2=null; id=-1; gpa=0.0;}
      // define methods for manipulating the data members.
      // readStudent: reads information for just one student
    public void read (Scanner input) {
          fname = input.next();
          lname = input.next();
          id = input.nextInt();
          g1 = input.next();
          g2 = input.next();
    }And the second class:// tStudentList: for a list of students
    class tStudentList {
      private int nStudents;
      private tStudent[] list;
      // constructor for creating student list
      tStudentList() {
          list = new tStudent[36];
          for (int i=0; i < 36; i++) list=new tStudent();
    // read the individual students into the student list
    public void read(Scanner scan) {
    nStudents=0;
    while (scan.hasNext()) {list[nStudents++].read(scan);}
    // display the list of all students - fname, lname, id, g1, g2 and gpa
    // with an appropriate header so the output matches my sample //output
    public void print() {
    Is there a way to reference the variables in the first class to use in the second? Specifically in the last section of code where I am going to print the list.

    Not without resorting to reflection hackery. If the fields are private (and are supposed to be), then that means "don't allow access to these to outsiders of this class" by design.
    So if you really meant them to be accessible, then don't use private, or provide public accessors for them.

  • Is there any way i can transfer iTunes credit from one account to another?

    I have $20.00 sitting on one account but i want to transfer it to my other account. I tried buying myself a gift certificate, but as i already knew, you an't with the iTunes credit. is there any other way i can do this.
    Thanks in advance,
    Alex Kirwan

    by the way. if it means anything. i am using the Australian iTunes store.

  • Is there a way to transfer Game Center data from one account to another?

    My appleID was created way back when it didn't use email as the ID. When Game center came out, i created a different account using an email(A) for game center. Now with iOS5, i was forced to changed my main appleID to use an email, thus i changed the game center appleID to a different email(B) (which i plan on abandoning) and use the email (A) as my main accounts ID.
    Problem is, all the game achievements and stuffs I have obtained is associated to email(B) now in the game center, when i use email(A) which is now my main account, it is treated as a new game center account. Is there anyway i can transfer my data over?

    I am having the same problem
    after the update to 5.0.1
    I mean updating shouldn't become a task that everyone will dread

  • In P6 web (8.3) Is there any way to migrate global layouts views from one database to another?

    We have a customer that has global layouts in their dev version of the web. When they want to start their prod version of P6 8.3 web, do the layouts come over with the data migration? Is there any documentation out there?
    Thanks,
    Bob

    That's in the client or professional. There is not a place to export layouts in the web.

  • Is there any way to move all purchased music from one account to another

    I have purchased my songs under one account name but want to change my Apple ID to my Mac account Apple ID and get rid of the other one. Does anyone have a method to do this?

    Click here and fill out the form; if they can't do it, it can't be done.
    (34306)

  • Is there a way to draw a dash line that follows the curve in Photoshop?

    Hello,
    Is there a way to draw a dash line that follows the curve in Photoshop (See image)?
    I know how to make a dotted line, but not a dash line, in photoshop.
    Thanks.

    Use a vector shape and a dashed stroke in Photoshop CC.

  • Is there any way to block PDF files sharing from iPad to any another device or cloud? We need to have certain PDFs visible and readable only from iPad.

    Is there any way to block PDF files sharing from iPad to any another device or cloud? We need to have certain PDFs visible and readable only from iPad.

    There are "container" apps emerging for the iPad.  Enough searching & I suspect there would be one for your needs. 
    All in one Application that emphasize security
    Good Collaboration Suite  Secure mobile app-to-app collaboration.
    The Good Collaboration Suite includes Good for Enterprise, Good Share and Good Connect secure mobile apps, simplifying access to email, calendar, contacts, tasks, instant messaging, browsing and document sharing. These apps are built using Good’s next-gen containerization   that includes secure data sharing between any Good secured app as well as app-level encryption independent of the device used."
    http://www1.good.com/applications/

  • Is theres any way i can make yahoo calls from my account to another , like pc to pc

    is theres any way i can make yahoo calls from my account to another , like pc to pc 

    by the way. if it means anything. i am using the Australian iTunes store.

  • Best way to copy large VM files from one drive to another?

    Hi all, I am wondering what the best and fastest way there is to copy a large VM file from one drive to another (external drive to internal drive). Should the .pvm folder (in my case with Parallels) be zipped first? The files I need to copy range from 50 to 70gb. thx for any insight! ps. Even Bombich admits it's difficult for CCC to do...not clear why, but it does slow a full clone down to a crawl. I also have Chronosync at my disposal, but suspect the same is true there as well. Cheers!
    coocoo

    I don't think it matters much which way you do the job. I use Parallels to compress by drives on a regular basis. If you want to copy a dynamic VM, which can grow to just about any size as required, to another drive you will use about the same amount of time zipping the VM - transfering the VM - unzipping the VM, as you would just moving the VM.
    I've moved my VM files to a second partition that does not get cloned to my bootable backup that I create with SuperDuper. I've excluded my entire VM folder from Time Machine and just make zipped backups for each system after any large Service Pack Updates from Microsoft, or any intricate program installations. These get copied to a second partition on my Time Machine drive manually.
    My VM's sizes are kept under control by using common Documents-Movies-Music folders for the Mac and the VM's. My VM's do not have the data files the programs use, they are on my Mac and get backed up every hour with Time Machine.
    Reinstalling a VM just means deleting the broken copy, unzipping my latest backup, and putting into the same folder that Parallels knows to use. The data files are always accessible, even if they were created after my latest VM backup.

  • Is there any Program available to Copy a package from one System to Another

    Hi all,
    Is there any Program available to Copy a package from one System to Another ?
    Thanks in advance
    Raghu ram

    Hi,
    Put the Package into a TR using transaction SE80.
    Provide the TR no. to BASIS consultant & ask him to provide the file of that TR.
    Import the TR file in another system.
    Thats it.
    Best regards,
    Prashant

Maybe you are looking for