How to launch a navigator with java

I would like to know how we can launch navigators such as Netscape, internet Explorer or Opera with java
thanks

Nobody will answer you because of your appaling behaviour on the forum so far. I have to browse this forum in work, with colleugues around. This may sound silly, but it looks bad when I browse a forum with "I fuck Microsoft" posted on it, know what I mean?

Similar Messages

  • How to connect oracle database with JAVA

    how to connect oracle database with JAVA....
    using j2sdk and Jcreator . which connector to use .. what are the code for that ..

    PLEASE .... Ask in an Oracle Java forum.
    And read the documentaiton. There is a whole document devoted to doing that. http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/toc.htm has examples.
    PLEASE ... do not ask product questions in a forum which clearly has a title saying it is devoted to assisting with download problems.

  • How can i create messenger with java tv API on STB

    deal all.
    how can i create messenger with java tv API on STB.
    how can Xlets communicate each other?
    how?
    i am interested in xlet communications with java tv.
    is it impossible or not?
    help all..

    You can create a messenger-style application using JavaTV fairly easily. JavaTV supports standard java.net, and so any IP-based connection is pretty easy to do. The hard part of the application will be text input, but people have been using cellphone keypads to send SMS messages for long enough that they're familiar with doing this. This doesn't work well for long messages, where you really need a decent keyboard, but for short SMS-type messages it's acceptable.
    The biggest problem that you need to work around is the return channel. Many receivers only have a dial-up connection, ties up the phone line and potentially costs people money if they don't get free local calls. Always-on return channels (e.g. ADSL or cable modem) are still pretty uncommon, so it's something that you nee to think about. Of course, if you do have an always-on connection then this problem just goes away.
    This is really one of those cases that's technically do-able, but the infrastructure may not be there to give users a good experience.
    Steve.

  • How to program a screensaver with java???

    Hi all,
    Can someone tell em how to program a screensaver with java, and how should i begin ? or maybe someone know any useful information source?
    thanks a lot.
    ck

    A quick google search gives me, among lots of other things:
    http://kevinkelley.mystarband.net/java/sava.html
    Good luck
    Lee

  • Launching an applet with java web start

    Is there a way to launch an applet with java web start? That is, to have the java appelt run in a browser but get deployed with a jnlp-file and have all the benefits of java web start?
    Robert

    http://www.physci.org/jws/#jtest

  • Launch a navigator with class URL

    Is there in java a function which allow to launch a navigator as netscape or opera ....?
    Thanks

    How many times are you going to ask this question? It's possible but you probably don't want to do it, look at the various exec methods in the Runtime class - they'll let you run anything from your native OS's shell - but you have to know the path to the executable.
    There may be another way to do it (via some COM bridge maybe?) However you do it will likely not only be platform dependent but environment dependent as well - not good. I would ask myself why I was wanting to do this in the first place before I got too far with it.
    Lee

  • How to create a Navigation with submenu ? { Mega Navigation Menu} ?

    Please iam playing around with Flach Catalyst, but i cant find how to create a navigation menu with submenus
    i've created the design in photoshop but i dont know how to do the rest in Catalyst.
    the Navigation menu that i want is should be more or less like this
    Home          Contact        Gallery     Team                                                            { Now when i mouse over inTeam it shows a block with text and links that i
                                                                                                                               can be able to click them.}
    -------------------------------------------------------^---------------------------------- ---------------
                                           |---------------^-------------------------------------------------|
                                             Race Team                  |   Swim Team
                                          .....................................| .............................
                                             Football Team              |   NR Team
                                          .....................................|..............................
                                             Sprint Team                 |  Basketball Team
                                         ......................................|..............................
                                             Jump Team                  |  Water Team
                                         |.....................................................................|
    Please help me i've search on google but didnt found anything.
    Thank You

    Hi,
    This file may help. DropDownMenu.fxp (Right-click > Download Linked File to download this Fc CS5.5 file).
    It illustrates a simple drop-down menu.  Note that only the File menu has button items in it. 
    Best,
    Tanya

  • How to share a folder with java? in netbios in windows

    hi. I want to write a programa that user can select a directory than
    click the share button and the directory will be shared to other pcs.
    the other pcs can acces this directory like \\servername\shareddirectory
    the question is this. how can i share a director with java or JNI's?
    please help me.
    with my best regards....

    thanks about net share command.
    i know how to use Runtime.getRuntime.exec()
    but i cont find the syntax of net share command.
    can u give an example? i use net help share and i try different
    sytaxes but i cant find the correct one.
    please give an examle about net share command.
    thanks a lot.

  • How to control tcp connection with java tcp socket programing ??

    Hi,
    I am connecting a server as using java socket programming.
    When server close the connection (socket object) as using close() method ,
    I can not detect this and My program continue sending data as if there is a connection with server.
    How to catch the closing connection ( socket ) with java socket programming.
    My Client program is as following :
    import java.io.PrintWriter;
    import java.net.Socket;
    public class client
      public client()
       * @param args
      public static void main(String[] args)
        Socket socket=null;
        PrintWriter pw=null;
        try
                          socket = new Socket("localhost",5555);
                          pw = new PrintWriter(socket.getOutputStream(),true);
                          int i=0;
                          while (true)
                            i++;
                            pw.println(i+". message is being send.");
                            Thread.sleep(5000);
        } catch (Exception ex)
                          ex.printStackTrace();
        } finally
                          try
                            if(pw!=null)pw.close();
                            if(socket!=null)socket.close();
                          } catch (Exception ex)
                            ex.printStackTrace();
                          } finally
    }

    I changed the code as following. But I couldn't catch the EOFException when I read from the socket. How can I catch this exception ?
    import java.io.BufferedReader;
    import java.io.EOFException;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.PrintWriter;
    import java.net.Socket;
    import java.net.UnknownHostException;
    public class client
      public client()
       * @param args
      public static void main(String[] args)
        Socket socket=null;
        PrintWriter pw=null;
        BufferedReader bufIn=null;
        InputStreamReader inRead=null;
        InputStream in=null;
        try
                          socket = new Socket("localhost",5555);
                          in = socket.getInputStream();
                          inRead = new InputStreamReader(in);
                          bufIn = new BufferedReader(inRead);
                          pw = new PrintWriter(socket.getOutputStream(),true);
                          int i=0;
                          while (true)
                            i++;
                            try
                              bufIn.readLine();
                              pw.println(i+". message is being send.");
                              System.out.println(i+". message has been send");
                            } catch (Exception ex2)
                              System.out.println(ex2.toString());
                              System.out.println(i+". message could not be send");
                            } finally
                            Thread.sleep(5000);
        } catch (EOFException ex)
                          ex.printStackTrace();
        } catch (InterruptedException ex)
                          ex.printStackTrace();
        } catch (IOException ex)
                          ex.printStackTrace();
        } finally
                          try
                            if(pw!=null)pw.close();
                            if(socket!=null)socket.close();
                          } catch (Exception ex)
                            ex.printStackTrace();
                          } finally
    }

  • How to use a proxy with java applications?

    I have a nokia 6300 type s40v3
    hello,
    I would like to know if it is possible to use a proxy of any and how ? kind with java applications.
    thank you

    Well, it works well when, into my applet, i do somethig like this:
    URL url = new URL(host);
    URLConnection connexion = url.openConnection();My applet uses proxy setting from IE6 but only if i use Java 1.4.2_08.
    With IE6 and Java 1.5.04, it doesn't work (my applet doesn't use proxy settings)
    With Firefox and Java 1.5.04, it's ok
    Have you already seen a problem like this with Java 1.5.04 ?

  • How long we can go with Java from now on?

    Days ago, the forum is blue. But now change to red.
    Java, will it still be hot like along with Sun? How long we can go with you?

    JoachimSauer wrote:
    mrjava wrote:
    What will be the strategy of Oracle with MySQL now?They claim to support it in full and continue development.
    But this is really off-topic here ... we're not the oracle about everything related to Oracle.Not breathing the smoke of the correct kind of leaves, eh?
    :D
    ¦ {Þ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to run native program with Java program?

    Hello
    I've got following problem. I'd like to write file browser which would work for Linux and
    Windows. Most of this program would be independent of the system but running programs not. How to run Linux program from Java program (or applet) and how to do it in Windows?.
    Cheers

    Try this:
    Runtime rt = Runtime.getRuntime();
    Process proc = rt.exec("ls -l");
    InputStream stream = proc.getInputStream();
    InputStreamReader isr = new InputStreamReader(stream);
    BufferedReader br = new BufferedReader(isr);
    String line = null;
    while ( (line = br.readLine()) != null) .....
    "if the program you launch produces output or expects input, ensure that you process the input and output streams" (http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html)

  • 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

  • How to connect via telnet with Java?

    I want to develop an application in a server with solaris 8. I want to access from this server to another server in a LAN via telnet and write down the information i am getting in a file. How i can do this in java? it's a good alternative? or i should try C++. Thanks in advance.!

    You can easily use java....just get a hold of the RFC for Telnet or if you look around, you can find code on the net already working.

  • How to let JavaScript   Communication with java

    he *,
    i have develop a firefox extension , i am using liveconnect let javascript communicate with java,
    it's my java code :
    public class javaCode{
            private int i;
            public javaCode() {
                    this.i = 0;
            public void testCount() {
                    while (true) {
                            String msg = "Call Java Method Count :" + this.i;
    }my javascript :
    function test() {
                             var myClass = loader.loadClass('com.example. javaCodeclass); 
    var myObj = myClass.newInstance(); 
    var binval = myObj. testCount ();
                    }when i install the extension into my firefox , i get a problem that is when restart firefox after i instll it ,I can't open the firefox ,but i find the firefox process is still running
    the problem is looks like the java is using "while(true)" , so it's won't stop ,
    but how to solve the problem using js or java ??
    any idea ?
    cheers,

    bobby92 wrote:
    Actually , i don't know how it will be active , so i have to using while (true)No, I'm pretty sure you don't need to. There are few cases where while(true) is needed and this isn't one of them.
    but can't i using javascript to stop the java method ??Nope, not in the middle of a while loop.
    or how to solve the problem ?What was your problem in the first place, what are you trying to achieve?

Maybe you are looking for

  • External drive not recognised

    Hi, I'm trying to attach an old laptop hard drive via a SATA to USB cable, but it's not being recognised.  Dmesg shows the output below, so it identifies that a new device is attached, but fdisk -l or lsusb don't know it's there.  Not sure what to tr

  • Oracle 8i Lite and Triggers

    In Oracle 8i Lite I can't find the data dictionary view of triggers (e.g.: all_triggers, etc.). I can't create triggers. Are triggers available in Oracle 8i Lite?

  • Address unknown when downloading Adobe Audition. How do I fix this?

    When I am trying to download adobe software it tells me that I may need to download previous software and that the address is unknown.

  • Method ex-post

    Hello, I'm doing a parameterization for calculating estimates in 56 APO using the method that analyzes multitude of profiles. Also I have since applied the ex-post method with a value of 1.25 sigma, however the result is not the wait. As I understand

  • Expand collection in GroupAggregator?

    Let's say I have an object in my cache with this method declared on it:     public Collection getListOfStuff() { . . . }If I do this:     GroupAggregator groupBy = GroupAggregator.createInstance("getListOfStuff", new Count());     Map results = (Map)