How to associate jnlp content with javaws?

When I follow a link to a Java WebStart .jnlp file it opens as an XML file and not useing WebStart (javaws). It is not obvious to me how to make the association.
I'm currently working with Ubuntu 10.10 but it may be a more general problem.

OK, fixed. In Firefox: Edit -> Preferences -> Applications
on the left, JNLP. on the right, change from "Firefox" to /usr/bin/javaws
This really ought to be the default....

Similar Messages

  • How to associate a button with the selection/unselection of a JTable?

    hi,
    how to associate a button with JTable in this manna? i want to disable a button once there is no selection in the JTable, and enable the button when there is a selection. to associate the selection it is easy: just make an eventAction for the button on the click in the JTable and check whether there is a selection. but how to do this with the unselection? hope anyone can give me any hint. thanx!

    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Test extends JFrame {
        String[] head = {"One","Two","Three"};
        String[][] data = {{"1-1","1-2","1-3"},{"2-1","2-2","2-3"},{"3-1","3-2","3-3"}};
        JTable jt = new JTable(data,head);
        public Test() {
         setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
         Container content = getContentPane();
         content.add(new JScrollPane(jt));
         jt.getSelectionModel().addListSelectionListener(new ListSelectionListener() {
             public void valueChanged(ListSelectionEvent lse) {
              if (lse.getValueIsAdjusting()) return;
              if (jt.getSelectionModel().isSelectionEmpty()) {
                  System.out.println("Nothing Selected");
              } else {
                  System.out.println("Something Selected");
         setSize(500,500);
         show();
        public static void main( String args[] ) { new Test(); }
    }

  • Transferred my Library to new laptop, but how to associate/sync iPhone with new laptop?

    I got a new laptop. The old laptop is still working. I transferred my library using the Home Sharing method and all of my items were moved except my apps. I plugged in my iPhone to the new computer and used "Transfer Purchases from iPhone" option and all of my apps were added to the library. But, now I don't know how to associate the iPhone with the new computer. When I plug in my iPhone to the new computer. It starts to sync. It says steps 1 through 3, spins for 20 seconds and says complete, but nothing was done. I do not get the "this iPhone is associated with another library" message when I plug it in to new computer, perhaps because I've authorized both computers. All I can find in my searches is how to avoid losing all of your data and how to transfer your library, but none has dealt with this exact situation. I am stumped as to how to get iPhone associated with new computer. Can I transfer my backup from the old computer and restore from backup? Other thoughts? Sorry if the answer is somewhere (I'm sure it is), but I have spent two days looking.

    Randers4, so I carefully followed the directions (only one that confused me was about adding a fake address/calendar entry, is that for Macs, I'm using a PC?.)  I restored it from the backup and everything looked good. I had hope, the final step says to sync it and when I did, I had the exact same problem. It spun, went quickly through only 3 steps (even though there were 7 sync steps with my old laptop) and nothing changed. It clearly didn't sync.
    So, I had an idea that I would back up everything by right clicking in the left pane and forcing a back up on the new computer, and then erasing the entire phone and then restoring from the backup I just made to see if that would make a difference. So, after I tried that and it restored, it was weird. All of my settings were there. Some folders were there, my pictures were there, but all of my apps, folders, music and video was missing and it still wouldn't sync. So, then I had to plug it back into my old laptop and do a restore from there to get that stuff back.
    Shouldn't I get a message when I plug the iPhone into the new laptop saying this phone is connected to another computer? I tried "Reset Warning Messages" but it doesn't do anything. At this point, I don't care if I lose some of the stuff from my iPhone (texts, etc)...but I want it to sync to the new computer because my old laptop is on its death bed.
    So frustrating, all of my iTunes content is on the new computer, the only piece that is missing is getting it to "talk" to the iPhone. Times like this I wish I wasn't a poor teacher and could afford to get a nice Mac laptop.

  • How do i share content with my family without becoming responsible for payment of everybody's purchases? with familysharing i mean, not home sharing

    how do i share content with my family without becoming responsible for payment of everybody's purchases?
    with familysharing i mean, not home sharing
    i have set up a familyshare for my parents and 3 siblings, all mid twenties. everybody is used to paying their own way. how do i make that continue to be the case and still keep the sharing facility open?
    e.g I don't want to pay for my sisters' music purchases - half of it i don't like - but would like access to it now and then.

    -> Home Sharing is different than logging into the iTunes store.
    You enable Home Sharing using one AppleID. Doesn't matter which you use but all devices must use the same AppleID for Home Sharing.

  • How to display html content with image in Adobe Flash and Flex mobile project?

    Hi,
      I have a html content with image in it. How to display it in Adobe Flash Builder and Flex mobile project? Which control needs to be used for this?

    Hello,
    The only current way is to use an iFrame, or if you only need some html tags you could use the Text Layout Framework.
    Here this is the iFrame approach:
    http://code.google.com/p/flex-iframe/
    If the swc do not work in Flex4 just use its ource code which works...
    ...it is basically based on this:
    http://www.deitte.com/archives/2008/07/dont_use_iframe.htm
    see also and vote, please:
    http://bugs.adobe.com/jira/browse/SDK-12291
    http://bugs.adobe.com/jira/browse/SDK-13740
    Regards
    Marc

  • How to associate unmht plugin with mht files

    OS: XP+SP3
    Firefox ver.: 3.6.26
    After saving a web page as mht, how do I open it with firefox?
    Trying to associate mht with firefox.exe caused firefox to try and open every link on page including adds. ie opens it but it takes time and I'd rather work with firefox.
    thanks

    File > Open File... or dragging the saved MHT file into the Firefox window work for me with Firefox 3.6.26 on WinXP
    Double-clicking in the saved MHT file produces the same as you described, when Firefox isn't open. But when Firefox is open and minimized to the Task Bar and I double-click on the saved MHT file it un-minimizes Firefox and the file opens in Firefox with no problems.
    I suspect the problem is with WinXP and not Firefox or UnMHT.

  • How do I share content with InCopy and InDesign?

    Hi, I have InDesign CC2014 and a trial of InCopy on my machine.
    I have added an .indd file to the Creative Cloud Files folder and it now shows in the Assets > Files folder.
    I want to share the content with another user at a different location.
    In my InDesign, I have selected a text box, and gone to Edit > InCopy > Add selection to assignment > New now there is a new file in the Creative Cloud Files folder.
    A separate user has their own Creative Cloud account.
    I would now expect to somehow search for this separate user by email /username etc and 'assign' them access to this shared content.
    I was hoping it would be something simple, similar to how a google doc spreadsheet is shared. If it is...I don't get it!
    How do I do this please?

    Hello again,
    I think I spoke too soon - I still can't get consistent results - after somehow getting it to work, I re-traced my steps to repeat the process several times but without success. My scenario is two separate users, User A and User B, both in separate locations with separate CC accounts. User A has both InDesign and InCopy, User B InCopy only. Is there a tutorial anywhere - video, web page - I don't care - which explains in foolproof terms the respective steps necessary to collaborate on a single piece of content...Thanks in advance
    PS I have trawled Adobe's youtube channel and the web in general and if such a tutorial exists, I can't find.

  • How to associate an icon with an application

    Hi folks,
    I have what I think should be an easy question, but I'm at my wit's end trying to solve it. I just used fink to download gimp and it works fine. However, I need to start it from the command line, and I would really like to be able to just click on an icon in the dock. The gimp icon is available, but I don't know how to associate it with the command to launch the gimp. Any tips or suggestions would be warmly received.
    Thanks in advance,
    Carl

    You can't really "associate" an icon with a command/executable in OS X - it has to be provided by an application. Is there a reason why you don't want to use one of the packaged versions of gimp, such as http://gimp-app.sourceforge.net/ ?

  • How to associate LDAP attributes with the subject?

    I am writing a custom role mapper and want to determine the roles of the subject
    depending on values of LDAP attributes. Is it posssible to associate LDAP attributes
    with the Subject?
    We use iPlanet and hence I have configured iPlanetAuthenticator as the Authentication
    Provider. Is it possible to configure iPlanetAuthenticator so that the LDAP attribute
    values are associated with the subject? Or is it possible to extend iPlanetAuthenticator
    for this purpose?
    Is there a way to do this other than writing my own AuthenticationProvider?
    Thanks in advance.
    Jay

    "Jay" <[email protected]> wrote in message
    news:3f1d77f7$[email protected]..
    >
    I am writing a custom role mapper and want to determine the roles of thesubject
    depending on values of LDAP attributes. Is it posssible to associate LDAPattributes
    with the Subject?
    Which LDAP attributes are you interested in? We can look at adding this
    functionality
    if we have more info.
    We use iPlanet and hence I have configured iPlanetAuthenticator as theAuthentication
    Provider. Is it possible to configure iPlanetAuthenticator so that theLDAP attribute
    values are associated with the subject? Or is it possible to extendiPlanetAuthenticator
    for this purpose?
    There is no way to extend the provider.
    Is there a way to do this other than writing my ownAuthenticationProvider?
    >
    You may be able to write a separate provider that works in conjunction with
    the
    authentication provider. It would add the principals with the ldap
    attributes.
    Thanks in advance.
    Jay

  • How to display rich content with URL in adobe flash builder and flex for mobile apps?

    Hi,
      In Apple IOS SDK, I used the WebView control to display the rich text with Bullets, different font style, images within the text and the URLs also within the text as HTML content.
    Clicking on the URLs automatically opens the respective webpage in Safari.
    In Adobe Flash Builder, I don't see any control straight away equivalent to Apple WebView control.
    How to implement the same using adobe and flex?

    Thanks for your reply, its nice to know its not just me.
    the error i got when submitting to the App store where due to native support for IPHONE 5 which is now mandatory (from May 1st), looking around the internet the common soloution seemed to be upgrading to Air 3.7.
    The strange erorrs on 3.7 revolve around compiling a standard / production build (fast build works fine)
    the error is always the same (snippet shown below):
    Error occurred while packaging the application:
    Undefined symbols for architecture armv7:
      "__ZN7avmplus8Debugger9debugLineEi", referenced from:
          __ZN7avmplus9MethodEnv9debugExitEPNS_13CallStackNodeE in AOTBuildOutput-4.o
          __ZN7avmplus11BaseExecMgr22debugEnterExitWrapperNEPNS_9MethodEnvEiPj in AOTBuildOutput-4.o
    I have completly failed to work out why, but my gut feeling is its something to do with how the mac is compiling the code in standard build and unable to find a library it needs.
    cheers
    Toby

  • How to associate different securityschema with different webgate .

    Hi All,
    We have protected all our resources which is deployed on different server using OAM.
    Take my scenirio like this .
    I have 2 resources having url like 127.22.33.22:4040/myfirstresource .
    175.22.44.55.4050/mySecondResource
    Thesr 2 resources are protected by 2 webgate and i have created 2 security schema .
    I want to associate security schema 1 with resource 1 and security schema with resouce 2 .
    Can anyone provide me some poiter how can i achieve it .
    Thanks ,
    Arun.

    This is provided by OAM out-of-box. Create 2 policy domains, and give resource1 in domain1 and resource2 in domain2. Then in the default rule, give authentication schemes that you want to give. Enable the policy domains.
    The end.
    (This can be done by 1 policy domain and 2 policies too. Choose whichever is good with you)

  • How to get php content with java ??

    i have made a php file what will display a number,
    here's a example
    <?php
    if ($action == "answer"){
    echo "18274926";
    ?>
    no i want to get the number with java
    so here's my java code
    import java.io.*;
    import java.net.*;
    import java.util.Date;
    class URLConnecties
        public static void main(String args[]) throws Exception
            int teken;
            URL url = new URL("http://www.gamer.mineurwar.nl/net/javachallenge.php?command=DaTe");
            URLConnection urlconnection = url.openConnection();
            System.out.println("Type inhoud: " +
                urlconnection.getContentType());
            System.out.println("Datum document: " +
                new Date(urlconnection.getDate()));
            System.out.println("Laatst gewijzigd: " +
                new Date(urlconnection.getLastModified()));
            System.out.println("Document vervalt: " +
                urlconnection.getExpiration());
            int lengteinhoud = urlconnection.getContentLength();
            System.out.println("Lengte inhoud: " + lengteinhoud);
            if (lengteinhoud > 0) {
                InputStream in = urlconnection.getInputStream();
                while ((teken = in.read()) != -1) {
                    System.out.print((char) teken);
                in.close();
    }if you change the url ro a .html file it displays the code correctly(source),
    but when trying to get the content of a php file (the number)
    it says that there is no content from the php file
    yhe source of the original php file what's in the code can be found at
    www.gamer.mineurwar.nl/net/javachallenge.txt

    The 'content' is generated dynamically by a PHP script so the "content lenght" can't be known in advance by the server. For this reason connection.getContentLenght() returns -1; it doesn't mean that there is no content, only that it can't be known how much there will be.
    To solve the issue, remove the if statement from around the while-loop:// if (lengteinhoud > 0) { DELETE THIS LINE
    InputStream in = urlconnection.getInputStream();
    while ((teken = in.read()) != -1) {
        System.out.print((char) teken);
    // } and this too

  • SQ01 - How to associate existing query with another  infoset ?

    Hello,
    I created an infoset and want to associate it with an <u>existing</u> query.
    -> I tried to change the existing query but it is blocked for changes by the user author.
    -> I tried to copy the existing query to a new query but the infoset was copied automatically
    Is it possible to do this?
    Alex,

    Hello, a query is built upon the infoset, it gets data from the infoset structure and display them in the way you have defined in the query, if you change the infoset that is below a query you might not have all the data you need in the query.
    Why not create a new query based on the othe infoset?
    Regards, Luciano.

  • Re: Question: How to check in content with WebService

    Hi,
    I am trying to check-in using 'SOAP with Attachments', and am getting this error message
    "Content item 'SoapUpload4' was not successfully checked in. The content item must have a primary file"...
    In the soap request i am using
    <idc:file name="primaryFile" href="c:/temp/test.txt"></idc:file>
    if i send content through 'filecontent', i am able to check-in successfully.
    But my requirement is to send a file as an attachment toCHECKIN_UNIVERSAL as the file i have to send is huge.
    did any one came across this problem?

    This is exactly the same issue I am seeing when I try to use SOAP with attachments(CHECKIN_UNIVERSAL) to check-in an item to the content server.
    Did you find any solution for this? Please share.

  • How to associate ed2k protocol with emule downloader?

    when clicking on an ed2k link in FF7 Alert pops up
    " Firefox doesn't know how to open this address, because the protocol (ed2k) isn't associated with any program"

    found out this is not FF problem. it is done in the emule client itself.

Maybe you are looking for