Is this write way to clone a object?

All,
I this the correct way to clone a object? if not so can anyone point me the right way to do that. Because this method is taking longer time to execute.
import java.io.*;
public class ObjectCloner
    public ObjectCloner()
    public static Object clone(Object obj)
        throws Exception
        ByteArrayOutputStream bstream = new ByteArrayOutputStream();
        ObjectOutputStream out = new ObjectOutputStream(bstream);
        out.writeObject(obj);
        out.close();
        ByteArrayInputStream binstream = new ByteArrayInputStream(bstream.toByteArray());
        ObjectInputStream oin = new ObjectInputStream(binstream);
        Object newobj = oin.readObject();
        return newobj;
    public static int sizeOf(Object obj)
        try
            ByteArrayOutputStream bstream = new ByteArrayOutputStream();
            ObjectOutputStream out = new ObjectOutputStream(bstream);
            out.writeObject(obj);
            out.close();
            return bstream.toByteArray().length;
        catch(Exception ex)
            ex.printStackTrace();
        return 0;
}

calvino_ind wrote:
i might be wrong, but i think there are some really easier ways to clone an object:
public class Age {
int numberOfYears;
public Age(int numberOfYears) {
this.numberOfYears = numebrOfYears;
public Object clone() {
return new Age(this.numberOfYears);
No! This is very wrong. For this simple example, all one needs is class Age to implement Cloneable and
public Object clone() {
         return super.clone();
}which will automatically give you a shallow clone of the the class.
Consider what ill happen with your approach when one clones superclasses of class Age.
Edited by: sabre150 on May 26, 2008 3:42 PM

Similar Messages

  • Clone an Object

    Hey everyone,
    I just had a question about cloning an object.
    I have an object and within that object there is a field that holds a "date".
    I want to clone the object x number of times (x is user input) and each clone the "date" is the next day.
    So the second clone's "date" value would be the next day after the first clone's "date" value. I also want each clone stored into an array of that object.
    I have a date class and within that date class is a method called "nextDay" which changes the date to the next day.
    I hope that makes sense.
    Anyways, the way I went about it was this:
    Object original = new Object();
    drawCount = user input;
    Object[] array = new Object[drawCount];
    array[0] = original;
    if(drawCountInt > 1)
         for(int j = 1;j <= drawCountInt;j++)
            Object daClone = (Object) original.clone;
            daClone.date = daClone.date.nextDay();
    }Now that seems like it would work once.
    I am trying to figure out, how would I increment the date in a loop?
    I could not figure out a way to use the counter to maybe make the nextDay happen more often.
    I could not also find a way to make a clone of a clone inside a loop and just use the nextDay on that.
    How would I make a clone off the latest clone inside a for or while loop?
    Sorry if any of this seems a little unclear. Feel free to ask questions of course.

    So something like this then?
    if(drawCountInt > 1)
    {     Array[1] = (Object) original.clone;
             for(int j = 1;j <= drawCount;j++)
                       Array[j] = (Objectt) Array[j].clone;
                       Array[j].date = Array[j].date.nextDay();
    }

  • How to Clone  inherited Object ?

    According to the rule of cloning a object can be cloned only if
    it implements Cloneable interface ? In the following example
    class B extends class A which does not implement Cloneable interface,class B does implement Cloneable interface.
    when I try to clone an object of class A in class B it is very
    allowing to be cloned which is a contradictary?Please go through the
    example and suggest what is wrong ?
    class A
    int v = 100;
    public Object Clone()
    return new A();
    class B extends A implements Cloneable
    public static void main(String args[])
    A a = new A();
    A b = null;
    b = (A)a.clone();
    System.out.println("Value of v1 :" +a.v1);
    System.out.println("Value of v1 :" +b.v1);
    Thanks for your valuable help

    According to the rule of cloning a object can be
    cloned only if
    it implements Cloneable interface ? In the following
    example
    class B extends class A which does not implement
    Cloneable interface,class B does implement Cloneable
    interface.
    when I try to clone an object of class A in class B it
    is very
    allowing to be cloned which is a contradictary?Please
    go through the
    example and suggest what is wrong ?
    class A
    int v = 100;
    public Object Clone()
    return new A();
    class B extends A implements Cloneable
    public static void main(String args[])
    A a = new A();
    A b = null;
    b = (A)a.clone();
    System.out.println("Value of v1 :" +a.v1);
    System.out.println("Value of v1 :" +b.v1);
    Thanks for your valuable helpApart the fact that like that program cannot function, you didn't clone anything. You've just created another instance of class A!
    Cloning means to create a copy of an existing object with aonother one having exact members (name, value, behaviour) like the first one!
    Try to replace this piece of code:
    A a = new A();
    a.v = 500;
    A b = null;
    b = (A)a.clone();
    System.out.println("Value of a.v :" +a.v);
    System.out.println("Value of b.v :" +b.v);
    and write "Clone" method like this: "clone". See that you'll obtain:
    Value of a.v :500
    Value of a.v :100
    good luck!
    m

  • I want to automatically extract my iphone-videos from the iPhoto library since I have way over 25 000 objects in there. Afterwards I would like to import them into iMovie. Anyone having an idea?

    Dear all,
    I want to automatically extract my iphone-videos from the iPhoto library since I have way over 25 000 objects in there. Afterwards I would like to import them into iMovie. Anyone having an idea? Or is there no possibility to do so?
    Thanks in advace
    Andreas

    File -> New Smart Abum
    Photo -> Is -> Movie
    and export those:
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue.

  • What is the best way to clone a form field in BC

    Hi,
    What is the best way to clone a form field in BC.  I tried using jquery .clone.  It works fine on other forms for me but not on the BC forms, why? is it just me?  Any help would be great. Thanks

    I mean, duplicate a field with the click of a button.
    I think this should work, but it's not and  I am linked to the jquery library in the head of my page.
    <script type="text/javascript">
    $(document).ready(
      function() {
        $('input#tmpAddRow').click(
          function($e) {
            $e.preventDefault();
            $('tr#tmp').clone(true).removeAttr('id').appendTo('tbody');
        $('tr input[type=text]').focus(
          function() {
            $(this).addClass('myFocused');  
        ).blur(
          function() {
            $(this).removeClass('myFocused');
        </script>
    <img alt="" style="border: 0px solid; width: 200px; height: 134px; float: left;" src="/images/pv logo 3d.png" />
    <h3 style="text-align: center; color: #0000ff; text-shadow: #999999 0px 1px 5px;">Member Directory Listing</h3>
    <p style="text-align: center;">If you would like to be listed in the Pine Valley Middle School Directory, please fill out this form.  Only fill out the areas you would like to show up in our Directory.</p>
    <div style="margin-left: 130px;" class="form_bg">
    <form action="/CustomContentProcess.aspx?CCID=5656&amp;OID={module_oid}&amp;OTYPE={module_otype }" method="post" enctype="multipart/form-data" onsubmit="return checkWholeForm45842(this)" name="catcustomcontentform45842">
        <table cellspacing="0" cellpadding="2" border="0" class="webform">
            <tbody>
                <tr>
                    <td id="tmp"><label for="ItemName">First Name</label><br />
                    <input type="text" value="{module_firstname}" maxlength="255" id="ItemName" name="ItemName" class="cat_textbox_small" /><br />
                    <input type="button" id="tmpAddRow" value="Add a Row" />
                    </td>
                </tr>
                <tr>
                    <td><label for="CAT_Custom_131512">Last Name</label><br />
                    <input type="text" value="{module_lastname}" class="cat_textbox" id="CAT_Custom_131512" name="CAT_Custom_131512" maxlength="1024" /></td>
                </tr>
                <tr>
                    <td><label for="CAT_Custom_131509">Number</label><br />
                    <input type="text" value="{module_homephone}" class="cat_textbox" id="CAT_Custom_131509" name="CAT_Custom_131509" maxlength="1024" />
                    </td>
                </tr>
                <tr>
                    <td><label for="CAT_Custom_131510">Email</label><br />
                    <input type="text" value="{module_emailaddress}" class="cat_textbox" id="CAT_Custom_131510" name="CAT_Custom_131510" maxlength="1024" /></td>
                </tr>
                <tr>
                    <td><label for="ItemAddress">Address</label><br />
                    <input type="text" value="{module_homeaddress}" maxlength="500" class="cat_textbox" id="ItemAddress" name="ItemAddress" />
                    </td>
                </tr>
                <tr>
                    <td><label for="ItemCity">City</label><br />
                    <input type="text" value="{module_homecity}" maxlength="255" class="cat_textbox" id="ItemCity" name="ItemCity" /></td>
                </tr>
                <tr>
                    <td><label for="ItemState">State</label><br />
                    <input type="text" value="{module_homestate}" maxlength="255" class="cat_textbox" id="ItemState" name="ItemState" />
                    </td>
                </tr>
                <tr>
                    <td><label for="ItemZip">Zipcode/Postcode</label><br />
                    <input type="text" value="{module_homezip}" maxlength="255" class="cat_textbox" id="ItemZip" name="ItemZip" /></td>
                </tr>
                <tr>
                    <td class="hidden"><label for="FirstName">First Name</label><br />
                    <input type="text" value="{module_firstname}" class="cat_textbox" id="FirstName" name="CAT_Custom_131511" maxlength="1024" /></td>
                </tr>
                <tr>
                    <td><input type="submit" id="catcustomcontentbutton" value="Submit" class="cat_button" /></td>
                </tr>
            </tbody>
        </table>
        <script type="text/javascript" src="/CatalystScripts/ValidationFunctions.js"></script>
        <script type="text/javascript" src="/CatalystScripts/Java_DatePicker.js"></script>
        <script type="text/javascript">
    //<![CDATA[
    var submitcount45842 = 0;function checkWholeForm45842(theForm){var why = "";if (theForm.ItemName) why += isEmpty(theForm.ItemName.value, "Item Name");if (theForm.Days) why += isNumericIfVisible(theForm.Days, "days"); if (why != ""){alert(why);return false;}if(submitcount45842 == 0){submitcount45842++;theForm.submit();return false;}else{alert("Form submission is in progress.");return false;}}
    //]]>
    </script>
        <script type="text/javascript">
        jQuery("#ItemName").blur(function(){
            jQuery("#FirstName").val(jQuery("#ItemName").val());
    </script>
    </form>
    </div>

  • Is there any way to disable the objects owned by a user?

    Hai every body....My problem is..
    I had created 60 users granting them connect and resource privileges in oracle(8.1.5.0.0).All of the users are working under their logins(users)...Every thing is going fine...But now i wanted to disable the objects owned by those users
    (60 Users) for a period of 2 days,After that i wanted to enable them....Is there any way to disable the objects owned by them with out dropping the users?(The users should be able to work as prevoiusly on the new objects they will create after i disabled the objetcts owned by them previously)?

    hi
    if my understanding is right you want to disable the users for 2 days for any reason let say he is on holiday for 2 days then why dont u lock this user and submit the job for unlock after two days.
    Khurram Siddiqui
    [email protected]

  • What's the best way to clone my boot drive?

    I just bought a new 500GB drive for my G4. What's the best way to clone my boot drive?
    Is there a way to put the new drive on the buss as a second drive and then copy everything from my boot drive to the new drive? How do I make the new drive bootable?
    Or
    Do I have to install OSX on the new drive, put the old boot drive on the buss as a second drive and migrate everything to the new drive with the Utilities Migration Assitant program?
    Are there programs available to make this easier? Where & how much?
    Thanks for any help I can get.

    bamim2:
    Dr. Smoke's FAQ Backup and Recovery has excellent advice on developing a backup strategy.
    You already have a larger extrnal HDD (Hopefully it is firewire?) The next step is to format and partition the HDD. (see step-by-step below). And thirdly you will need a good cloning utility. Carbon Copy Cloner has already been suggested, and the latest version is excellent. I, personally, prefer SuperDuper for its ease of use and efficiency. Both are great tools and relatively simple to use.
    I mentioned the hope that you have a firewire. One of the wonderful benefits of using an external firewire HDD for backing up is that you can make a bootable clone. This gives you an emergency boot drive in case of a problem. It also gives you an external device for running diagnostics and repairs from the extnernal to the computer and vice-versa.
    Congratulations on taking the first step toward securing your computer and your data!
    Formatting, Partitioning Zeroing a Hard Disk Drive
    Warning! This procedure will destroy all data on your Hard Disk Drive. Be sure you have an up-to-date, tested backup of at least your Users folder and any third party applications you do not want to re-install before attempting this procedure.
    Boot from the install CD holding down the "C" key.
    Select language
    Go to the Utilities menu (Tiger) Installer menu (Panther & earlier) and launch Disk Utility.
    Option for formatting an External HDD
    Connect external HDD to computer
    Turn on external HDD
    Start up computer and log in
    Go to Applications > Utilities > Disk Utility and launch DU.
    Select your HDD (manufacturer ID) in left side bar.
    Select Partition tab in main panel. (You are about to create a single partition volume.)
    Select number of partition in pull-down menu above Volume diagram.
    (Note 1: One partition is normally preferable for an internal HDD. External HDDs usually have more than one. See Dr. Smoke’s FAQ Backup and Recovery for tips on partitioning external HDD
    Note 2: For more partitions than one, after you have selected the number of partitions you can adjust the size of the partition by selecting the top partition and typing in the size; then move down if more adjustments need to be made..)
    Type in name in Name field (usually Macintosh HD)
    Select Volume Format as Mac OS Extended (Journaled)
    Click Partition button at bottom of panel.
    Select Erase tab
    Select the sub-volume (indented) under Manufacturer ID (usually Macintosh HD).
    Check to be sure your Volume Name and Volume Format are correct.
    Optional: Select on Security Options button (Tiger) Options button (Panther & earlier).
    Select Zero all data. (This process will map out bad blocks on your HDD. However, it could take several hours. If you want a quicker method, don't go to Security Options and just click the Erase button.)
    Click OK.
    Click Erase button
    Quit Disk Utility.
    Good luck.
    cornelius

  • Different ways to create an object

    Hi All,
    I am a new bie to java programming. I know the way to create an object for a class will be something like
    A b = new A(); // A is the class name and b is the object name.
    But i am not sure what the following code means, I know it is also creating an object but how and why in that manner.
    CaptureSearchForm userBean = (CaptureSearchForm) form;
    A b = (A) c;
    If b is the object name, then what is c here?Can anyone please explain me in detail.
    Also,
    java.util.List pageList = new ArrayList();
    Why should we give in the above manner? what does it mean?
    Thanks in advance....,,,,

    auto wrote:
    But i am not sure what the following code means, I know it is also creating an object but how and why in that manner.
    CaptureSearchForm userBean = (CaptureSearchForm) form;This does not create an object. It takes the value in the reference variable foram and copies it into the refernce variable userBean, so that userBean and form both point to the same object. The (CaptureSearchForm) is called a cast. It tells the compiler that even though form may not be declared to be of type CaptureSearchForm or a subclass, you the programmer know that the object it points to will be a CaptureSearchForm or a subclass, and to treat it as such. If at runtime this is not the case, you'll get a ClassCastException.
    A b = (A) c;
    If b is the object name, then what is c here?Can anyone please explain me in detail. b is not the object name. Objects do not have names. b and c are both variable names.
    Also,
    java.util.List pageList = new ArrayList();
    Why should we give in the above manner? what does it mean?It's known as programming to the interface. On the LHS, you're saying that pageList must point to an object that implements List. You don't cae if it's an ArrayList or LinkedList or something else. It's a way to decouple your code from the specific implementations of the types it uses.

  • Best way to do a Object which holds a collection of another object type.

    I'm writing a caching object to store another object. The cache is only valid for a session, so I want a store the data in a nested table.
    I have try to simplify my example down to its core.
    How do I make this work and what is the best to index the index the items stored for fastest retrieval.
    CREATE OR REPLACE TYPE ty_item AS OBJECT (
    id_object VARCHAR2 (18),
    ORDER MEMBER FUNCTION compare (other ty_item)
    RETURN INTEGER
    CREATE OR REPLACE TYPE BODY ty_item
    AS
    ORDER MEMBER FUNCTION compare (other ty_item)
    RETURN INTEGER
    IS
    BEGIN
    IF SELF.id_object < other.id_object
    THEN
    RETURN -1;
    ELSIF SELF.id_object > other.id_object
    THEN
    RETURN 1;
    ELSE
    RETURN 0;
    END IF;
    END;
    END;
    CREATE OR REPLACE TYPE ty_item_store AS TABLE OF ty_item;
    CREATE OR REPLACE TYPE ty_item_holder AS OBJECT (
    CACHE ty_item_store,
    MEMBER FUNCTION get (p_id_object IN VARCHAR2)
    RETURN REF ty_item,
    MEMBER FUNCTION find (p_id_object IN VARCHAR2)
    RETURN REF ty_item,
    MEMBER FUNCTION ADD (p_id_object IN VARCHAR2)
    RETURN REF ty_item
    CREATE OR REPLACE TYPE BODY ty_item_holder
    AS
    MEMBER FUNCTION get (p_id_object IN VARCHAR2)
    RETURN REF ty_item
    IS
    rtn REF ty_item;
    BEGIN
    rtn := find (p_id_object);
    IF rtn IS NULL
    THEN
    rtn := ADD (p_id_object);
    END IF;
    RETURN rtn;
    END;
    MEMBER FUNCTION find (p_id_object IN VARCHAR2)
    RETURN REF ty_item
    IS
    rtn ty_item;
    BEGIN
    SELECT VALUE (ch)
    INTO rtn
    FROM CACHE ch
    WHERE ch.id_object = p_id_object;
    RETURN rtn;
    END;
    MEMBER FUNCTION ADD (p_id_object IN VARCHAR2)
    RETURN REF ty_item
    IS
    item ty_item;
    BEGIN
    item := ty_item (p_id_object);
    INSERT INTO CACHE
    VALUES (item);
    END;
    END;
    /

    Best way to do a Object which holds a collection of another object type. The best place for data in a database is.. no real surprise.. in tables. If that data is temporary of nature, global temporary tables cater for that.
    Storing/caching data using PL/SQL requires very expensive private process memory (PGA) from the server. This does not scale.
    I'm writing a caching object to store another object. Irrespective of how l33t your haxor skillz are, you will not be able to code as a sophisticated, performant and scalable PL/SQL data cache, as what already exists (as the database buffer cache) in Oracle.
    The cache is only valid for a session, so I want a store the data in a nested table.Not sure how you take one (session local data) to mean the other (oh, let's use a nested table).
    Session local data can be done using PL/SQL static variables. Can be done using name-value pairs residing in a context (Oracle namespace). Can be done using a global temporary table.
    The choice is dependent on the requirements that need to be addressed. However, the term +"caching+" has very specific connotations that say that a global temporary table is likely the best suited candidate.

  • Best way to Clone 11i on Linux w/o any Oracle SW on target.

    Hi,
    I have an instance of BS 11.5.10.2 on Linux 4.6 (Single Node) stage. I have another Linux box stage which also has HEAL 4.6 which don't have any kind of oracle software. But both system has same oracle/capping users, file systems, host configuration and OS RPM.
    I want to setup stage box as an test instance for stage. In order to clone the 11.5.10.2 from stage to stage, do I need to install any Oracle software to perform cloning. What would be the best way to clone 11.5.10.2 ; in this scenario?
    Thanks
    Samar

    You do not need to install any Oracle software before cloning, but you need to install all pre-req. software and packages at the OS level before doing so. Rapid Clone will NOT take care of that, the OS at the source and the target nodes should be identical in terms of packages and pre-req. software. Moreover, make sure you have all software components installed as in Note: 230672.1 (Under "Section 1: Prerequisites").
    For the list of pre-req. OS packages/patches and kernel settings, please refer to:
    Note: 294932.1 - Recommendations to Install Oracle Applications 11i
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=294932.1
    Note: 169706.1 - Oracle® Database on AIX®,HP-UX®,Linux®,Mac OS® X,Solaris®,Tru64 Unix® Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.1)
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=169706.1

  • Help to buield log (pa)intrface in write way

    Hallow
    I doing an inteface to other system that log the pa in the first time and I wont to now if im in the write way?
    If not please give me ideas how to do it in better way.
    regards
    CALL FUNCTION 'HREIC_GET_LOGGED_INFTY_CHANGES'
    EXPORTING
    is_log_key = is_log_key
    IMPORTING
    et_infty_modif = et_infty_modif.
    *Perform check external employee
    *---FM THAT BRING ALL THE DATA WAS CHANGE--
    *---- Split in this loop & Fm to all infotypes----
    SORT et_infty_modif BY pernr bdate btime infty.
    LOOP AT et_infty_modif INTO wa_et_infty_modif.
    ON CHANGE OF wa_et_infty_modif-pernr.
    ASSIGN wa_et_infty_modif-pernr TO <fs_pernr> CASTING.
    ASSIGN wa_et_infty_modif-infty TO <fs_infty> CASTING.
    CALL FUNCTION 'HR_INFOTYPE_LOG_GET_DETAIL'
    EXPORTING
    logged_infotype = wa_et_infty_modif
    auth_check = 'X'
    use_archive = ' '
    TABLES
    infty_tab_before = infty_tab_before
    infty_tab_after = infty_tab_after
    fields = fields.
    *--- Check Action Hire/Fire/Change---
    PERFORM action_type.
    *---Take care on change infotype-----
    IF <fs_action> = '1'.
    PERFORM change_infotype.
    ENDIF.
    *---Take care on hire employee--
    IF <fs_action> = '0'.
    APPEND LINES OF et_infty_modif TO hire_tab.
    DELETE hire_tab WHERE pernr NE <fs_pernr>.
    SORT hire_tab BY infty.
    READ TABLE hire_tab ASSIGNING <wa_hire_tab> WITH KEY infty = '0000'. "subrc = 0 its action
    IF sy-subrc = 0.
    PERFORM action.
    ENDIF.
    ENDIF.
    *---Take care on delete records--
    IF <fs_action> = '8'.
    PERFORM delete_record.
    ENDIF.
    ENDON.
    ENDLOOP.
    FORM action_type .
    IF infty_tab_after[] IS NOT INITIAL AND infty_tab_before[] IS INITIAL. "Create infotype
    ASSIGN '0' TO <fs_action> CASTING.
    ELSEIF infty_tab_before[] IS NOT INITIAL AND infty_tab_after[] IS NOT INITIAL." Update infpotype
    ASSIGN '1' TO <fs_action> CASTING.
    ELSEIF infty_tab_before[] IS NOT INITIAL AND infty_tab_after[] IS INITIAL."Delete infotype
    ASSIGN '8' TO <fs_action> CASTING.
    ENDIF.
    ENDFORM.

    hi all
    Maybe field symbol can help but i dont now how to use it?
    Regards

  • Why clone() in Object Class is protected

    hi,
    Why clone() in Object Class is protected
    Why finalize() in Object Class is protected
    Waiting for your reply
    suresh

    Why clone() in Object Class is protectedObject's clone() is meant to provide a generic cloning facility as the assistance for the types implementing Cloneable but not as a public ready-made method. Object's clone() should be overridden for those types to provide a meaningful implementation (maybe relying on Object's clone). Object's clone() being public were an invitation to try to clone every object, regardless of its being cloneable or not. For a type to be cloneable, it is necesary for this type in implement Cloneable, a no-method interface. While at writing the class and declaring it as Cloneable, it is not much more work to provide a clone() implementation. It is the responsibility of the author of a class to decide whether it should be cloneable and if yes, how it should be cloned.
    Why finalize() in Object Class is protected"finalize" is meant for the VM to invoke is as defined by the specification.
    Encapsulation implies everything should have the smallest scope, the most restrictve access which is still appropriate.

  • Is there a way to dock the object toolbar to the top menu bar?

    I am trying to get as much screen real estate as I can. Is there a way to dock the object toolbar to the top dock areabar? Ideally i would like to place it under the main options bar.
    I have tried everything I can think of to do this. It seems like I am missing something easy to make this happen.
    Along the same lines it would be great if you could place the timeline across the entire bottom of the Captivate window with any of your other docks above it. I don't need that much room for the other dock, but a wider timeline bar would be fantabulous. Docking the timweline to the top would work as well.
    Thanks
    David

    Do you want the workspace to look in this way? :
    You just need to drag the object toolbar, towards right and move that near to the toolbar.
    Same goes for Timeline and other Pods.
    I used classic workspace and just dragged and moved the pods to the desired positions, you can save that workspace after making changes.
    Thanks.

  • What's the best way to clone to another Mac with the same system id so I do not have to re-authorize plugins/programs?

    I was told in a different thread that cloning is my answer for my problem.  Once learning that, I checked around and saw people suggesting Super Duper over the Disk Utility option, saying that I will not have to re-authorize my programs.  That it's the easiest way to clone one computer to the next without the hassle of having to reauthorizing all my programs and plugins.  Is this true?

    Clones are clones. SuperDuper does nothing special that Disk Utility does not do.
    Clone using Restore Option of Disk Utility
    Open Disk Utility from the Utilities folder.
    Select the destination volume from the left side list.
    Click on the Restore tab in the DU main window.
    Check the box labeled Erase destination.
    Select the destination volume from the left side list and drag it to the Destination entry field.
    Select the source volume from the left side list and drag it to the Source entry field.
    Double-check you got it right, then click on the Restore button.
    Destination means the new computer. Source means the old computer.
    You can connect the two via Firewire cable if both computers have Firewire ports. If not, then you will need to use an external hard drive as an intermediary. Clone the old computer's drive to the external drive. Then restore the clone from the external drive to the drive in the new computer.
    Restoring the clone simply involves switching the Source and Destination.

  • Is there any way to extend an object past the canvas?

    I'd like to know if there is any way to extend an object past the canvas and onto the background of a web page created with iWeb '08. When I move an object it gets clipped at the edge of the canvas. What I'd like to do is:
    1) Place AdSense outside the canvas, to the right, on the background.
    2) Place an image so part of it is on the canvas, and part of it is on the background. (kind of like the iWeb icon where the picture extends past the cork board)
    Is this possible to do with iWeb? If not, is it possible to do editing the HTML once it has been generated?
    When I move an object so its partially on the canvas and partially on the background, what make the part on the background invisible? Is there a piece of CSS that's doing this? (and if so how do I turn it off)
    Thanks,
    Jeff

    Jeff:
    Look at Cyclosaurus' post in this topic: http://discussions.apple.com/thread.jspa?messageID=9273769#9273769. It may address what you're wanting to accomplish.
    OT

Maybe you are looking for