Creating Icon from JWS Application

Hi,
I have a quick question:
I would like to be able to launch a JWS application from a web page and have a desktop icon added to the desktop -- kind of like a "normal" application would if you used installshield to install it.
I know that I can add the
<shortcut>
     <desktop submenu="Docs Express"/>
     <menu submenu="Docs Express"/>
</shortcut>
XML to the JNLP, but the default behavior of the JRE seems to be to "prompt" the user to add the icon.
Can I either send a flag into the JRE installation (via a PARAM) telling it to set the default behaviour to "Always" or somehow use the shortcut element to tell it to "force" a shortcut to be installed.?

No, I don't think you can force a desktop shortcut (or any kind of other desktop integration for that matter). The user has to make that decision.
But then, most Installshield applications ask if you want a shortcut on the desktop too...

Similar Messages

  • Error while creating activities from Account application (Activity tab page

    Hi Experts,
                       We are using CRM 5.0 with PCUI ( EP 7.0 version). We are getting  below error when try to create activities from Account application in PCUI ( from activity tab page):
    Error : Activity contains error.
    Diagnosis
    This transaction has errors.
    Procedure
    To correct the errors, go to the maintenance interface of the transaction.
    To navigate to there, use the link to the account application
    Pls suggest how to proceed with this error & helpful solutions would be rewrded generously.
    Regards,
    Basavaraj Patil

    Hi Experts,
    We are getting this error when try to create Activity from Account application in PCUI. But the same thing is working fine in at GUI level & actions profile assigned to Activity transaction is also working fine at GUI level. But in PCUIit is throwing this below error.
    Diagnosis
    You have attempted to create a follow-up transaction for an incorrect transction 2000764. This is not possible. You can only create follow-up transactions for error-free transactions.
    System Response
    The follow-up transaction is not created.
    Procedure
    Correct the errors in the source transaction 2000764. The error messages resulting from processing the error can be read in the application log in the source transaction.
    Pls suggest solution for this.
    Thanks in Advance.
    Regards,
    Basavaraj Patil

  • Error in creating activity from Account application ( from activity tab)

    Hi Experts,
    We are getting this error when try to create Activity from Account application in PCUI. But the same thing is working fine in at GUI level & actions profile assigned to Activity transaction is also working fine at GUI level. But in PCUIit is throwing this below error.
    Diagnosis
    You have attempted to create a follow-up transaction for an incorrect transction 2000764. This is not possible. You can only create follow-up transactions for error-free transactions.
    System Response
    The follow-up transaction is not created.
    Procedure
    Correct the errors in the source transaction 2000764. The error messages resulting from processing the error can be read in the application log in the source transaction.
    Pls suggest solution for this.
    Thanks in Advance.
    Regards,
    Basavaraj Patil

    Hi Experts,
    We are getting this error when try to create Activity from Account application in PCUI. But the same thing is working fine in at GUI level & actions profile assigned to Activity transaction is also working fine at GUI level. But in PCUIit is throwing this below error.
    Diagnosis
    You have attempted to create a follow-up transaction for an incorrect transction 2000764. This is not possible. You can only create follow-up transactions for error-free transactions.
    System Response
    The follow-up transaction is not created.
    Procedure
    Correct the errors in the source transaction 2000764. The error messages resulting from processing the error can be read in the application log in the source transaction.
    Pls suggest solution for this.
    Thanks in Advance.
    Regards,
    Basavaraj Patil

  • Opening a file (viewed as icons) from within application  icons too large!

    Help! I'm not a newbie LOL.. I don't know when this error happened but apparently I cant just do a command J to get the view options to pop up while in an application. Here's my problem. I can view files as icons prefectly from within finder. I setup the default a long time ago and it is formatted fine. Now when I open a file from any application, for instnace firefox or NeoOffice.. .. all the icons are like 120x120 in size.. annoying. I attempted to use Alt-J to pop up view options, no go.. it appears you can't bring up view options while opening a file as an app, you can only alter view type.. icons/list/etc. Is there a command I can issue in applesrcipt or whatever to popup view options so I can fix this ?
    I THINK I know how I foobarred it. I was playing around with preview and I jacked up the icon size so I can see larger images of the home movies I created.
    that was when I was running 10.4.x
    I've been looking through the knowledge bases, I didn't see anything.
    Your help would be appreciated.
    Thanls.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether your problem is caused by third-party system modifications that load automatically at startup or login. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:
    Shut down your computer, wait 30 seconds, and then hold down the shift key while pressing the power button.
    When you see the gray Apple logo, release the shift key.
    If you are prompted to log in, type your password, and then hold down the shift key again as you click  Log in.
    *Note: If FileVault is enabled under OS X 10.7 or later, or if a firmware password is set, or if the boot volume is a software RAID, you can’t boot in safe mode. Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.  The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • How can I create Icon from byte[]

    I have such kind of task: program gets byte[] from DB (it's a *.png image bytes), after that I need to recreate icon from this bytes.
    Oleg.

    You could write the bytes to a temporary png file and load it with an ImageIcon. I'm not sure if ImageIcon handles png though...

  • Error creating webservice from BRF+ application

    Hi,
    I am creating a webservice for the BRF+ application that I created.
    I entered following parameters,
    Development Package: 
    Local Package:   
    Transport Request: 
    Create Function Group:   
    Function Group: 
    Function Module: 
    Prefix for Generated Object: 
    Webservice Name: 
    Webservice Short Text: 
    Webservice Security Profile: 
    I get the following error message, which I am unable to find the reason for. Please help.
    Save all the objects before generating the webservice
    Alternatively I will appreciate if I can have the code that is generated as part of webservice. I think there is more code than I found below from the blogs.
    TRY.
      hand over some values into the context
        lo_context = lo_function->get_process_context( ).
        lo_context->set_value( iv_name  = 'GROSS_SALARY'   "#EC NOTEXT
                               ia_value = 25000 ).
      process the function
        lo_function->process( EXPORTING io_context = lo_context
                              IMPORTING eo_result  = lo_result ).
      get the result
        lo_result->get_value( IMPORTING ea_value = lv_string ).
        WRITE lv_string .
      CATCH cx_fdt INTO lx_fdt.
      error handling
        LOOP AT lx_fdt->mt_message ASSIGNING <ls_message>.
          WRITE / <ls_message>-text.
        ENDLOOP.
    ENDTRY.
    lo_function->if_fdt_transaction~dequeue( iv_deep = abap_true ).
    My goal is to create a function module that can use the BRF+ application rules to determine result based on input entered.
    Regards,
    Kartik N.

    Hi Kartik,
    You will get the following error message, if you have done some changes and you have not saved before trying to generate the webservice.
    Please save all the changes before trying to generate the webservice.
    Also, if your goal is to just generate the function module, this can also be alternatively done, but not from the UI.
    You can try the same by executing the method GENERATE_RFC of the class CL_FDT_WEB_SERVICE and pass the required inputs. The only differnece between both this method is that in the webservice method you also have to provide the webservice related attributes, whereas in the other method you do not have. This funcitonality has not yet been ex[posed on the UI.
    Thanks and Regards
    Nitesh

  • Bridge to create thumbnails from web application

    Hi all,
    I'm looking for a solution to create thumbnails on my web application server (eps, ai, psd.. files).
    Did you think that it a good idea (and possible) to use Bridge on a server (I have a licnese for InDesign server) to generate thumbnails with a jsx script ?
    Thanks,
    Cedric

    I have no idea about using Bridge on a server, but here is an example of creating thumbnails.
    This example should be run from ExtendScript Toolkit, it will generate thumbnails for all (that it can)  filetypes in the selected folder.
    #target bridge
    var files = app.document.visibleThumbnails;
    for(var a in files){
        if(files[a].type == "file"){
        var Thumb = new Thumbnail(files[a]);
        var orientation = Thumb.rotation;
        app.synchronousMode = true;
        var bm = Thumb.core.thumbnail.thumbnail;
        app.synchronousMode = false;
        if(bm.width <1) continue;
        bm = bm.rotate(orientation);
        Name = decodeURI(Thumb.spec.name).replace(/\.[^\.]+$/, '');
        var target = new File(app.document.presentationPath + "/Thumb-" + Name + ".jpg" );
        bm.exportTo(target);

  • Accidently deleted my idisk icon from my applications?

    I was trying to put my idisk icon on my dock so I simply opened applications and tried to drag the idisk icon to my dock. I think this was not the right way to do this because the idisk icon simply vanished.... any help to restore this or help with the correct way to put idisk on my dock would greatly be appreciated. THANKS

    Sounds like you may have dragged it from your Finder window side bar. To get it back, click on the Finder menu and go to Preferences. Click on Sidebar and tick iDisk from the list. Hope that does the trick!

  • I've trashed my mail icon from my applications, but now I have em                                                                                                               pted my trash        ptyed  my trash ! can I get it back ??

    I am still learning how to use my mac and I have put my mail apps into the trash! but when I went back to my mac I forgot
    about the mail icon and empted my trash ! can I get it back? if so can you tell me how ? thanks

    Templeton Peck... Whew!
    Thanks for answering so soon! and thank goodness for "Discussions.'
    Have a fantastic new year!

  • How to create iview from webdynpro application  abap

    hi ,
    i have built webdynpro Application ABAP with adobe interactive form in it. i want this as part of the page in portal .
    Can you point me how to do it ...some resources .
    thank you
    chandra.

    Hi,
    Logon to portal, Content Administration->Portal Content and by right clicking, select New iView. In the "Template Selection" select SAP Web Dynpro iView. In the 2nd step, give the name and id of the iView. In the 3rd step you have the option to select either 'Java' or 'ABAP'. In your case select ABAP.In the 4th step, select the System and supply namespace and application name of your Web Dynpro ABAP Application. Click and Next->Finish. Now you will find the iView for your web dynpro ABAP application.
    A doc on integrating web dynpro appl in portal,
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0c7b2f25-0c01-0010-f2a2-f8a65a9dcad9
    Hope this helps.
    Regards,
    Srinivasan T
    <b>Helpful answer=>points</b>

  • How to create ICon/Cursor from pdf files

         I was able to create ICon from jpg file without problem but I couldn't create ICon from pdf files.
    Here my code:
    var myDoc = app.newDoc();
    myDoc.importIcon("myIcon"); // it worked when I chose a jpeg image, but it didn't
    //when chose a pdf file.
    icon = myDoc.getIcon("myIcon");
    oIcon = util.iconStreamFromIcon(icon);  
    myDoc.closeDoc(true);
    app.addToolButton({
                   cName: "myButtoon",
                   oIcon: oIcon,
                   cExec: "app.alert('Someone pressed me!')",
                   cTooltext: "Push Me!",
                   cEnable: true,     
                   nPos: 4
       //app.removeToolButton("myButtoon");
    My goal is to create buttons which have icons from a pdf file (stamp) and when user click on these buttons, the cursors become the icon . And then, when user click on the document, the iCon will be showed in the document. The point is: is there anyway to create icons/cursors/stamps from one pdf file. Because the stamp is changeable, when user changes the color/shape of the pdf file, the icons/cursors/stamps will automatically change
    What kind of pdf format do I have to use?
    I used the sample "SignHere.pdf" in stamps folder of Acrobat but it didn't work.
    Thanks.

    The SDK has all the information - but certainly there are only samples for those common actions that users have been doing for years.  Most developers don't recreate stuff already present in the application - such as the Stamp plugin - so we don't have samples of such things.
    But all the pieces you need are present in the SDK - it's just necessary obvious.  You will need to learn about the details of how the plugin APIs work to create the toolbars and toolbuttons, and then how to handle cursors.  You will then need to learn about PDF details in order to be able to take an existing PDF, potentially modify it (eg. Change the color(s)) and then place it onto another PDF.  
    The methods you listed are from JavaScript - there are alternative methods for plugins, such as the AVConversion APIs.

  • Hi the itunes icon has gone from the applications folder and the icon in the dock has a question mark in it. How can we get itunes back to normal? thanks

    Hi we've lost the itunes icon from the applications folder. How do we get it back and where has it gone? I dragged it off the dock by accident and dragged it from the applications folder to the desktop then to the dock. But now we've lost it.

    The iTunes app is no longer in the Applications folder?
    Try Spotlight ...

  • ST3B17.1 Error with create icon when login with KO language

    I have bug 12405347 for ST3:B17.1.
    When login with Korean language from FSM, we get the following error clicking on the create icon on an application table:
    status=500,ecid=000IyPN0iN7y0A5jbP5if1Dhqlf00083z
    -------- in the Payable log -----------------
    in the Payables log
    Caused by: javax.el.ELException: java.lang.NullPointerException
    at javax.el.BeanELResolver.getValue(BeanELResolver.java:266)
    at
    com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.j
    ava:173)
    at
    com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.ja
    va:200)
    at com.sun.el.parser.AstValue.getValue(Unknown Source)
    at com.sun.el.parser.AstOr.getValue(Unknown Source)
    at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
    at
    oracle.adf.view.rich.component.fragment.UIXInclude$ContextualFacesBeanWrapper.
    getProperty(UIXInclude.java:574)
    at
    org.apache.myfaces.trinidad.bean.util.ValueMap.get(ValueMap.java:67)
    at
    oracle.adf.view.rich.component.fragment.UIXInclude$AttrMap.get(UIXInclude.java
    :481)
    at javax.el.MapELResolver.getValue(MapELResolver.java:164)
    at
    com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.ja
    va:200)
    at com.sun.el.parser.AstValue.getValue(Unknown Source)
    at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
    at
    org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:
    68)
    at o
    and
    Caused by: java.lang.NullPointerException
    at
    oracle.apps.financials.cashManagement.bankRelationships.ui.bean.BankAccountSea
    rchBean.isDisableEditButton(BankAccountSearchBean.java:466)
    at sun.reflect.GeneratedMethodAccessor134086.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.j
    ava:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at javax.el.BeanELResolver.getValue(BeanELResolver.java:261)
    at
    com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.j
    ava:173)
    at
    com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.ja
    va:200)
    at com.sun.el.parser.AstValue.getValue(Unknown Source)
    at com.sun.el.parser.AstOr.getValue(Unknown Source)
    at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
    at
    oracle.adf.view.rich.component.fragment.UIXInclude$ContextualFacesBeanWrapper.
    getProperty(UIXInclude.java:574)
    at
    org.apache.myfaces.trinidad.bean.util.ValueMap.get(ValueMap.java:66)
    at
    oracle.adf.view.rich.component.fragment.UIXInclude.getAttribute(UIXInclude.jav
    a:279)
    at
    oracle.adf.view.rich.component.fragment.UIXInclude$AttrMap.get(UIXInclude.java
    :481)
    at javax.el.MapELResolver.getValue(MapELResolver.java:164)
    at
    com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.j
    ava:173)
    java.lang.IllegalAccessException: Class
    org.apache.myfaces.trinidad.bean.util.StateUtils$Saver can not access a
    member of class
    oracle.adfinternal.view.faces.dynamic.DynamicForm$DependentValueChangeListener
    with modifiers ""
    at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65)
    at java.lang.Class.newInstance0(Class.java:349)
    at java.lang.Class.newInstance(Class.java:308)
    at
    org.apache.myfaces.trinidad.bean.util.StateUtils$Saver.restoreState(StateUtils
    .java:576)
    at
    org.apache.myfaces.trinidad.bean.util.StateUtils.restoreStateHolder(StateUtils
    .java:454)
    The error occurs only when using FSM and login with the Korean language. There are no issue if we access the page with the direct URL:
    http://fusionsystemtest-z-fs.us.oracle.com/payables/faces/CeManageBank
    Also, there are no issue when login with the English languge. I cannot reproduce the error locally using jdeveloper either.
    @###Environment name and url
    https://fusionsystemtest-z-fs.us.oracle.com/homePage/faces/AtkHomePageWelcome
    @###Steps to reproduce, including username / password & data used
    1. Login cash_manager / Welcome1 using Korian Login.
    2. Navigate to Setup and Maintenance > All Tasks > Name:Manage Bank% > Search
    3. Click on Go to Task button against Manage Bank Accounts record
    4. In Manage Bank Account page click on Create Icon - Error Message Appears.
    In the error message after the Korean characters (status=500,ecid=000IyPN0iN7y0A5jbP5if1Dhqlf00083z) message is displayed.
    Can you please advice how I can debug this issue?
    thanks,
    Lynn
    Edited by: user713482 on May 5, 2011 11:04 AM

    Look like you are an Oracle employee. In this case you should post your question on an internal forum and not on the public OTN forum.
    Timo

  • How to use/create icons with transparent background ?

    I would like to use icons with transparent background on JButtons, but I can't find how to do it. Until now, I've been using the ImageIcon class to create icons from GIF images. These images were created with MSPaint (sorry, I don't know what I could have used instead of that). Here is how I create my buttons :
    bPencil = new JButton(new ImageIcon("Pencil.GIF"));What could I do to make the background transparent and/or what software could I use instead of M$Paint ?
    P.S. : sorry if my question seems silly, but I'm a newbie in Java coding...

    Transparent images are GIF (256 colours) and PNG (true-colour, half transparency).
    You can store the image with your code, *.class files. You then even can deliver all inside a clickable, executable .jar file.
    This kind of usage is called "resource," and hence use getResource like this:
        java.net.URL imgURL = getClass().getResource("pencil.gif");
        ImageIcon icon = null;
        if (imgURL != null) {
            icon = new ImageIcon(imgURL, description);
        }You can use paths.
    There exist versions of MSPaint that easily loose their transparent colour on saving.
    For GIFs try internet palettes, or try to save as PNG (recent version).
    Start with a transparent image from elsewhere.

  • Transfer Data from a JWS-Application to another one

    Hello
    I have an JWS-Application that starts another JWS-Appliction via BasicService, showDocument(...).
    Is there a way to transfer a large amount of data from the first application to the second one without using the filesystem?
    Thanks.

    >
    Nice demo Andrew.>Thanks. If anybody has the time, they might try adjusting the source file for that, from 16,000 bytes and see if they can claim the Meg. memory.
    ..some minutes later.
    OK. It seems it can, so long as the user agrees (and it has not been barred by the system admin. etc.). First I got a dialog saying.
    The maximum size of allotted storage is 262,144 bytes. 
    The applications has requested to increase it to
    15,000,000 bytes.But once I'd OK'd it, then the console output read:
    Cache created - size: 15000000Edit 1:
    Alternately, to keep it both entirely sandboxed and without prompts. Request only the 262,144 (80Kb by my calculations) and write the data part by part within that limit.
    The reading app. would need to check the persistence cache on a Timer (or similar) while the writing app. in turn checks it regularly during write operations. As soon as the reading app. has noticed and read the latest chunk of data, it sets a flag in the persistence service, and the writing app. writes the next chunk.
    Edited by: AndrewThompson64 on Dec 9, 2008 9:30 PM

Maybe you are looking for

  • Spry vertical menu button shows background color instead of image in preview

    Hello All, I'm a newbie (to the forum and Dreamweaver) so my apologies if my question is not in good form.  I've searched for this issue but cannot seem to find the exact problem I have.  I've created a website (my first) and used the spry menu bar. 

  • What is a data set

    Hi can any body tell me What is a data set, Plz clarify my dought. Regards manikanta

  • How to turn a stored procedure with a parameter into table function?

    Could someone please let me know how to turn the SP below into table-value function? I want to be able to run this function by using SELECT statements with the parameter. Thanks CREATE PROCEDURE [dbo].[Transformation](@year varchar(4)) AS BEGIN Decla

  • Trouble adding LiveSpaces using Page Component Selector...

    Has any one had luck or run into trouble creating an ALUI portlet using the "Page Component Selector" template that comes when you install Pages? When I go to configure the portlet, the dropdown has no trouble listing the LiveSpaces, but I can't get

  • What to do when laptop is lost or stolen?

    Last night my friend carrying my backpack left it in a cab we took and it had my MacBook Pro in it... I've called the cab company several times and nothing has shown up yet.  My computer is offline so I cannot track it with iCloud. What should I do?