Questions about smart objects in CS3-CS5.

Hi.
Two questions.
When I replace content of smart object in CS2 the content takes the size of previous state of smart object in pixels.
It was very useful when need to replace some background to another and it autoresized to the new size and proportion.
For example, when I replace content of smart object with external size 100x90px and 100x90% proportion (can see with Ctrl-T) with file with 200x300px size, i have new smart object with old size 100x90px and new proportion 50x30%.
When I try to do the same in CS3-CS5 I get smart object with size 160x216px and proportion 100x90%.
Haw can I return the old behaviour?
Second.
In CS2 I use files with a lot of smart objects each of them may consists with some others smart objects and so on.
But i can`t use this scheme in CS3-CS5 because of very high consumption of scratch memory.
Very-very simple example. In CS2 create file 4000x3000px, create new layer and draw there black square 300x300px.
Convert the "square" layer to smart object. Then duplicate it with Ctlt-J 30 times. Save the file and reopen.
The scratch size is about 280 MB and practically not changing when moving layers with movetool.
Open this file in CS5. The scratch size is about 2.5 GB and quickly increase to 5 GB and above when i try to move layers. And this is a very simple file.
If i will try to open several such files in CS5 the amount of useing memory will be fantastic.
Why there is such behaviour whis memory in cs3-cs5 photoshops?
PS. sorry for my english. hope you understand me.

Hi,
What version of Ps and AI are you using?
1. In Ps, there's no controls for the AI layer visibilty, but the visibility attributes should be respected.
2. The placed file is an embedded copy, not a link to an external file. However, there is a script that you might find useful for your purposes. I'm not sure if the Win support improved with CS5.
http://ps-scripts.com/bb/viewtopic.php?t=3045%20Brilliant%21%21
regards,
steve

Similar Messages

  • Lightroom 2.7 or 3 unable to export as a smart object to CS3

    Hi All,
    I am having some strange problems. I am running a windows Vista 64-bit machine with the most current versions of lightroom (both 2.7 and 3beta2) with CS3. I just installed an update to adobe flash 10, which is where all my problems started. After the install I was unable use lightroom (both versions) to edit in photoshop CS3. I uninstalled Adobe Flash 10, and the regular edit in photoshop works, but edit as a smart object in CS3 no longer works. CS3 will open, but after that nothing happens. I have tried installing and uninstalling multiple times. The wierd thing is that opening as a smart object usually works for the first image, then when I try to open a second image nothing is transfered to CS3 to edit. It will also work to just transfer to photoshop (not as a smart object). I shut down both CS3 and lightroom, reboot and try to export to photoshop again. Photoshop will open, but no image is transfered. I would rather be able to transfer as a smart object. Any help would be greatly appreciated.

    Hello,
    thanks for your input.
    When i use RDP 8.0, i have the samme issue.
    In the Event Logs on the Server i have the following entry:
    The computer attempted to validate the credentials for an account.
    General:
    Authentication Package: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0
    Logon Account: administrator
    Source Workstation: HOSTW297
    Error Code: 0xC000006A
    Details:
    System
    Provider
    [ Name]
    Microsoft-Windows-Security-Auditing
    [ Guid]
    {54849625-5478-4994-A5BA-3E3B0328C30D}
    EventID
    4776
    Version
    0
    Level
    0
    Task
    14336
    Opcode
    0
    Keywords
    0x8010000000000000
    TimeCreated
    [ SystemTime]
    2014-03-05T13:09:17.956376000Z
    EventRecordID
    1677902
    Correlation
    Execution
    [ ProcessID]
    584
    [ ThreadID]
    2696
    Channel
    Security
    Computer
    SERVER.Domain.tld
    Security
    EventData
    PackageName
    MICROSOFT_AUTHENTICATION_PACKAGE_V1_0
    TargetUserName
    administrator
    Workstation
    HOSTW297
    Status
    0xc000006a
    On the Client i did not found an entry for this event.
    Best regards,
    Mario

  • Smart Object Transformation in CS5

    Has anyone noticed that when you scale down a smart object in Photoshop CS5, the transformation tool resets the dimensions to 100%? In CS4, you are able to see the transformation properties once you scale down (by option-Shift clicking on the bounding box). It would be helpful to retain the scaled dimensions of the transformed smart object in case you need to import other smart objects to rescale.

    Thanks. Here's a link to the video of me transforming in CS5:
    http://www.notchill.com/tmp/CS5_SmartObject_Transform.mov
    Please note: The smart object I imported was already scaled down from the original size, but the transform controls show it as 100%.
    In contrast, here is a screen cap of me doing the exact same process in CS4:
    http://www.notchill.com/tmp/CS4_SmartObject_Transform.mov
    As you can see, once I get into transform mode, it shows that the smart object has been scaled from its original. This data is very valuable.
    Hope this helps to clarify. Please note this applies to rotation as well.

  • Smart objects from PS CS5 being edited in AI CS4

    I have both the CS4 and CS5 creative suits loaded on my machine.
    Just recently when I edit smart objects in Photoshop CS5 it launches Illustrator CS4 to edit the objects. I am also seeing this in InDesign where it will choose AI CS4 when I select edit original.
    Is there a way to change the default to use CS5 products?
    Thanks,
    Phil

    Try changing the file association of the .AI file format from CS4 to CS5 through Windows, usually done by right clicking on a .AI file and choosing Open With->Chose default program

  • Smart object in PSD CS5`

    Why does ps create a temp ai file when placing smart object? Editing is linked temporary file instead of original.

    I assume you used CS5 in both offices?
    Before CS5, SOs did not work on the principle of external links. If you were using CS4 or earlier, it's not likely you saw an edited SO just because you made an edit to your original AI file. There's no connection between the two.
    Up to CS5, SO data is stored INSIDE Photoshop. When you double click an SO, that temporary file (the one you're asking about)  opens to make your edits, then "disappears" once you save it. That's how and when the SO is updated.
    It's my understanding that there's a plug-in or patch for CS5 that WILL permit linking. I don't have it but have read references to it in this forum. Someone will be along who knows more. But if such an add-on does exist, it's possible your success in the first office was due to it, and the machine in the second office didn't have it loaded?

  • Opening DNG as a Smart Object into Photoshop CS5?

    I am using a Windows 7 64 bit platform and CS5 64 bit.  I have the most recent Camera Raw plug in for my Nikon D3100 camera.  In Bridge you are supposed to be able to open a dng file in Camera Raw, make your corrections and then by holding the Shift key it should change the open file button to open it as a Smart Object.  When I do that nothing opens in in Photoshop.
    Any suggestions?
    P

    Jeff Schewe wrote:
    pbfp wrote:
    Can you tell me how to access the workflow settings?
    Pretty simple (and the settings are sticky), open a raw image and in the center where the processing info is shown (lower center link) which acts both as an info readout AND a button to change the Workflow Options settings, click on this link...it'll give you a dlog to change the Workflow Settings.
    Alter the settings and click Done (cancel doesn't work since it works as a Cancel).
    Thereafter, unless you make changes, the Workflow Options should be sticky.
    Thank you Jeff for the information.
    Please let me know if you think the worflow settings are wrong:  Here is how the workflow is currently set:  Space: Adobe RGB 1998; Depth: 16bits/channel;  Size 34072 x 4608 (14.2 MP); Resolution: 260 p/in.; Sharpen: None;  Amount: none;  The bix is checked to open in Photoshop as a Smart Object.
    Now here is the thing.  If I am in Bridge and double click on a dng file or right click on a selection of files and choose Open in Photoshop, it opens a Camera Raw window for the file/s and then if I click on the open objects button, it does open them in Photoshop as smart objects.  The problem is that if I select, from the Bridge pop=up menu to open the selected file/s in Camera Raw, it is then that they do not get sent to Photoshop as smart objects.  Nothing happens, they just don't open in Photoshop.
    I am also having a very hard time sending dng files from Lightroom into Photoshop.  So clearly there is something not "connected" properly.  Or maybe it is not clearly, but I am supposing that there might be some general issue.  Any thoughts would be greatly appreciated.
    P

  • Smart objects not updating (CS5)

    I am using CS5 Photoshop and when I try to save edits on an opened smart object (eg. after editing a ‘placed’ photograph) a ‘Save As’ dialog box appears. When I save the edits to the smart object, using the prompted file name, they are not reflected in the master document.
    Can anyone advise what the problem might be? Is the file path between the master document and smart object being lost?
    Thanks for the help.
    Justin

    Yes I am apply layers to a JPEG. So it's solved by flattening the image and saving, but this mean I lose my fiter and masking layers.
    Does that mean the quickest way would be to open the JPEG image before placing, save it as a PSD and then place it?

  • 2 question about GPU and Lens correction ,cs5

    Hi
    i have 2 questions about Gpu and lens correction in Cs5
    1)Filter->lens correction->search online
    i get often and almost every connection time out at the first click on search online , at the second click i get no online profile
    is it normal?
    2) question is about Gpu
    it run faster , but talking about ajustament layer
    like saturation or vibrance for example
    i found with the gpu on , a light slow refresh compared with gpu off
    i have set cache  levels 6 ,history 20
    i guess are the defaul
    well i add a saturation layer and move the saturation slide ,increase o decrease saturation
    with Gpu Off , the changes are immedially , i mean i can see in real time the increase o decrease of saturation
    with Gpu On it takes a few(very few) time more
    again is normal ?
    don't be angry , i'm going to buy cs5 and i'm unsecure ... the price make a big role
    thanks

    For what it's worth, I also see a timeout on the first [ Search Online ] click, after about half a minute delay.  Second click turns up results immediately.  This happens each time Lens Correction is started, even without restarting Photoshop, and in both 32 and 64 bit versions.  Also note that I started with one profile listed by default (though from the wrong camera) for my 40D with 28-135 zoom.
    I alsow noticed that I was seeing progress bar activity in the Lens Correction dialog while I was typing this (even though Lens Correction was NOT the active window) every time I hit the 'L' key.  Strange.
    Windows 7 x64.
    -Noel

  • Smart Object Display Issue CS5 - Anyone else?

    I created a new PS document (CS5 Mac latest version) I have a few layers I grouped and made a smart object for ease of updating and reuse. Problem is my smart object just randomly disappear or even sppear to be "erased" by other layters if i move them around. They are still there and through some random acts I can them to reappear.
    I am not even sure if I can explain it right as it is just odd...
    Anyone else having dusplay issues with Smrt Objects in CS5?
    I am running on a new iMac in 64bit mode.
    Thanks!

    Try turning Open GL off and relaunching the document. This is most likely something to do with your Graphics card not being able to keep up with Photoshops stringent requirements.

  • Questions about PDF exporting with InDe CS5.5

    Hey all,
    A couple questions about exporting to PDF from the latest version of InDe.
    First, I have noticed that it seems to take a lot longer to get to a PDF. Any suggestions for how to speed up the process? It took 8 minutes or so to generate a low-res PDF (for print) of a 24pp document with a few placed images and vector graphics. Wow, that's a long time to wait, especially for a proof.
    Second, the background task... if I get it going on making that 8-minute PDF and then work some more on the document, what exactly is in the PDF? Usually I save before making a PDF or printing. So, is the last version saved what will be in the PDF?
    (As an aside, this ability to work on the doc while generating a PDF seems kind of weird. Generally one makes a PDF for proofing, or even for printing, when all the changes have been made and everything is "final". So, I see no benefit to being able to work on my document while it's making a PDF, as I'm probably finished making revisions for the time being. I have to say that I kind of like the progress bar you get when you make an interactive PDF, as you know you can't work on the document when that's on the screen... )
    Thanks as always.

    First, I have noticed that it seems to take a lot longer to get to a PDF. Any suggestions for how to speed up the process? It took 8 minutes or so to generate a low-res PDF (for print) of a 24pp document with a few placed images and vector graphics. Wow, that's a long time to wait, especially for a proof.
    Yes, this is abnormally long (and too long), something is wrong. What's the full version of InDesign you are running, as reported by holding down Cmd or Control and selecting About InDesign?
    Second, the background task... if I get it going on making that 8-minute PDF and then work some more on the document, what exactly is in the PDF? Usually I save before making a PDF or printing. So, is the last version saved what will be in the PDF?
    Saving is not related. InDesign makes a database snapshot of your document the moment you begin the PDF export, and makes the export relative to that snapshot, regardless of edits you continue to make during the export process, and regardless of saving. Of course saving first is a good idea, for several reasons, not the least of which it sounds like something's fairly seriously wrong with your document or your InDesign installation.
    We recommend you trash your preferences and export your document to IDML and see if either of those things changes this 8-minute behavior...err, assuming you're running 7.5.2.318.
    (As an aside, this ability to work on the doc while generating a PDF seems kind of weird. Generally one makes a PDF for proofing, or even for printing, when all the changes have been made and everything is "final". So, I see no benefit to being able to work on my document while it's making a PDF, as I'm probably finished making revisions for the time being. I have to say that I kind of like the progress bar you get when you make an interactive PDF, as you know you can't work on the document when that's on the screen... )
    Yeah, I think the primary benefit is if you are likely to work on 2 or more files in parallel, so you can finish A and export A and then switch to B. If you'd like a dialog box to pop up when export is done, check out my exportPop script from this post: ANN: automatic dialog after background export (exportPop.jsx.

  • Two questions about smart cards

    Hi there,
    I've got some problems with my smart card. It's greater than my skills. Here's what I would like to ask you:
    - I'm using GPShell to list all applications. Here's output:
    mode_201
    enable_trace
    establish_context
    card_connect -readerNumber 2
    * reader name SCM Microsystems Inc. SDI010 Smart Card Reader 0
    select -AID a0000000030000
    Command --> 00A4040007A0000000030000
    Wrapped command --> 00A4040007A0000000030000
    Response <-- 6F3D8408A000000003000000A5319F6E2A00030307A006331101004248106DC9D16
    4494232426216716080167260800F39FFFFFFFFFFFFFFFFFFFF9F6501FF9000
    open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4
    f -enc_key 404142434445464748494a4b4c4d4e4f // Open secure channel
    Command --> 80500000082C0CA152908FA51100
    Wrapped command --> 80500000082C0CA152908FA51100
    Response <-- 00004248106DC9D164493F011CA9A5D5580A96E868152153ED5B1E519000
    Command --> 84820100106B58779A34A2241D444106A6372A9C7C
    Wrapped command --> 84820100106B58779A34A2241D444106A6372A9C7C
    Response <-- 9000
    get_status -element e0
    Command --> 80F2E000024F0000
    Wrapped command --> 84F2E0000A4F00C6DAD6ED94E6034B00
    Response <-- 08A000000003000000079E06A0000000010107000BD276000005AAFFCAFE0001010
    007A0000000620001010007A0000000620002010007A0000000620003010007A0000000620101010
    008A000000062010101010007A0000000620102010007A0000000620201010006A00000015100010
    007A000000003000001000BD276000005AA0403600104010007A0000000035344010007A00000000
    35350010005A000000001010009A00000006203010C0101009000
    OP201_get_status() returned 17 items
    List of applets (AID state privileges)
    a000000003000000        7       9e
    a00000000101    7       0
    d276000005aaffcafe0001  1       0
    a0000000620001  1       0
    a0000000620002  1       0
    a0000000620003  1       0
    a0000000620101  1       0
    a000000062010101        1       0
    a0000000620102  1       0
    a0000000620201  1       0
    a00000015100    1       0
    a0000000030000  1       0
    d276000005aa0403600104  1       0
    a0000000035344  1       0
    a0000000035350  1       0
    a000000001      1       0
    a00000006203010c01      1       0
    card_disconnect
    release_contextmy question is - how to read this information? Could you give me example of using a0000000620001 applet? What is its class code, instruction codes, what can I do with this applet, how to select it in my source code? I would like you to help me with some java code. I just don't understand all those java card issues.
    Any help would be appreciated.
    Cheers

    state means the state of an applet, you can refer to GP 2.1 or GP2.2 for details, here 7 means selectable, 1 means loaded but not installed, neither can it be selected.
    priviliege means the privilieges given to the applet/security domains, applet and security domains have different privilieges, you can also refer to GP2.1 or GP2.2, here except for the first one is a security domain, others are applets
    Thanks god, if these global organization can think more about the programer, there would not be so much trouble in displaying in text but not hex value.
    They should apologize for wasting people's life time on reading massive rules.
    Edited by: Heermosi on Jan 14, 2010 1:01 AM

  • Question about using objects in SQL query.

    I had posted this question in the SQL/PLSQL forum but I guess nobody took the time to understand exactly what I am asking so I decided to try here hoping to get the answer. So here is the thing:
    I have created generic object type "tree" - the constructor takes as a parameter sql query which returns "node_id" and "parent_node_id" - this is all we need to have a tree. The object has all related to a tree structure member functions and one of them is "oldest_relative" (the tree may not be fully connected - it may be more like a set of many trees, so it's not necessary all nodes to have the same root).
    I also have departments table with the following fields: department_id, parent_department_id, department_name,...
    all records in the table w/out parent_departments (parent_department_id is null) are considered divisions.
    Now if I run the following query:
    SELECT "DEPARTMENT_ID", "PARENT_DEPARTMENT_ID", "DEPARTMENT_NAME", tree('select department_id "node_id", parent_department_id "parent_node_id" from departments').oldest_relative("DEPARTMENT_ID") "DIVISION_ID" FROM departments
    my question is: Is the tree object created for every row or does Oracle somehow caches the object since the object itself is not changing but only the parameter for the oldest_relative member function.
    The table only has a few hunderd records and I can't see much of a difference in the execution time btw the query above and query like this:
    SELECT "DEPARTMENT_ID", "PARENT_DEPARTMENT_ID", "DEPARTMENT_NAME", b.t.oldest_relative("DEPARTMENT_ID") "DIVISION_ID"
    FROM departments left join (select tree('select department_id "node_id", parent_department_id "parent_node_id" from departments') t from dual) b on 1 = 1
    where the object is clearly created just ones. (there is probably a better way to do it instead of this join)
    Pls elaborate
    George

    Not exactly sure what the question is...
    As I understand, you are comparing the following two constructor calls:
    +select..  tree('select department_id "node_id", parent_department_id "parent_node_id" from departments').oldest_relative("DEPARTMENT_ID") ... FROM ...+
    +select tree('select department_id "node_id", parent_department_id "parent_node_id" from departments') ... FROM dual+
    These calls are the same (besides the 1st one doing an immediate implicit call to a method of the object being constructed). The number of times these are being called depends on the number of times this SQL projection is applied - and that is determined by the number of rows being projected by the SELECT.
    The latter one is against DUAL which only has a single row. So that constructor is only called once. The former can be against multiple rows. Obviously a single pass through a data set is desirable - which means that the sub-select (use by the constructor) should ideally only be executed once and makes the 2nd method more desirable.
    However, I'm having a hard time understanding why the class and constructor are at all needed. Why pull data from a SQL table into PL memory? As that is where the class will need to cache and store the results of that construction parameter SQL SELECT. And once in PL memory, how does the object effectively access, search and use this cached data?
    PL memory is expensive. It is not sharable.
    PL data structures are primitive - these cannot be compared to SQL structures in the form of tables and columns that can be stored in a number of physical ways (index tables, hash tables, partitioned tables, clustered tables, etc). Cannot be indexed like SQL structures using B+tree, bitmap, function and other indexing methods. Cannot be sorted, grouped, analysed, filtered, etc like SQL structured data.
    It makes very little sense to read SQL data into a class and then deal with that data, cached in expensive PL memory, using primitive PL structures.
    And the same would be true if Java or C# was used. The best place for data is inside the SQL engine. That is the most superior environment for data. It can processes more data, scale better, perform better and offer more flexibility, than pulling data from it and then crunch that data using PL or Java or C#.

  • Question about Creating Buttons in InDesign CS5

    Now that InDesign CS5 has what I hope to find is a fairly robust interactive workspace, I've begun building a portfolio web site using the program.
    But I'm having trouble understanding how to create a text "next" button that has
    1.) a rollover state where "next" becomes bold and black
    2.) has an action associated with it that takes the viewer to the next state.
    In other words, once clicked, the "next" button should take the viewer from seeing the image of a brochure cover to an image of an inside spread.
    Any tips on how the Appearance section works in the Button palette, or where to go to find out?
    Should I be creating separate text "next" buttons for the Normal, Rollover and On Click states? And should these be sitting on different Layers?
    Maybe it's a combination of working with Animation, Buttons and Object States?
    It's sort of complex...
    I reviewed the "InDesign CS5 New Features" tutorial on lynda.com, which was great and gives some examples, but doesn't address my exact problem.
    Anyone working with this kind of scenario?
    Thanks, Steve

    Never mind. I figured it out. I can't believe how poorly designed this entire Adobe site function.
    Amazing...the screen says "Welcome sssttteeevvveee" in the top left corner, which, of course makes you think you're logged in, right?
    But no. You need to click on the login/register link under the black Forums box...like, why?
    Note to Adobe. TIme for a little rethink here.
    S.

  • Please help, simple question about Smart Playlists and Live Updating

    PLEASE for some reason I've never gotten an answer on this.
    I have a Smart Playlist called "Recently Played" with Live Updating. No matter how I set the parameters, the most recently played *song will ALWAYS appear on the bottom of the list when using my iPhone on the go.* I bolded that because I want you to be aware I'm not talking about on iTunes - I'm aware you can change how the list is viewed on iTunes.
    When using your iPod/iPhone on the fly and Live Updating is enabled, is there any way to make the most recently played song appear at the very top???
    Thanks so much

    Haven't seen that problem before but try the following: in iTunes, right-click the playlist name and enable the option "Copy to Play Order." Then sync.
    The normal use of "Copy to Play Order" when you have the playlist displayed in iTunes in some sort order, but you want it to display in the iPod in shuffled order (as it will actually play). Different problem than you are observing, but the same thing "might" help.... Let us know.

  • A question about immutable object: Integer

    import java.lang.Integer;
    public class ImmutableObject {
         public void changeImmutable(Integer x){
              x = x+1;
              System.out.print(x );          
    public static void main(String[] args){
         Integer x = new Integer(1);
         ImmutableObject i= new ImmutableObject();
         i.changeImmutable( x);
         System.out.print( x);     
    Hello everyone,
    Why the output of the program above is 21 rather than 22?
    Is it because of +? Can anyone tell me about this?
    Thanks a lot.
    Kolapig

    Isn't it call-by-reference? All parameters to methods are passed "by value." In other words, values of parameter variables in a method are copies of the values the invoker specified as arguments. If you pass a double to a method, its parameter is a copy of whatever value was being passed as an argument, and the method can change its parameter's value without affecting values in the code that invoked the method. For example:
    class PassByValue {
        public static void main(String[] args) {
            double one = 1.0;
            System.out.println("before: one = " + one);
            halveIt(one);
            System.out.println("after: one = " + one);
        public static void halveIt(double arg) {
            arg /= 2.0;     // divide arg by two
            System.out.println("halved: arg = " + arg);
    }The following output illustrates that the value of arg inside halveIt is divided by two without affecting the value of the variable one in main:before: one = 1.0
    halved: arg = 0.5
    after: one = 1.0You should note that when the parameter is an object reference, the object reference -- not the object itself -- is what is passed "by value." Thus, you can change which object a parameter refers to inside the method without affecting the reference that was passed. But if you change any fields of the object or invoke methods that change the object's state, the object is changed for every part of the program that holds a reference to it. Here is an example to show the distinction:
    class PassRef {
        public static void main(String[] args) {
            Body sirius = new Body("Sirius", null);
            System.out.println("before: " + sirius);
            commonName(sirius);
            System.out.println("after:  " + sirius);
        public static void commonName(Body bodyRef) {
            bodyRef.name = "Dog Star";
            bodyRef = null;
    }This program produces the following output: before: 0 (Sirius)
    after:  0 (Dog Star)Notice that the contents of the object have been modified with a name change, while the variable sirius still refers to the Body object even though the method commonName changed the value of its bodyRef parameter variable to null. This requires some explanation.
    The following diagram shows the state of the variables just after main invokes commonName:
    main()            |              |
        sirius------->| idNum: 0     |
                      | name --------+------>"Sirius"       
    commonName()----->| orbits: null |
        bodyRef       |______________|At this point, the two variables sirius (in main) and bodyRef (in commonName) both refer to the same underlying object. When commonName changes the field bodyRef.name, the name is changed in the underlying object that the two variables share. When commonName changes the value of bodyRef to null, only the value of the bodyRef variable is changed; the value of sirius remains unchanged because the parameter bodyRef is a pass-by-value copy of sirius. Inside the method commonName, all you are changing is the value in the parameter variable bodyRef, just as all you changed in halveIt was the value in the parameter variable arg. If changing bodyRef affected the value of sirius in main, the "after" line would say "null". However, the variable bodyRef in commonName and the variable sirius in main both refer to the same underlying object, so the change made inside commonName is visible through the reference sirius.
    Some people will say incorrectly that objects are passed "by reference." In programming language design, the term pass by reference properly means that when an argument is passed to a function, the invoked function gets a reference to the original value, not a copy of its value. If the function modifies its parameter, the value in the calling code will be changed because the argument and parameter use the same slot in memory. If the Java programming language actually had pass-by-reference parameters, there would be a way to declare halveIt so that the preceding code would modify the value of one, or so that commonName could change the variable sirius to null. This is not possible. The Java programming language does not pass objects by reference; it passes object references by value. Because two copies of the same reference refer to the same actual object, changes made through one reference variable are visible through the other. There is exactly one parameter passing mode -- pass by value -- and that helps keep things simple.
    -- Arnold, K., Gosling J., Holmes D. (2006). The Java� Programming Language Fourth Edition. Boston: Addison-Wesley.
    ~

Maybe you are looking for

  • Issue with deploying in WLS 10.3, Jdev11g

    I previously has issue with ClassNotFoundException on log4j.logger class and I was able to resolved it by following suggestion on this thread: Re: Question about dependent projects (and their libraries) in 11g and add the following to my WEB-INF/webl

  • On the input :   error message if there is no such id in the database to edit?  and out put comments messed up the whole

    The first page (CoGetEditForm.cfm lets you input the co id then it get to the next page for you to edit (CoEditForm.cfm). then it lets take action and UPDATEs (CoEditAction.cfm) finally, it goes to the colist.cfm to query results and outputs it to ht

  • Terms and conditions in a new page in PO pdf

    Hi, I have set the profile values for PO:Terms and conditions and PO:In file path to my text file. I was expecting the terms in a new page but it was showing it after the Line information in the last page instead of starting a new page. Any idea on h

  • Send Excel as attachment with colors in coloums

    Hi, I need to send Excel as attachment and some particular columns should be coloured. I am sending Excel attachment using FM SO_DOCUMENT_SEND_API1 when report executed in foreground. Please help how to make columns coloured. Thanks, Phani

  • Cannot see photos in photo stream

    both i and my family member opened photo stream in icloud. and all of us can add photos to the stream that i created. But we cannot see the photos other share.. anyone can help? thanks