Providing XML Editing functionality in JDeveloper Application

Hi Members,
Can anyone help me.
I’m developing a JDeveloper application and need to provide some means of editing XML files within my application UI.
Is it possible to integrate the XML editor that is used in the JDeveloper IDE as a UI component?, That would be an ideal solution.
Alternately if anyone could recommend a good alternative solution, I’d be grateful.
Many Thanks
Gary
Edited by: su**** on 22-Jul-2011 07:52
Edited by: su**** on 22-Jul-2011 07:53

XAmple XML viewer/editor Swing components may be used as a Swing component in a GUI application.
http://www.java2s.com/Product/Java/XML/XML-Editor.htm
Edited by: dvohra16 on Jul 23, 2011 1:29 PM
Edited by: dvohra16 on Jul 23, 2011 1:32 PM

Similar Messages

  • Album "Edit" function can't be configured to write photos on SD card

    Edit function of Album application, as well as other edition applications (Speedseed, etc.) can't be configured to use SD card, and write editing results into internal memory.

    A similar issue-- I don't like it that edited pix are saved in an Edited folder and not in the main album.  Can I change this? When trying to upload in FB, the Edited folder cannot be seen or selected, but only "photo roll".  Worse, that folder cannot be found by Google+ and thus are not backed up there.

  • Diff. btw. Region edit controls and provider.xml controls on rendering portlet UI

    hi,
    Apologize if this has been asked already.
    What are the differences if any between -
    - controlling the display of portlet header/border in the provider.xml file (containerRenderer set to false)
    V/S
    - controlling in the page edit mode (edit defaults) and uncheck the "display banners/borders" for the portlets at the region level.
    Appreciate it if anyone can explain any subtle differnces if they exist, or if they complement/overide each other. I am planning to set the containerRenderer to false to show them programmatically.
    regards
    -Ananth

    I'm using VS 2013 Coded UI Test Builder trying to add some new recorded elements to an existing window. The top level window that the coded ui test builder generated had to be modified since the title changes depending on the contents in a form. I've tried
    different ways to identify it but the simplest that seems to work looks like this (basically eliminated the name and just search for the winform name):
    public class UICustomerWindow: WinWindow
    public UICustomerWindow()
    #region Search Criteria
    this.SearchProperties[WinWindow.PropertyNames.ControlName] = "frmCustomerMaintenance";
    #endregion
    Like I said, this works in all the tests automated already and the coded ui test builder can find it if I click the refresh button. The problem occurs when I try to add any new element or exiting element. The UI builder likes to ignore all the previous recordings
    for that UI map and add a completely new top level window and elements in that window:
    public class UIViewEditCustomerDURGWindow : WinWindow
    public UIViewEditCustomerDURGWindow()
    #region Search Criteria
    this.SearchProperties[WinWindow.PropertyNames.Name] = "View/Edit Customer DURGAN, KENYON";
    this.SearchProperties.Add(new PropertyExpression(WinWindow.PropertyNames.ClassName, "WindowsForms10.Window", PropertyExpressionOperator.Contains));
    this.WindowTitles.Add("View/Edit Customer DURGAN, KENYON");
    #endregion
    Is there something I'm missing or this just a limitation of the Coded UI Test Builder? BTW, if more info is needed, let me know and I can probably provide it since its all dummy data.

  • XML Spy Like Functionality in Jdeveloper?

    Hi all,
    May I know whether there is any XML Spy like functionality in Jdeveloper or a plug in for the same to see the XML Messages passing?
    Regards,
    ATC-OD-EMEA

    To see how messages are send to a web service you can use the HTTP Analyzer. On OTN you'll find a how-to: http://www.oracle.com/technology/obe/obe1013jdev/10131/devdepandmanagingws/devdepandmanagingws.htm#t6
    HTH,
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to provide the F4 functionality to the files on application server

    Hi,
    How to provide the F4 functionality to the files on application server at selection screen.as it is F4_FILENAME for files on desktop , is there any Function module for this purpose also. I did a search in R/3 but didnt get any FM .Please advise.
    Regards,
    sam.

    You can get to it  using frontend class CL_GUI_FRONTEND_SERVICES if you know the host name and have the correct permissions, for example, this program works great for me in my system.
    report zrich_0001 .
    data: ifiletable type filetable.
    data: xfiletable like line of ifiletable.
    data: rc type i.
    parameters: p_file1 type localfile default'\sapprdusr'.
    at selection-screen on value-request for p_file1.
    call method cl_gui_frontend_services=>file_open_dialog
       EXPORTING
    *    WINDOW_TITLE            =
    *    DEFAULT_EXTENSION       =
    *    DEFAULT_FILENAME        =
    *    FILE_FILTER             =
         INITIAL_DIRECTORY       = '\sapprdusr'
    *    MULTISELECTION          =
      changing
        file_table              = ifiletable
        rc                      = rc
    *    USER_ACTION             =
      EXCEPTIONS
        FILE_OPEN_DIALOG_FAILED = 1
        CNTL_ERROR              = 2
        ERROR_NO_GUI            = 3
        others                  = 4.
    read table ifiletable into xfiletable index 1.
    if sy-subrc = 0.
      p_file1 = xfiletable-FILENAME.
    endif.
    Regards,
    Rich Heilman

  • Call Xml Publisher report from Jdeveloper

    Hi,
    I am first time integrating XML publisher with Jdevloper.
    I need to call xml publisher report from Jdeveloper.
    I followed all steps from anilpassi link for sample
    its showing error while tring to open pdf file
    Error:
    Adobe Reader could not find 'EmpReport[1].pdf' because it is either not a supported file type or because the file has been damaged.
    Please help ,i m stuvk because of this error.
    below is the code
    EmpCO :
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModuleImpl am =
    (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    am.invokeMethod("initEmpVO");
    // am.invokeMethod("getEmpDataXML");
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModuleImpl am =
    (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    if ("GenerateReport".equals(pageContext.getParameter(EVENT_PARAM)))
    System.out.println("event fired");
    // Get the HttpServletResponse object from the PageContext. The report output is written to HttpServletResponse.
    DataObject sessionDictionary =
    (DataObject)pageContext.getNamedDataObject("_SessionParameters");
    HttpServletResponse response =
    (HttpServletResponse)sessionDictionary.selectValue(null,
    "HttpServletResponse");
    try
    System.out.println("inside try");
    ServletOutputStream os = response.getOutputStream();
    // Set the Output Report File Name and Content Type
    String contentDisposition = "attachment;filename=EmpReport.pdf";
    response.setHeader("Content-Disposition", contentDisposition);
    response.setContentType("application/pdf");
    // Get the Data XML File as the XMLNode
    XMLNode xmlNode = (XMLNode)am.invokeMethod("getEmpDataXML");
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    xmlNode.print(outputStream);
    ByteArrayInputStream inputStream =
    new ByteArrayInputStream(outputStream.toByteArray());
    ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
    //Generate the PDF Report.
    TemplateHelper.processTemplate(((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext(),
    APP_NAME, TEMPLATE_CODE,
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage(),
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getCountry(),
    inputStream,
    TemplateHelper.OUTPUT_TYPE_PDF, null,
    pdfFile);
    // Write the PDF Report to the HttpServletResponse object and flush.
    byte[] b = pdfFile.toByteArray();
    response.setContentLength(b.length);
    os.write(b, 0, b.length);
    os.flush();
    os.close();
    catch (IOException e) {
    System.out.println("Exception1"+e);
    } catch (SQLException e) {
    System.out.println("Exception2"+e);
    } catch (XDOException e) {
    System.out.println("Exception3"+e);
    pageContext.setDocumentRendered(false);
    EmpAMImpl:
    public void initEmpVO() {
    EmpVOImpl vo = getEmpVO1();
    if (vo == null) {
    MessageToken errTokens[] =
    { new MessageToken("OBJECT_NAME", "EmpVO1") };
    throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", errTokens);
    } else {
    vo.executeQuery();
    public XMLNode getEmpDataXML() {
    OAViewObject vo = (OAViewObject)findViewObject("EmpVO1");
    XMLNode xmlNode =
    (XMLNode)vo.writeXML(4, XMLInterface.XML_OPT_ALL_ROWS);
    return xmlNode;
    Please help !!

    Hi,
    I tried the way suggested by Anil in the above link as well today, but still am getting the same error while openning the pdf .
    Dont know why it shows error that either the file is not a supported file type or because the file is damaged.
    Please suggest way to solve this error or some other way of calling xml report from OAF page.
    Edited by: user13573749 on Apr 10, 2011 9:59 PM

  • How to write to an XML file from JDE batch application?

    Hello everyone,
    I need to write data from a batch application to an XML file. I don't know how to use the XML business functions.
    I tried to use XML Publisher but the format is not the same as the client XML. The XML file has some customized format.
    I need to do it manually with business functions and ER. Please help me out.
    Some business functions I saw are Create XML document, XML Add element and XML Add attribute but the parameters are complex to
    use.
    Thank you very much.
    Edited by: Lovvy on Sep 8, 2010 2:58 AM

    The XML DB forum is better suited to your question.
    It also has a FAQ which details how to read and shred XML into tables as well as other common XML based questions...
    XML DB FAQ

  • Manual Changes in Provider.XML

    Hi Experts,
      Mine is a File to XI to JDBC[SQL SERVER]  scenerio. Certain JAR files were missing in the JDBC application, so I had to follow the PDF file: How To Installand Configure ExternalDrivers for the JDBC & JMS Adapters  which instructed me to download the msbase.jar, mssqlserver.jar, msutil.jar [ from MS SQL  VENDOR ] as well as the  aii_af_jmsproviderlib.sda from the path
    /usr/sap/<SID>/DVEBMGS<SYSNO>/SDM/root/origin/
    sap.com/com.sap.aii.af.jmsproviderlib/SAP AG/3.0.0220040608173429.0000/aii_af_jmsproviderlib .sda  and unzipped and put the .JAR files in them ,and put the jar files name in provider.XML file and again zipped and converted it to a .SDA folder.
       Now my query is the PDF is asking to DEPLOY it using SDM, but I wish to know, prior to that, will I replace the .com/com.sap.aii.af.jmsproviderlib.SDA in  the path   /usr/sap/<SID>/DVEBMGS<SYSNO>/SDM/root/origin/
    sap.com/com.sap.aii.af.jmsproviderlib/SAP AG/3.0.0220040608173429.0000/aii_af_jmsproviderlib .sda  , with the newly modified aii_af_jmsproviderlib .sda carrying the JAR files and the updated provider.XML file??
    Regards,
    Arnab .
    Modertors, can u comment , is this the right forum to ask this question?
    Edited by: Arnab Mondal on Dec 17, 2008 7:37 AM

    You have to deploy the required JDBC drivers for the database before making connection. Ask the database provider or your vendor for the divers. That should be deployed using SDM tool
    Start visual admin of XI and select service "Deploy" and then select option "Deploy and start" to select file and deploy it
    now here is the steps to deploy this module.
    How to deploy adapter module in production
    Three option available:
    1. Using SDM
    2. Using Visual Admin
    3. Using NW development studio (Not available for Production)
    We will use Visual Admin u201CDeployu201D deploy service to deploy EAR file of adapter module.
    Steps:
    1. Goto VM->Deploy service
    2. Select option u201CDeploy and startu201D
    3. Select EAR file provided for deployment
    4. Restart the service.
    5. Done

  • HTML portlet provider.xml

    Hi,
    can anyone tell me where is located the HTML portlet provider.xml file??
    Thanks

    AMN wrote:
    email81107 wrote:
    AMN wrote:
    email81107 wrote:
    That's right. You should login as portal.
    1. on Builder Page/ Administer tab, here you should be seeing page arranged into three columns. The central column will have three portlets and the top one should be this. This is the default arrangement. if you do not see it, then portal permissions seems to have been modified or the portlet has been removed from the page.
    2. The other way I told you is the alternate method to reach the same tool going directly through SSO server page.
    3. There is another way to get this: by adding this portlet into this page. For that, edit the page, and click the icon for add portlets in the top central columnar region. Now search for 'SSO Server Administration' in the search box. If the privileges are not modified, then you should be able to see it. Include it in that page.
    thanks,
    AMN
    none of this worked!
    I think it works that's how you get (NOT got) access to the Add External Application tool. It was all meant to give you access to the tool.
    However, the tool couldnt do what you wanted to.
    you may want to check permissions for portal which seem messed up. you should be able to login to SSO server page using portal. You seem to have no privilege for it. It did not work for portal but worked for ORCLADMIN. That is why you cannot see the portlet on the builder/administer page too.
    regards,
    AMNTHIS IS INCORRECT.
    no portlet was added or modified. I was able to get to my 'SSO Server Administration' by way of http://<server>.<domain>:7777/pls/orasso/orasso.home and logged in as ORCLADMIN.
    It's not to claim a credit; it is to describe a valid method. I do not wish to waste time on personal claims or disclaims.
    If you haven't read my message completely then you may be right.
    I wish you good luck in finding a solution.
    AMNthen you dont know how to incorporate this product into portal?
    who does know?

  • Deployment of JDeveloper Application

    Hi Gurus;
    i have a question for u people, first understand the use case:
    1. I have an application developed in Jdeveloper
    2. Application comprises on hundreds of .jspx pages and business components.
    3. Database is used Oracle 11g.
    4. Application is deployed on Weblogic Server.
    Problem :
    A user requests to make some changes in some .jspx form which is currently the part of deployed application. too many users are working with application.
    i make the changes in .jspx form and at this point i want to upload this form in weblogic however the application deployed is packaged. please guide me how i can deploy the new form. is there a need to redeploy the application? if so what will be the status of connected and working users?

    What type of authentication are you using for your application? If you configure the following
    <jazn provider="XML" location="../../config/jazn-data.xml" default-realm="jazn.com" persistence="ALL"></jazn>in orion-application.xml then your users need to exist in the referenced jazn-data.xml file, but it's more usual on 10gAS to configure something like this
    <jazn provider="LDAP">
        <jazn-web-app auth-method="SSO"/>
      </jazn>In which case the users need to exist in the OID.
    Hope this helps a little!
    Matthew

  • Error while loading an XML document using a structured application

    Hi,
    I try to load an XML document using a structured application defined in the default structapps.fm
    My code is shown down, extracted from the FDK API code sample.
    Problem, I always have the same message :
    "Cannot find the file named e:\xml\AdobeFrameMaker10\file. Make sure that the file exists. "
    Where "e:\xml\AdobeFrameMaker10\" is my install directory.
    So I assume that frame try to find the structapps.fm file but does not find it.
    What else can it be ?
    Does anyone knowns how to achieve this simple task using extendScript ?
    Thanks for any comments, Pierre
    function openXMLFile(myLastFile) {
        var filename = myLastFile.openDlg("Choose XML file ...", "*.xml", false);
        if (filename != null) {
            /* Get default open properties. Return if it can’t be allocated. */
            var params = GetOpenDefaultParams();
            /* Set properties to open an XML document*/
            /*Specify XML as file type to open*/
            var i = GetPropIndex(params, Constants.FS_OpenAsType)
            params[i].propVal.ival = Constants.FV_TYPE_XML;
            /* Specify the XML application to be used when opening the document.*/
            i = GetPropIndex(params, Constants.FS_StructuredOpenApplication)
            params[i].propVal.sval = "myApp";
            i = GetPropIndex(params, Constants.FS_FileIsOldVersion)
            params[i].propVal.ival = Constants.FV_DoOK
            i = GetPropIndex(params, Constants.FS_FontNotFoundInDoc)
            params[i].propVal.ival = Constants.FV_DoOK
            i = GetPropIndex(params, Constants.FS_FileIsInUse)
            params[i].propVal.ival = Constants.FV_DoCancel
            i = GetPropIndex(params, Constants.FS_AlertUserAboutFailure)
            params[i].propVal.ival = Constants.FV_DoCancel
            /*The structapps.fm file containing the specified application must have
            already been read. The default structapps.fm file is read when FrameMaker is
            opened so this shouldn't be a problem if the application to be used is
            listed in the structapps.fm file.*/
            var retParm = new PropVals()
            var fileObj = Open(filename, params, retParm);
            return fileObj
        } else {
            return null;

    Pierre,
    Depending on the object "myLastFile", the method openDlg might not even exist (if the myLastFile object is not a File object, for instance). And I do not see any need for the myLastFile anyhow, as you are presenting a dialog to select a file to open. I recommend using the global ChooseFile( ) method instead. This will give you a filename as string in full path notation, or null when no file was selected in the dialog. I am not sure what your ExtendScript documentation states about the return value for ChooseFile, but if that differs from what I am telling you here, the documentation is wrong. So, if you replace the first lines of your code with the following it should work:
    function openXMLFile ( ) {
        var filename = ChooseFile ( "Choose XML file ...", "", "*.xml", Constants.FV_ChooseSelect );
    While writing this, I see that Russ has already given you the same advice. Use the symbolic constant value I indicated to use the ChooseFile dialog to select a single file (it can also be used to select a directory or open a file - but you want to control the opening process yourself). Note that this method allows you to set a start directory for the dialog (second parameter). The ESTK autocompletion also gives you a fifth parameter "helplink" which is undocumented and can safely be ignored.
    Good luck
    Jang

  • I want to do "Invite Friends" functionality in my application.

    Hi,
    I want to do "Invite Friends" functionality in my application.
    My requirement is like for the particular user([email protected]), i neet get a contacts list associated in gmail account.
    So i need to connect to gmail internally and i need to display the contact list of the user([email protected]) in my appllication.
    I need to do it for Yahoo mail also.
    Any API?.
    I got "jgmail" and "g4j" API but there is no documentation or examples to do.
    Please help me out.
    Thanks in advance,
    Prasad.

    I got a solution.
    We found one service provider(*Plaxo*) giving user contact infirmation.
    Plaxo providing a free service.
    U can reach the Plaxo with the follwing Url:
    http://www.plaxo.com/api/widget
    With this my work is done so easily.
    Any querries. I will help U.

  • Office 2013 Home & Business Edition - None of the application (Word, Powerpoint, Excel or Outlook) is opening, not even in safe mode..

    Office 2013 Home & Business Edition - None of the application (Word, Powerpoint, Excel or Outlook) is opening, not even in safe mode.. I tried to run the application in compatibility mode by right clicking the excel.exe and choosing the compatibility
    mode, still no success. It is installed on Windows 7 Professional SP1. All the latest updates are already installed. I have also tried Microsoft fixit, but still no Success. Please help!! 

    I'm so sorry that I forgot the Office programs even not open in safe mode and provide useless information in my last reply.
    The problem persists when we perform a Windows clean boot, right?
    Were the Office programs suddenly not working? Or it just can’t be open after you install it? Did you get any error message?
    If you haven’t try a repair of your Office installation, we can try it to check the result:
    http://office.microsoft.com/en-us/project-help/repair-office-programs-HA010357402.aspx
    In addition, try to use Event Viewer to see if we can get some useful error log about this problem. See:
    http://windows.microsoft.com/en-us/windows/open-event-viewer#1TC=windows-7
    Regards,
    Steve Fan
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • Newbie: orion-application.xml in both deployment and applications dirs

    Okay,
    I am using OAS 10.1.2.2 and have deployed an OC4J instance with a web application. The web application that I deployed (from a .war file) was installed normally but for some reason I have an orion-application.xml file in both the +/application-deployments/webappname/+ and the +/applications/webappname/META-INF/+ directories. They look almost identical with the differences noted below:
    applications directory version:
    This file has a complete definition for the jazn provider but is missing a reference to the principals.xml file.
    jazn section looks like this:
         <jazn provider="LDAP" location="ldap://ldap.server.edu:389">
              <property name="ldap.user" value="cn=username" />
              <property name="ldap.password" value="!password" />
              <property name="ldap.cache.session.enable" value="false"/>
              <property name="ldap.cache.realm.enable" value="false"/>
              <property name="ldap.cache.policy.enable" value="false"/>
              <property name="jaas.username.simple" value="true" />
              <jazn-web-app auth-method="SSO"/>
         </jazn>
    application-deployments directory version:
    It points to a principals.xml file and gives a generic definition for the jazn provider (specifies provider="LDAP" and a default-realm but no location attribute in the jazn tag).
    jazn section looks like this:
         <jazn provider="LDAP" default-realm="whidbey1">
              <jazn-web-app auth-method="SSO"/>
              <property name="jaas.username.simple" value="true" />
         </jazn>
    I assume the one defined in the +/applications/webappname/META-INF+ is the proper one since it has all the detailed OID connection information. However, are both needed? If so, why? If not, which one is being used and why would there be two of them?
    I've checked all the documentation and have found several references to it being installed in one or the other place but not both.
    Any help you can provide would be much appreciated.

    Hi,
    The difference between these files is this:
    The one in the applications/ tree is the one that comes packaged in your ear file. This is a way to package your deployment preferences. At deployment time, enterprise manager extracts this file to configure your deployment.
    The one in the application-deployments directory is the one that is actually in use.
    LDAP connection from OC4J containers is specified on the container level, because this is container-level security. This means that using the enterprise manager, you configure your container to connect to the LDAP (enterprise manager, tab administration, item Identity Management). In the orion-application.xml, you no longer need the details because they are stored on container level. So these are removed when deploying your application, leaving only what you see.
    The configuration parameters you specify can be added as container startup parameters using -Dparam=value.
    Regards,
    Jeroen van Veldhuizen

  • Replace function in JDeveloper 3.2

    Hi JDev Team:
    Are there any global replace functions in JDev 3.2, for instance I have one word, say 'aaaa', in all of my projct files, .jsp, .java, .... I like to replace with 'bbbb'.
    Thanks

    The JDeveloper Editor provides Search & Replace functionality for files.
    What I typically do is
    Select menu: Search | Search Source Path...
    Enter Search String and Change Source path
    and other fields and press Start
    Then the Navigator displays a Search tab which lists all files with the matching string.
    Double click on first file in navigator and
    select menu Search | Replace
    In this dialog enter your search, replace, and other options-
    In the Options, If you do not want to be prompted, do not check the Prompt on replace option.
    Select the Scope of Global
    Selectg the Origin of Entire
    When you are ready press the Multiple button to make multiple replacements.
    When you are done with this file,
    Press Ctrl-S to Save the file
    Press Ctrl-F4 to close the window
    Double click on the Next File
    Press Ctrl-R to invoke the Search | Replace dialog.
    You should not need to change any options.
    Press Alt-M to select the Multiple Button!
    While this may seem more complex then a simple Sed / Perl / Python script, it is more controllable, flexible and user friendly.
    Besides, you may learn a few JDeveloper tricks.
    Good Luck,
    -John

Maybe you are looking for

  • VA01 - Plant not showing in Sales Order view

    Dear Gurus, I want to create a sales order and have selected a SP + 1 Item. The plant has been maintained both in the Customer and the Material MD Why then is it not showing in the plant'/s table field: RV45A If I enter the plant manually: TCSP, the

  • Message Handling in BADI implementation

    Hi All, Initially I was trying to use an EXIT but was not able to do so because we were not getting the functionality properly. So i switched to BADI. I have implemented a standard BADI and its working fine. Now i want to display messages as required

  • Great Mac resource book?

    Could anyone recommend a good book (or web site, dvd) that explains the Mac OSX software and hardware thoroughly (but not too technically), including quick keys for the OS? Thanks!

  • How do I disable auto-caps on MacBook Pro 10.6.6

    *I hate autocaps!* When I want a cap, I'll hit the shift key. Autocaps runs system wide on my MacBookPro5,4. It's a nightmare for passwords. I never know when it's giving me a cap or not. Also, in things like the terminal it will cap a command that c

  • DDR3 RAM compatibility with both Macmini (Mid 2010) and Macbook  Pro (13-inch, Mid 2009)

    Is the DDR3 Memory Module compatible with both Macmini (Mid 2010) and Macbook Pro (13 inch Mid 2009) models If thats the case I can buy 8 GB (4 GB * 2) then have my RAM already in my Macbook Pro to my Macmini Thanks Shas