Help with converting an object to something else

How do I go about converting an Object from a Vector back into what it originally was?

Vector v = new Vector();
v.add(new String("Hello"));
Object x = v.get(0);
String s = (String) x; // this line; cast the object back to its type

Similar Messages

  • I need help with repaint() and validate() or something else im not aware of

    Im a teacher and im trying to make educational games for my students. This is a simplified code of something i want the applet to do. When the JButton is pressed i want the interior panels to change. In this case JPanel pan3 is my main panel and i want to be able to switch between JPanel pan1 and JPanel pan2 by pressing either [ JButton 1 ] or [ JButton 2 ].
    What is happening in my code here when i press one of the buttons is that the interior panel will change the first time but not the second time, plus it will freeze up.
    Here is the code if someone can help me.
    import java.awt.*;
    import javax.swing.*;
    public class PanelApplet extends JApplet
         public void init()
              Panelswitch ps=new Panelswitch();
              ps.pan3.add(ps);
              ps.paneBuilder();
              getContentPane().add(ps.pan3);
              resize(500,500);
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import javax.swing.event.*;
    public class Panelswitch extends JPanel implements ActionListener
         public static Panelswitch pan1=new Panelswitch();
         public static Panelswitch pan2=new Panelswitch();
         public JPanel pan3;
         public Panelswitch()
              pan3=new JPanel();
              pan3.setLayout(new GridLayout(1,1,5,5));
         public static final String ONE="ONE";
         public static final String TWO="TWO";
         JButton one=new JButton("one");
         JButton two=new JButton("two");
         JLabel oneLabel=new JLabel("One Label");
         JLabel twoLabel=new JLabel("Two Label");
         public void paneBuilder()
              setLayout(new GridLayout(3,1,5,5));
              add(one);
              one.setActionCommand(ONE);
              one.addActionListener(this);
              add(two);
              add(oneLabel);
              two.setActionCommand(TWO);
              two.addActionListener(this);
         public void paneBuilder2()
              setLayout(new GridLayout(1,3,5,5));
              add(twoLabel);
              add(one);
              one.setActionCommand(ONE);
              one.addActionListener(this);
              add(two);
              two.setActionCommand(TWO);
              two.addActionListener(this);
         public void actionPerformed(ActionEvent e)
              // Im trying to make this take down panel 2 and replace it with panel 1
              if(e.getActionCommand().equals(ONE))
                   pan2.setVisible(false);
                   pan3.removeAll();
                   pan3.setLayout(new GridLayout(1,1,5,5));
                   pan1.paneBuilder();
                   pan1.setVisible(true);
                   pan3.add(pan1);
                   pan3.validate();
                   pan3.repaint();
                   System.out.println("one");
              // Im trying to make this take down panel 1 and replace it with panel 2
              if(e.getActionCommand().equals(TWO))
                   pan1.setVisible(false);
                   pan3.removeAll();
                   pan3.setLayout(new GridLayout(1,1,5,5));
                   pan2.paneBuilder2();
                   pan2.setVisible(true);
                   pan3.add(pan2);
                   pan3.validate();
                   pan3.repaint();
                   System.out.println("two");
    Thanks for looking

    Here's some sample code:
    import javax.swing.JPanel;
    import javax.swing.JLabel;
    import javax.swing.JFrame;
    import javax.swing.JButton;
    import java.awt.BorderLayout;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    import java.awt.Container;
    import java.awt.Dimension;
    import java.awt.GridLayout;
    public class SwapFrame extends JFrame implements ActionListener {
      private JPanel firstPanel = new JPanel ();
      private JPanel secondPanel = new JPanel ();
      private JPanel buttonPanel = new JPanel ();
      private JButton addFirstJButton = new JButton("Foo");
      private JButton addSecondJButton = new JButton("Bar!");
      private Container frameContainer = null;
      public SwapFrame() {  // With JApplet, put this in your 'init()' method.
        // Frame specific.
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        this.setSize(new Dimension (400, 400));
        firstPanel.setLayout(new BorderLayout());
        firstPanel.add(new JButton ("Foo"), BorderLayout.CENTER);
        secondPanel.setLayout(new BorderLayout());
        secondPanel.add(new JButton ("Bar!"), BorderLayout.CENTER);
        buttonPanel.setLayout(new GridLayout(1, 2));
        buttonPanel.add(addFirstJButton);
        buttonPanel.add(addSecondJButton);
        addFirstJButton.addActionListener(this);
        addFirstJButton.setPreferredSize(new Dimension (100, 48));
        addSecondJButton.addActionListener(this);
        addSecondJButton.setPreferredSize(new Dimension (100, 48));
        frameContainer = getContentPane();
        frameContainer.setLayout(new BorderLayout());
        frameContainer.add(firstPanel, BorderLayout.CENTER);
        frameContainer.add(buttonPanel, BorderLayout.SOUTH);
        // Show application.
        this.validate();
        this.setVisible(true);
      public void actionPerformed (ActionEvent e) {
        if (e.getSource() instanceof JButton && ((JButton)e.getSource()) == addFirstJButton) {
          frameContainer.remove(secondPanel);
          frameContainer.add(firstPanel, BorderLayout.CENTER);
          this.validate();
          this.repaint();
        } else {  // There can only be two buttons...
          frameContainer.remove(firstPanel);
          frameContainer.add(secondPanel, BorderLayout.CENTER);
          this.validate();
          this.repaint();
      public static void main (String []args) {
        new SwapFrame();
    }Regards,
    Devyn

  • Help with converting a Nero file

    I have previously converted a dvd insert designed with Nero into a pdf using adobe acrobat in order to send to someone else.  When I tried to do the same thing today with a new Nero designed insert the conversion wouldn't work.  The message said adobe didn't support the program that created the file.  Any ideas?

    thanks for your response.
    When I create a dvd insert or cd label etc using Nero the file extension is nct - nero cover template.  The printer wants the file as a pdf as he can't open Nero files.  I have version 9.3 of acrobat.
    Date: Mon, 18 Jan 2010 21:43:47 -0700
    From: [email protected]
    To: [email protected]
    Subject: help with converting a Nero file
    Nero is simply a CD/DVD burning application and should have no effect on the type of files that will eventually be on the CD/DVD.
    What type of files are you trying to convert and exactly how are you trying to convert them? Plus, it would help to know the version of Acrobat you are using.
    >

  • Help with Converting an Access query

    Hello:
    First time poster and would appreciate some help in converting this Access query into T-SQL so I can use in a Stored Procedure. I don't need help in resolving the syntax for the variables as parameter in the second query, but stuck in writing the first query
    in T-SQL . I assume I need some type of nested query with a left join to another query in T-SQL. 
    How do I convert this from Access into MS-SQL
    SELECT TBL_MONTH.L_Month, TBL_MONTH.L_MonthName
    FROM TBL_MONTH LEFT JOIN qry_MonthCheck ON TBL_MONTH.L_Month = qry_MonthCheck.L_Month
    WHERE (((qry_MonthCheck.L_Month) Is Null));
    qryMonthCheck in Access is defined as
    SELECT TBL_MONTH.L_Month, TBL_SIGNOFF.SO_YEAR, TBL_SIGNOFF.SO_USER, TBL_SIGNOFF.SO_LOCATION
    FROM TBL_MONTH RIGHT JOIN TBL_SIGNOFF ON TBL_MONTH.L_Month = TBL_SIGNOFF.SO_MONTH
    WHERE (((TBL_SIGNOFF.SO_YEAR)=[forms]![frm_signoff]![cboyear]) AND ((TBL_SIGNOFF.SO_LOCATION)=[Tempvars]![tmpVarUserLOC]));

    It is very much up to personal taste. For tables I use no prefix at all. Or suffix. I prefer plural: categories, products, etc. For junction tables, I drop the plural in the first entity, for instance productcategories. As for the case, many people prefer
    initial uppercase, while I go for lowercase only. But initial uppercase has its points, particularly in documentation. I am a staunch advocate of using case-sensitive collation for metadata. I don't see any point in mixing productcategories, Productcategories,
    ProductCategories etc. That can only cause confusion.
    As for either entities, I don't use views much, and I don't have any prefix for these either. In fact, several views I've been involved used to be tables once upon a time.
    If you want to add a marker to the object name, I recommend using a suffix. It is much easier to find objects in the version control system and other browser, when not everything is cluttered on the same letter. For instance, I typically add _sp at the end
    of stored procedure names.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Please help with converting mpeg 1 movies..

    I have a Hitachi video camera that is not recognised by imovie. It outputs in mpeg1 format. Downloaded MPEG streamclip and tried to convert it, my problem is the video ended up having interlace problems when ther is any movement..
    Can someone tell me what format is best for imovie and the setting for mpeg streamclip?
    I am about to finally give up, and start using my girlfriend's PC...

    I do not know how vital if for you, but if it really is, MPEG2 Works 4 will convert MPEG 1's to MPEG 2's, you could *then transfer the MPEG 2 into iM08* or transcode to something else.
    Unfortunately is not free, but you could go to the website, and **_download a trial version_*, and convert that single file or other few if you need to and then trash it. If you do get it, do the following:
    1.- Go to the "VCD" Tab
    2.- Click on "MPEG 1 > MPEG 2",
    3.- It will ask you for the input file, select your MPEG 1, and then will ask you for the place to save it.
    Once you have the MPEG 2, you need to trick iM08 in order to import it. Pay attention to this, since iM08 supposedly ONLY imports MPEG 2 directly from the camcorder. Do not panic, this is not correct, you can trick it doing the following.
    With a USB flash memory drive, or an external hard drive, create on it a folder named MP_ROOT, inside it create a folder named 101PNV01, now put your mpg-2 files in this folder. Have iMovie open; after creating these files and putting the mpeg2's on it, disconnect the drive from your computer, now, when you re-connect, is like connecting a camera, and with iMovie open already, it will tell you that you have connected a camera etc, etc, now import into iMovie 08.
    I use this to import mpeg 2's.
    Remember to create this at the root level, at the very highest level in your external hard drive or USB. I do not use a USB stick because my files are very large, I use a external hard drive, so if one does not work for you, try the other one, if you have both.
    http://discussions.apple.com/message.jspa?messageID=5823783#5823783
    Check out this thread, it explains this and other possibilities. I do not take credit for this trick, somebody else described it.
    Message was edited by: gusluz
    Message was edited by: gusluz

  • Help with httpService returnFormat "object"

    Problem:
    My flex httpservice returns an xml file in the "object"
    resultFormat.
    How could I get the count of all childNodes of an object in
    that returned object tree.
    For example, in the xml file below:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <reporting>
    <series>
    <title>Edge Page Views, in Page Views per
    Second</title>
    <xLabel>startdatetime</xLabel>
    <y1Label>sum(pageviews)</y1Label>
    <data>
    <x>1216233600</x>
    <y1>79.605</y1>
    </data>
    <data>
    <x>1216233900</x>
    <y1>78.076</y1>
    </data>
    </series>
    <series>
    <title>Total Bandwidth, in Mbits per
    Second</title>
    <xLabel>startdatetime</xLabel>
    <y1Label>sum(egress_bytes_mbps)</y1Label>
    <y2Label>combined_midgress_bytes_mbps</y2Label>
    <y3Label>ovh_bytes_mbps</y3Label>
    <y4Label>sum(ingress_bytes_mbps)</y4Label>
    <data>
    <x>1216233600</x>
    <y1>36.160352</y1>
    <y2>66.48362700000001</y2>
    <y3>66.48362700000001</y3>
    <y4>96.01235200000002</y4>
    </data>
    <data>
    <x>1216233900</x>
    <y1>34.260794</y1>
    <y2>62.10649799999999</y2>
    <y3>62.10649799999999</y3>
    <y4>88.902323</y4>
    </data>
    <data>
    <x>1216234200</x>
    <y1>35.329617</y1>
    <y2>62.77339099999999</y2>
    <y3>62.77339099999999</y3>
    <y4>89.30751</y4>
    </data>
    </series>
    </reporting>
    The first series element has 4 children
    I am able to get the number of data elements as:
    "resultObj.reporting.series[0].data.length"
    How do I effectively retreive:
    "resultObj.reporting.series[0].childNodes().length"
    Apparently this does'nt work, I also tried Nodes, children().
    Any documentation or help with this would be awesome
    Thanks a ton
    Pranay

    Can someone please help me understand this error maybe?
    I would appreciate it
    [MessagingError message='Destination 'the destination of an
    xml file' either does not exist or the destination has no channels
    defined (and the application does not define any default
    channels.)']
    what are channels?

  • Please Help with Converting PDF document to Word Document

    I have downloaded our PDF document to be converted to a word document --- it did not work correctly--we need help with this
    Scott Munsen
    Abbott House -- Mitchell, SD

    Good day Scott,
    I received your document via our File Conversion Issue form.  The root of the problem you're facing is the quality of the scan.  I'm not sure if you were starting with a poor quality hard-copy or simply low DPI settings on your scanner, but the reason the results you received were so different than the PDF was the quality of the input.
    If you're hard copy looks clearer than the PDF file you created, I would suggest increasing the resolution settings on your scanner.
    Please let me know if you have any questions.
    Kind regards,
    David

  • Help With converting px to em...

    So, I thought that I would have a go at converting a site from all px to em to help with accessibility and using browser zoom.  I wish I'd never started!
    This is how I approached it.
         1) Set my font to 100%
         2) Change all font sizes to em
         3) Feel smug
         4) Notice that after a couple of ramps up on the zoom the layout goes pear-shaped
         5) Change all width/height dimensions to em
         6) Change all padding/margin dimensions to em
         7) Feel a little tearful
         8) Realise I don't have a back-up style sheet
         9) Re-draw WWW domination plan
         10) Start to make a little progress
         11) Try out the negative zoom
         12) See that screw my layout - don't understand it
         14) Add some min-width/min-height rules
         12) Feel a little tearful...
         13) Came here to be with friends
    I worked out I think, that using flexible units in a fixed environment is going to cause problems.
    I'm having trouble with layout more than text-size.  I think the only thing that will cause me grief with text-size is with nested element and the way that em is inherited but, the site is quite straight forward, apart from a few floated elements.
    I thnk my main problems are with the layout:  Images, background images and how to approach the whold width/height thing.
    Martin
    PS I won't be at my PC for a while so, if  you respond and I don't come back to you, it's not because I'm not interested.  I'm too ashamed and confused to post a live page!

    Hi Martin
    The one thing that confuses people when converting from px to em units is that they think px is a fixed size and em's are flexible, which unfortunately is not true, and just to confuse things even more Microsoft even treat px's as a relative size, (this is actually correct if you look at the css1 spec).
    The best advice I can offer is to start with the layout when converting to em's and worry about the font etc. later, because as they say a pixel is relative.
    PZ

  • Help with converting FLAC to ALAC while retaining metadata and cover art

    Hi,
    I've decided to embark on the long trek to convert my 18k+ FLAC music library into ALAC. I've decided on ALAC for mainly 2 reasons: iTunes/iPhone/iMac/Sonos compatibility and my desire to keep with a lossless format.
    My library is pretty eclectic; I have quite a bit of classical music along with many other genres. I have spent quite a bit of time maintaining the correct tag information; I do not want to lose any of this info that I've painstakingly added to my library over the years. The tags that I use on my FLAC files are:
    Filename
    Title
    Artist
    Album
    Album Artist
    Disc Number
    Disc Count
    Compilation
    Comment
    Year
    Genre
    Track
    Composer
    Orchestra
    Conductor
    Performer
    Length
    Modified
    Path
    I want to be especially sure that I maintain the data in Composer, Orchestra, Performer and Conductor in my migration to ALAC. I also want to include my CD art in each track (many of which I had to scan since some of my CD's are not available for sale). The CD covers are stored in a "folder.jpg" file in the path of each CD's contents. I would really like the automated conversion process to pick up each "folder.jpg" and embed it in the appropriate tracks.
    I have a license for dbPowerAmp, so I can do the conversion on the Windows side if need be (I have BootCamp set up and use Fusion), but I would prefer to do everything in Mac.
    I am hoping that some of you good folks will offer up comments about the feasibility of this endeavor, and advise me on possible tools to use, paths to take, pitfalls to watch out for, etc.
    Thank you for your time.
    Mike

    I finally got done with the conversion. It took 2 weeks running XLD of 24x7, but at last it's over with.
    I first used iTunes "download missing album art" to start the process. It populated about 50% of my collection, but I found that many of the album art was wrong. For instance, with collections (various artists) it populated the album art from the first track; with others, it put in the wrong album cover for the right CD. These were mostly because iTunes would get a contemporary cover, where my cover was from an older pressing of the disk.
    I purchased a program called TuneUp which has helped with my missing album artwork, and also with correcting typos. But even with using TuneUp, I probably have a couple of weeks worth of work left to do.
    Then comes the renaming of the Classical music tracks.
    Mike

  • Help with converting hex to date and time

    Hi!
    I am using snmp4j libraries to walk the mib tree. The system date is getting returned in 11 hexadecimal octets. I require help in converting it to date and time. I looked up the RFC convention of what each octets represent. Require help with conversion.
    Eg: 07:db:06:0a:29:1d:00:2b:05:1e
    Thanks,

    Octets Contents Range
    1-2 year 0..65536
    3 month 1..12
    4 day 1..31
    5 hour 0..23
    6 minutes 0..59
    7 seconds 0..60
    (use 60 for leap-second)
    8 deci-seconds 0..9
    9 direction from UTC '+' / '-'
    10 hours from UTC 0..13
    11 minutes from UTC 0..59
    For example I just took the time an hour ago it came out as
    07:db:06:13:12:11:1a:00:2b:05:1e
    I have to convert this as a date long value to send it.
    Do I have to write an utility of my own to do it?

  • Help with converting array of sentences in to array of words.

    Hi! I'm having a problem with converting an array of sentences (about 50) into 1000 separate words into an word array. No use of tokenizers, classes (pre-made) just clear proggramming.
    Thanks in advance!

    Until you come up with a question, check these out:
    http://java.sun.com/docs/books/tutorial/
    http://java.sun.com/learning/new2java/index.html
    http://javaalmanac.com
    http://www.jguru.com
    http://www.javaranch.com
    Bruce Eckel's Thinking in Java
    Joshua Bloch's Effective Java
    Bert Bates and Kathy Sierra's Head First Java

  • Oracle SQL HELP with convert GMT to EST and DST and Date offset

    Hi, I have a query that does not seem to work trying to convert a date field that is in GMT to est and using extract(timezone_hour FROM TO_TIMESTAMP_TZ as an offsetr
    HEre is my sql
    dtl.start_dt_gmt + (extract(timezone_hour FROM TO_TIMESTAMP_TZ( dtl.start_dt_gmt,'DD-MON-YYYY HH24:MI:SS TZH:TZM'))/24 ) START_DT_Local
    If the date (dtl.start_dt_gmt) is may 1 and gmt starts at 04:00 AM , the extract offset produces -4
    However, if the date (dtl.start_dt_gmt) is Feb 1 which begins at 05:00 AM GMT, the date offset still gives 04. What am i doing wrong? Any help would be appreciated. Thanks.
    Saul

    If your data is not associated with timezone then you'll have to use something like
    case when dt between A and B then dt-1/24 else dt end; <-- This will give you 1 hour back of EDT. So, as far as concern at database level, it is nothing to do at db level, because db is used by application, so you need to code in the app.
    Oracle never actually changes a TIMEZONE column value when you set your system to be on daylight savings time. There are several built-in DST DATE conversion functions for changing to daylight savings time:
    current_date
    current_timestamp
    localtimestamp
    dbtimezone
    sessiontimezone
    extract
    from_tz
    to_timestamp
    to_timestamp_tz
    to_yminterval tz_offset
    http://dba-oracle.com/t_oracle_daylight_saving_time_dst_date_conversion.htm
    Regards
    Girish Sharma

  • Need help with converting characters to ASCII code

    Hey. Im trying to write a program to make Caesar Ciphers by random numbers. This cipher must also wrap from front to end of ASCII code, so that if, for example, the character being ciphered is Z and its being modified by +3, the result ciphered character is not "]", but "c".
    Im planning on reading the text that the user inputs (using ConsoleIO) into a string and then seperating each character into a character[]. Then, i would like to find the ASCII code of each character and print out the ASCII code character of the old ASCII code + the modifier.
    So far, this is what i have (sorry for the length, i like to space things out so that its easier on the eyes and more organized... X-( ... ):
    public class EvanFinalB {
         static ConsoleIO kbd = new ConsoleIO();
         static String enteredPhrase;
         static int phraseLength;
         public static void main(String[] args)
              System.out.println("Enter a phrase and this program will cipher it into a secret message.");
              System.out.println("/nEnter your phrase here:");
              //read phrase
              enteredPhrase = kbd.toString();
              //find length of entered text
              phraseLength = enteredPhrase.length();
              //declare arrays for the individual characters of the entered text and the ciphered characters
              char[] enteredChar = new char[phraseLength + 1];
              char[] cipheredChar = new char[phraseLength + 1];
              //loop converting of entered text into seperate characters
              for(int x = 1; x <= phraseLength; x++)
                   enteredChar[x] = enteredPhrase.charAt(x);
                   cipheredChar[x] = cipher(enteredChar[x]);//call cipher() method to find new ciphered character
         //wrap from front to end of ASCII code
         static char cipher(char enteredChar)
              //choose random number to cipher message by
              int modifier = (int)(Math.random() * 26) + 1;
              if(enteredChar + modifier > 90)//90 is the ASCII code for "Z" which is the last capital letter
                   cipheredChar = (97 + (modifier - (90 - enteredChar)));//97 is the ASCII code for "a" which is the first lower case letter
              return cipheredChar[1];
    }The program is obviously in its early stages but (i started creating it today actually), if there is a simple method or anything that i can use to find the ASCII value of a character in order to use enteredChar so that 'enteredChar' is equal to the ASCII code of the new ciphered character, please help me out...Thanks
    P.S. If there's an easier way to go about creating a program for Caesar Ciphers, let me know.

    The following code is from my Java textbook Big Java by Cay Horstmann. It is not my code and it's just to guide you in your own cipher.
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.IOException;
       This class encrypts files using the Caesar cipher.
       For decryption, use an encryptor whose key is the
       negative of the encryption key.
    public class CaesarCipher
          Constructs a cipher object with a given key.
          @param aKey the encryption key
       public CaesarCipher(int aKey)
          key = aKey;
          Encrypts the contents of a stream.
          @param in the input stream
          @param out the output stream
       public void encryptStream(InputStream in, OutputStream out)
             throws IOException
          boolean done = false;
          while (!done)
             int next = in.read();
             if (next == -1) done = true;
             else
                byte b = (byte) next;
                byte c = encrypt(b);
                out.write(c);
          Encrypts a byte.
          @param b the byte to encrypt
          @return the encrypted byte
       public byte encrypt(byte b)
          return (byte) (b + key);
       private int key;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.util.Scanner;
       This program encrypts a file, using the Caesar cipher.
    public class CaesarEncryptor
       public static void main(String[] args)
          Scanner in = new Scanner(System.in);
          try
             System.out.print("Input file: ");
             String inFile = in.next();
             System.out.print("Output file: ");
             String outFile = in.next();
             System.out.print("Encryption key: ");
             int key = in.nextInt();
             InputStream inStream = new FileInputStream(inFile);
             OutputStream outStream = new FileOutputStream(outFile);
             CaesarCipher cipher = new CaesarCipher(key);
             cipher.encryptStream(inStream, outStream);
             inStream.close();
             outStream.close();
          catch (IOException exception)
             System.out.println("Error processing file: " + exception);
    }

  • Problem with smart guides in CS5 with converting type object to outlines.

    Hi There,
    I recently upgraded to Illustrator CS5, and am having some issues with the smart guides.  I create some type with the text tool, then convert that type object to outlines.  Now, when I want another graphical object to "snap" to any of the anchors of the outlined text graphic, the smart guides don't kick in!  The problem does not seem to occurr if I make a standard graphic with other tools, only when I create a graphic from a type object.  I need to be able to snap to graphical objects that are created via the convert type to outlines command.  Has anybody experienced this issue before?  It's kinda frustrating.
    The issue didn't seem to happen in CS3, and I've noticed the design of the smart guides is a bit different in the CS5 version as well.  Am I missing something?
    Any tips would be greatly appreciated.  Thanks!

    When you switched to CS5 did you turn on view >> snap to Point
    If your snapping tolernace is set to a small value, you may need to zoom in more to get snapping to work, or just increase the value. Also make sure you have the appropriate items checked (eg:Anchor Path Labels)
    Edit Preferences >> Smart Guides >> Snapping Tolerance

  • Help with a smart object

    While I'm in ps cs5 and have converted a layer to a smart object, when I click/double click on the layer or the icon it will not open into camera raw. I have tried this with jpgs, tiffs and psd files, I have no other problems with raw, bridge of photoshop. I have also downloaded the latest patch from Adobe, any help would be appreciated/

    Um, the function of Smart Objects isn't to invoke Camera Raw, in general. 
    You only get that behavior if you open a raw conversion as a Smart Object, in which case the Camera Raw plug-in embeds the raw file in the Smart Object layer in the document.  Specifically because it has done that and is a "raw file smart object" it knows to go back to Camera Raw when you double-click it.
    -Noel

Maybe you are looking for

  • Safari 2.0.4 Ctrl-Click not working

    Hi, I have searched and searched for an answer for this, but no luck so far. I'm on 10.4.10 with Safari 2.0.4 (419.3). Somehow, I've lost the ability to ctrl-click on a link in Safari, doing it does nothing. The status bar at the bottom of the window

  • Problem with non  lighting keyboard MB Air

    Hi... I have a MB Air 11,model A1370,late 2010. His keyboard is NOT lighting. Can i replace with other lighting keyboard and from which model ?

  • Missing Invalid Format option with Spry TextField

    I am inserting a Spry Validation Text Field into a form for an email address. The only options I have from the preview states menu in the property inspector are these: Initial, Required and Valid. There is no option for Invalid Format. I am following

  • Need details about the BI repository migration

    I have a requirement coming my way, although I am not working in Technology related to BI , my client insists me to do some BI repository migration. His requirement was that he has already done the cloning part of the DB, now all he wants is , the BI

  • Rep-0076 Internal failure in Product Integration

    Hi I am getting an error rep-0076 "Internal failure in Product Integration" when I am running a report in Web. I call report using run_product(REPORTS, /* product name */ 'simp_comp.rdf', /* Reports document */ SYNCHRONOUS, /* communication mode */ R