Web browser in Java

I am wondering if there is any way to add a web browser to your Java application.
I found http://www.javio.com/webwindow/webwindow.html but you have to pay for it in order to be able to use it( except a trial version that expires in a hour :s). But I didn't find another web browser on the internet ... :x
So any idea's / tips ?

you can fireup any web-browser from java... just Runtime.exec() it... the trick will be getting it to go to your URL.

Similar Messages

  • Portal with a URL using a Web browser in java stack

    Dear all,
    I can access the portal with our URL using a Web browser from your client machines .
    i got the following option :
    SAP Library
    SAP Library contains the complete documentation for SAP Web Application Server.
    Web Services Navigator
    Web Services Navigator is a tool that gives you a short overview of a specific Web service based on its WSDL, and enables you to test your Web service by creating and sending a client request to the real end point.
    System Information
    System information provides administrators with an overview of the system configuration and its state. It shows all of the system's instances and processes, their current state and important parameters (such as ports) that may be required for support cases, as well as the versions of the components installed.
    UDDI Client
    The UDDI client provides query and publishing functions for different Web service entities (tModels, business services) to any UDDI compliant registry.
    User Management
    The user management administration console provides administrators with the functions they need to manage users, groups, roles, and user-related data in the User Management Engine (UME). Users without administrator permissions can use it to change their user profile.
    Web Dynpro
    Web Dynpro is a User Interface technology available within the SAP NetWeaver Developer Studio.
    Various Web Dynpro tools provide administrators and application developers with performance measurement and application administration capabilities. The Web Dynpro runtime is already deployed.
    SAP NetWeaver Administrator
    A tool for administration and monitoring, offering a central entry point to the whole SAP NetWeaver system landscape. The SAP NetWeaver Administrator can be used in a central scenario where it is capable of operating an entire system landscape containing ABAP and Java systems as the application platform of SAP NetWeaver.
    J2EE Engine Examples
    This section contains several J2EE application examples that run on the J2EE Engine. The examples show some of the functions of both Java and the J2EE Engine. They can be easily deployed and tested by simply clicking on a button. The full source code of the examples is also available.
    when i click System Information:
    it ask user name () J2EE_ADMINand password (Installtion master password) ,after entered , i got below error .
    You are not authorized to view the requested resource.
      Details:   No details available
    Kindly suggest .

    Hello
    It means what it sais, your J2EE_ADMIN user doesn't have enough authorization.
    Chech if the appropriate authorization is assigned in your abap stack which belongs to the java stack you logon to:
    Role SAP_J2EE_ADMIN should be assigned to user J2EE_ADMIN.
    Kind regards
    Tom
    Edited by: Tom Cenens on Dec 17, 2010 2:55 PM

  • Possible to read data from a web browser into java?

    Is it possible to read data from a web browser such as IE or Mozilla into a java applet for use and manipulation? If it is, could someone please post some documentation I could look at or a snip-it of code I could use? Thanks.

    This will read the content from a site:
    import java.net.*;
    import java.io.*;
    class Test {
         public static void main(String[] argv) throws Exception {
              URL u = new URL("http://www.google.com");
              URLConnection uc = u.openConnection();
              BufferedReader br = new BufferedReader(new InputStreamReader(uc.getInputStream()));
              String text;
              while( (text = br.readLine()) != null ) {
                   System.out.println(text);
    }

  • How to connect other mobile web browser to java application.

    I'm trying to write an application in j2me and wondering how can i take the requested url from the default web browser of mobile phone to my java application and download page using java application and send the downloaded data to that browser.
    I don't know any API that do this.
    Please help...

    take a look at [Java ME Content Handler API (CHAPI), JSR 211|http://java.sun.com/products/chapi/]
    - CHAPI +"...manages the action to handle [Uniform Resource Identifiers|http://en.wikipedia.org/wiki/Uniform_Resource_Identifier|Wikipedia article] (URI) based on a MIME-type or scheme. CHAPI provides the capabilities for browsers and native applications as well as Java ME applications to invoke other Java ME applications which dynamically extend the media types and capabilities supported by the device's application environment...."+

  • How to open a web browser from java

    Hi
    Would anybody please help me with this. I need to open a web browser from my java app but I don't know. What method I can use?
    Thanks.
    Hung.

    You can use the Runtime class for this. It can run any command. So, you can run the .exe file of your Web browser.
    The following code will run Internet Explorer (assuming iexplorer.exe is in C:\Program Files\Internet Explorer):
    import java.lang.Runtime;
    public class Explore{
    public static void main(String[] args) {
    try{
    Process p = Runtime.getRuntime().exec("C:\\Program Files\\Internet Explorer\\iexplore");
    }catch (Exception e) {
    System.out.println("Exception: " + e);

  • OpenGL in C++  displayed on a web browser using java??

    I have a OpenGL application written in CPP that I would like to display on a web browser.
    I was wondering if their is a way to do this using java. Maybe somekind of java wrap.
    Thank you

    Maybe some kind of ActiveX control perhaps ?
    Not too familar with ActiveX programming though...
    regards,
    Owen

  • Open web browser from java application to specific page

    Hi,
    I used the code from http://www.javaworld.com/javaworld/javatips/jw-javatip66.html to open a web browser to a specific URL. That worked great! However, I run into a problem if the URL targets a specific page, for example, "http://www.yahoo.com/news.html" would give me an problem with the shortcut problem. Any ideas how to get around that?
    The command rundll32 url.dll,FileProtocolHandler http://www.yahoo.com/news/ would work fine, except anything ends with .htm or .html.
    Thanks,
    David

    It looks like url.dll doesnt like .htm or .html files. For more info look here: http://www.jsiinc.com/SUBI/tip4100/rh4162.htm
    For some reason it is confused by the 'm' character in .html which is odd considering it has no problems with .com
    So if you want to keep using url.dll, do something like this:
    replace ".htm" with ".ht%6D"

  • Simple web browser in Java

    Hi,
    I would to write a simple web browser (a school project :)) and i don't know how to get started... Please help :) If someone has a ready one could you send it (i don't want to copy but see how to do it). Thanks in advance

    Well you would have to do alot of work to embed javascript but try this
    Dont you just love google
    http://www.icesoft.com/pages/icebrowser_embedded_overview.php
    Gerre Gannaway, Sep 4, 2001
    The ICE Browser(which supports JavaScript) can be added to a JPanel with a few lines of code: StormBase stormBase = new StormBase(); stormBase.setComponentToolkitName("swing"); JPanel stormPanel = new JPanel(); stormBase.setContainer(stormPanel, "viewport");

  • Java Web Browser Pleeease Help !!!

    I did a light web Browser with Java I want that my web browser supports the following Internet standards and protocols likes :
    HTTP 1.1 Protocol
    HTML 4
    Tables and Frames
    Persistent Cookies
    GIF and JPEG Media Formats
    AU Audio Format
    FTP and Gopher File Transfer Protocols
    SMTP and MIME E-mail Protocols
    SOCKS Protocol
    Java Archive (JAR) Format
    THANKs
    Pleeeeeeeeeeease Help me

    i do not wanna do web browser, that is my coswork,Still you need to give a bit more info.
    1) Be aware that data and view of the data are and should remain different things.
    The ArrayList can be used to save the Favourites. And the JList can be used to display them. Alternately, you could also use a tree of Favourite objects, with Favourite extending DefaultMutableTreeNode. This tree can then be displayed using JTree.
    http://java.sun.com/docs/books/tutorial/uiswing/components/index.htmlJust in case you need it.

  • Web browser ...need help

    hello everyone..i have built a simple web browser using java..i can go to google.com or facebook.com but whenever i want to search something or want to login providing necessary information it doesnt work..can anyone tell me whats wrong here??nd how can i solve it?itz really urgent...
    here's my code :
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    import java.io.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class Browser extends JFrame {
    private JTextField enterField;
    private JEditorPane contentsArea;
    //here's the GUI
    public Browser()
    super("MY BROWSER");
    Container container = getContentPane();
    enterField=new JTextField("enter file url here");
    enterField.addActionListener(
    new ActionListener()
    public void actionPerformed(ActionEvent event)
    getThePage(event.getActionCommand());
    container.add(enterField,BorderLayout.NORTH);
    contentsArea = new JEditorPane();
    contentsArea.setEditable(false);
    contentsArea.addHyperlinkListener
    new HyperlinkListener()
    public void hyperlinkUpdate(HyperlinkEvent event)
    if(event.getEventType()==HyperlinkEvent.EventType.ACTIVATED)
    getThePage(event.getURL().toString());
    container.add(new JScrollPane(contentsArea), BorderLayout.CENTER);
    setSize(400,300);
    setVisible(true);
    //load document;change mouse cursor to indicate status
    private void getThePage(String location)
    setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
    try
    contentsArea.setPage(location);
    enterField.setText(location);
    catch(IOException io)
    JOptionPane.showMessageDialog(this,"ERROR retrieving specified URL","Bad URL",JOptionPane.ERROR_MESSAGE);
    setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
    public static void main(String args[])
    Browser application =new Browser();
    application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }

    Hello Fixxer, what did you find out from sprint?
    Nurse-Berry
    Follow NurseBerry08 on Twitter

  • Video Streaming on Web Browser from Web Camera

    How to run Web Camera on to the Web Browser through JAVA and JMF?

    How to run Web Camera on to the Web Browser
    through JAVA and JMF? As someone who has written dozens of applets, and
    helped debug hundreds of them, I can tell you that
    applets are not for beginners.
    Whenever I must have an applet that is any more
    than completely trivial, I will code it as a combined
    application/applet, if only for making testing faster
    and easier.
    Further, if you have a working application, it can be
    'launched from a link', just like an applet, but using
    web start.
    I suggest you put aside the applet idea for the
    moment, and concentrate on doing this in an
    application.
    When that is working, you can decide whether
    to launch it using web start, or embed it as an
    applet in a web page.
    Here is an example of launching JMF (the
    player) using web start.
    http://www.javasaver.com/testjs/jmf/#test5
    As far as coding for a web cam, a quick Google leads to..
    "Here is the source code to JMF Webcam app + saves jpeg"
    http://forum.java.sun.com/thread.jspa?threadID=247253
    2 notes:
    1) I found that URL for the web cam code using
    Google. I have never dealt with web cams myself.
    2) Normally I ignore threads with no dukes. I am
    usually pretty busy, and dukes indicate how
    important a thread is - to whoever is asking.
    So, if you want to complete this task faster, you might
    - search for answers first.
    - add dukes to any question, to indicate interest.
    HTH

  • Java does not work on my Win 7 IBM-compatible PC using Firefox as my web browser

    A typical example of a website I would like to access & view is "www'cut-the-knot.org", a relatively mathematics-related website with a lot a very nice math content, where (roughly estimating) 70-90% of all web pages on the web site use Java applets to communicate that math content.
    I CANNOT view the Java applets (am restricted/prevented from doing so) --- on CTK or ANY other website!.
    I could go into all the details but, essentially, I have tried just about everything I can think of (or have found to do/try in discussions on the Internet by googling the problem) & nothing seems to have had any positive affect ... I can still not view ANY Java applets on ANY website! :-(
    I USED to be able to view Java content on the PC I was working on, although, a few months ago, I migrated from Win XP to Win 7 when MS stopped supported Win XP. I don't know when things changed but, "while I wasn't looking" (&/or paying attention) something DID change. :-(
    I'm using an IBM-compatble PC (not a Mac) with Windows 7 & Firefox as my web-browser.
    I'm just a private individual ... just a "little guy" in my home ... little personal technical knowledge, no big biz connections, no $ to hire expensive (or inexpensive) experts to come in & assess & fix the problem. I would even just like to know if there is some kind of future expected date when something MIGHT get improved, barring an action "solution" of the problem.
    From what I read on the Internet, some problem(s) relating to this issue has/have been extant for at least two years, dating back to at least 2012, if not further? I assume the problem would have been fixed long ago if it were easy to fix so, I'm not trying to be overly critical ... just asking for some kind of status report --- help/communication/knowledge/expertise/solution/etc ... & any information would be appreciated. Knowing WHAT the problem is is a high priority to me, certainly as well as understanding HOW TO FIX the problem, & WHEN that fix will occur.
    Java is a seemingly wonderful technology but, if there are such severe security risks that require it be enabled so that no one (I'll assume I'm not the only one unable to view Java applets) can use it, it doesn't have much value to visitors to websites that employ Java to deliver a majority of their content. Part of the problem, obviously, is that (like CTK) MANY websites ALREADY use/employ Java --- & therefore, end-users have almost no access to the content in/on those websites.
    Thanx in advance ...
    arbmm7
    (2014-08-30-1023 PST)
    PS - Just before posting this comment, I clicking a button at the bottom of the Mozilla web page that said it had "guessed" at current browser & OS, & the following is what was "reported":
    Firefox version 32
    Windows 7 OS
    * Shockwave Flash 14.0 r0
    * Adobe PDF Plug-In For Firefox and Netscape 10.1.11
    * Next Generation Java Plug-in 11.11.2 for Mozilla browsers
    * NPRuntime Script Plug-in Library for Java(TM) Deploy
    * VLC media player Web Plugin 2.1.3

    PS - SORRY --- I meant (in the title): "... using Firefox as my web browser."

  • Running a Java application from web browser

    Hi,
    I'm not sure if this is the right place to put this, and it probably isn't, but I don't really know what else to do at the moment.
    I have a problem. I've written all these nice and pretty Java applications that do all this complicated junk that makes me proud. However...I have no idea how to actually run those applications.
    I've looked at guides on Java applets, Java Web Start, Java Server Pages, etc, and I still am not sure. JSP looked like the best option, until I figured out I can't use it with my web server. So, I've pretty much hit a wall here.
    If anyone could shed some light on this, I would be very appreciative. All I want is for a certain application to run when a user clicks a button on a simple HTML page. That's all I want...yet it seems so hard.
    Is there a simple way to do this, or do I need to use JWS or something and configure all these JARs and JNLP and classpaths and everything under the sun (no pun intended)?
    Again, I apologize if there is a better forum for this; I am just very confused right now and feel like I've hit a brick wall. If anyone can give me any advice, or point me in a good (easy) direction, I would truly be grateful.

    If anyone could shed some light on this, I would be
    very appreciative. All I want is for a certain
    application to run when a user clicks a button on a
    simple HTML page. That's all I want...yet it seems so
    hard. There's a lot of hidden details that make it so hard. What computer will run the application when the button is clicked? If the application will run on the client computer (within the web browser) there has to be a mechanism for allowing arbitrary code to be downloaded, verified and executed on any number of different target platforms. This is the problem that Java Applets address. Mostly this is a security issue, since a simple HTML page being able to run arbitary code without user interaction or approval is going to cause the world to be overrun by computer virii. There's also the multi-platform issue, but in many cases that can be avoided by requiring the client to use a single platform (the MS approach).
    If the application will run on the server, then the client code is much less difficult, as only a basic web browser is needed, and the server code is complicated, since it needs to keep track of multiple clients at the same time and process data in a request-response fashion.
    From the end-user's point-of-view, it certainly is simple though. Press the button and voila!
    "Any technology which is distinguishable from magic is insufficiently advanced"
    Brian

  • How to launch my java application in a web browser?

    Hi. I try to launch my java application, e.g. "HellowWorld.java", using web browser.
    1. How can I change my java application program to java applet in general way?
    I read "Java: An Introduction to Computer Science and Programming, Third Edition"
    by Walter Savitch and found page 803 - "Converting a Swing application to an applet".
    My question is how I can know which class should be removed or not such as using JApplet instead of JFrame. Are there general rules about this?
    2. I found "AWT only" tutorial had some example lauching application using "AppletButton".
    How can I use this method to launch "HelloWorld.class"?
    http://java.sun.com/docs/books/tutorial/information/download.html#OLDui
    (after extracting zip file) -> ../OLDui/layout/card.html
    3. (continued 2) Can I use above method to embed applet into web browser?
    For example, java Swing application -> applet using "AppletButton" -> web browser using "<applet></applet>" tag.
    I'd appreciate any partial anwers of these questions or other suggestions.
    Thanks.

    Thanks! Here is what I got from your help.
    * HelloWorldSwing.java is a 1.4 example that
    * requires no other files.
    import javax.swing.*;  
    import java.awt.*;                //for Container class    
    //  public class HelloWorldSwing {
       public class HelloWorldSwingToApplet extends JApplet {
         * Create the GUI and show it.  For thread safety,
         * this method should be invoked from the
         * event-dispatching thread.
    //    private static void createAndShowGUI() {
          private void createAndShowGUI() {
            //Make sure we have nice window decorations.
    //        JFrame.setDefaultLookAndFeelDecorated(true);
            //Create and set up the window.
    //        JFrame frame = new JFrame("HelloWorldSwing");
    //        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         Container frameApplet = getContentPane();
            //Add the ubiquitous "Hello World" label.
            JLabel label = new JLabel("Hello World");
    //        frame.getContentPane().add(label);
         frameApplet.add(label);
            //Display the window.
    //        frame.pack();
    //        frame.setVisible(true);
          public void init() {
           createAndShowGUI();
    /*    public static void main(String[] args) {
            //Schedule a job for the event-dispatching thread:
            //creating and showing this application's GUI.
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
    }

  • Is it possible to run a java application within a web browser?

    Hello everyone here! I have a question about running a java application within a web browser and I would appreciate it very much if anyone here can give me some answers.
    I have a standalone java application written with AWT. Basically this free application lets users to select spectral lines from a big file based on some criteria and plot those selected lines. Yes, it is a very simple application. Now I want to run this application within a web browser so that users don't need to download the application from the ftp site and thus don't need to install in their machine. Is it possible to run this application within browser? If yes, can we get the same plotting function as we run the application separately and where should I start out?
    Thanks in advance!
    kuilian

    Please see the signed applet discussion group for details of how to avoid the applet security restrictions. You can sign the applet, or use the policy file containing {AllPermission} for testing purposes (though not suitable for widespread deployment).
    Regards
    Matthew

Maybe you are looking for