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.

Similar Messages

  • My ipad mini doesn't have a web browser! Help. I can't access the internet or iTunes or the app store. The web browser icon isn't even there.Anyone know what to do?

    My ipad mini doesn't have a web browser! Help. I can't access the internet or iTunes or the app store. The web browser icon isn't even there.Anyone know what to do?

    I'd maybe try doing a search for Safari on your iPad first (swipe to the left to search). If it shows up in that search you can go to Settings > General > Reset and choose 'reset home screen layout' which will put it back where it would be by default.
    All else fails? Restore it.

  • If I set Firefox as my default web browser, the help links on Adobe Dreamweaver and Flash's welcome screens don't connect to the help pages on Adobe's site. It just links to Firefox's start page and stops. The links work properly if Safari is set to the d

    If I set Firefox as my default web browser, the help links on Adobe Dreamweaver and Flash's welcome screens don't connect to the help pages on Adobe's site. It just links to Firefox's start page and stops. The links work properly if Safari is set to the default browser. Please help.
    == URL of affected sites ==
    http://www.adobe.com

    Hello,
    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • Java - web browser

    Hi,
    I have an applet that POSTs a request to a browser and then retrieves the servers response to check it was posted OK.
    What I now need to do is stream the response back to the web browser to show the page that the server has returned. My code below works in that it reads the server response and outputs it to the console.
    However I am confused as to how to hook back in to the browser ?
    Any help would be really appreciated !
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import java.net.*;
    public class TestApplet extends JApplet
            public void init()
              try
                   postResult("Hello server!");
              catch(Exception e)
                   e.printStackTrace();
         private void postResult(String message) throws MalformedURLException, IOException
                String aLine; // only if reading response
              URL                 url;
              URLConnection   urlConn;
              DataOutputStream    printout;
              BufferedReader     input;
              // URL of CGI-Bin script.
              url = new URL (getCodeBase().toString() + "test.php");
              urlConn = url.openConnection();
    // Let the run-time system (RTS) know what comms we want to make.
              urlConn.setDoInput (true);
              urlConn.setDoOutput (true);
              urlConn.setUseCaches (false);
              // Specify the content type.
              urlConn.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
              // Send POST output.
              printout = new DataOutputStream (urlConn.getOutputStream ());
              String content = "msg=" + URLEncoder.encode(message, "UTF-8");
              printout.writeBytes (content);
              printout.flush ();
              printout.close ();
              // Get response data. This is the bit that retrieves the page back from the server ...
              input = new BufferedReader(new InputStreamReader(urlConn.getInputStream ()));
              String str;
              while (null != ((str = input.readLine())))
                   System.out.println (str); //  <-- Need this to hook back in to browser...
             input.close ();
    }

    I got the impression, that applets are not the right thing for what you want to do. An applet can only output something in it's own (graphical) pane. If your data is HTML, this would mean to interpret and render the HTML on your own.
    I suggest to consider server side technologies (Servlets, PHP, CGI) which usually return plain HTML to the browser by default.

  • Writing a Java Web Browser

    I'm trying to write a simple Java based browser. Can anyone please help me with this code. I can't get it to load the URL
    please help
    import java.awt.event.*;
    import java.awt.*;
    import java.io.*;
    import java.net.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.lang.*;
    import javax.swing.text.*;
    public class Browser extends JPanel implements ActionListener {
         Browser() {
              JPanel p = new JPanel();
              p.setLayout(new BorderLayout(5,5));
              final JEditorPane jt = new JEditorPane();
              final JTextField input = new JTextField("http://java.sun.com");
              //make read only
              jt.setEditable(false);
              //follow links
              jt.addHyperlinkListener(new HyperlinkListener () {
                   public void hyperlinkUpdate(
                        final HyperlinkEvent e) {
                             if (e.getEventType() ==
                                  HyperlinkEvent.EventType.ACTIVATED) {
                                       SwingUtilities.invokeLater(new Runnable() {
                                            public void run() {
                                                 //Save original
                                                 Document doc = jt.getDocument();
                                                 try {
                                                      URL url = e.getURL();
                                                      jt.setPage(url);
                                                      input.setText(url.toString());
                                                 } catch (IOException io) {
                                                      JOptionPane.showMessageDialog(
                                                           Browser.this, "Can't follow link",
                                                           "Invalid Input",JOptionPane.ERROR_MESSAGE);
                                                      jt.setDocument(doc);
                             JScrollPane pane = new JScrollPane();
                             pane.setBorder(
                                  BorderFactory.createLoweredBevelBorder());
                             pane.getViewport().add(jt);
                             p.add(pane, BorderLayout.CENTER);
                             input.addActionListener(new ActionListener() {
                                  public void actionPerformed(ActionEvent e) {
                                       try {
                                            jt.setPage(input.getText());
                                       } catch (IOException ex) {
                                            JOptionPane.showMessageDialog(
                                                 Browser.this,"Invalid URL","Invalid Input",JOptionPane.ERROR_MESSAGE);
                                  p.add(input, BorderLayout.SOUTH);
                                  JFrame f = new JFrame();
                                  f.getContentPane().add(p);
                                  //f.getContentPane().setSize(400,400);
                                  f.setVisible(true);
                             public void actionPerformed(ActionEvent e) {}
                             public static void main(String[] args) {
                                  Browser b = new Browser();
                                  b.setSize(500,500);
                        }

    i made a few changes and it works.
    i have marked the changes.
    import java.awt.event.*;
    import java.awt.*;
    import java.io.*;
    import java.net.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.lang.*;
    import javax.swing.text.*;
    public class Browser extends JFrame implements ActionListener {     Browser() {
              JPanel p = new JPanel();
              p.setLayout(new BorderLayout(5,5));
              final JEditorPane jt = new JEditorPane();
              final JTextField input = new JTextField("http://java.sun.com");
              //make read only
              jt.setEditable(false);
              //follow links
              jt.addHyperlinkListener(new HyperlinkListener () {
                        public void hyperlinkUpdate(final HyperlinkEvent e) {
                             if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
                                  SwingUtilities.invokeLater(new Runnable() {
                                            public void run() {
                                                 //Save original
                                                 Document doc = jt.getDocument();
                                                 try {
                                                      URL url = e.getURL();
                                                      jt.setPage(url);
                                                      input.setText(url.toString());
                                                 catch (IOException io) {
                                                      JOptionPane.showMessageDialog
                                                           ( Browser.this, "Can't follow link",
                                                             "Invalid Input",JOptionPane.ERROR_MESSAGE);
                                                      jt.setDocument(doc);
              JScrollPane pane = new JScrollPane();
              pane.setBorder(BorderFactory.createLoweredBevelBorder());
              pane.getViewport().add(jt);
              p.add(pane, BorderLayout.CENTER);
              input.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e) {
                             try {
                                  jt.setPage(input.getText());
                             } catch (IOException ex) {
                                  JOptionPane.showMessageDialog
                                       ( Browser.this,"Invalid URL","Invalid Input",JOptionPane.ERROR_MESSAGE);
              p.add(input, BorderLayout.SOUTH);
              //JFrame f = new JFrame();          getContentPane().add(p);
              //f.getContentPane().setSize(400,400);
              setVisible(true);
              this.addWindowListener(new java.awt.event.WindowAdapter() {                    public void windowClosing(java.awt.event.WindowEvent e) {
                             System.exit(0);
         public void actionPerformed(ActionEvent e) {}
         public static void main(String[] args) {
              Browser b = new Browser();
              b.setSize(500,500);
    }

  • Trouble Loading a flat file into BPS using a Web Browser, Please help ?

    Hi Gurus,
    I'm in BW 3.5.
    I did everything and also followed the How to .. paper to upload a flat file into BPS tran cube via a Web browser.
    I created a Web Browser and generated a BSP application. When I run the BSP application I get the following error:
    "The generated data is not contained in the selection condition" UPC204
    The error message also says:
    "The error message can appear when you use a planning function to generate data that is outside the data range specified by the selection conditions of the planning package"
    When I save the variables that I select in the web interface they are getting saved in a table(UPC_VAR_CHA_ACT), but somehow the BSP application cannot look into those values, which I think is the cause of above issue.
    Please help.
    Venkat

    Hi,
    This type of error is quite common in BPS operations. This generally happens due to some missing values in the restriction of the planning levels and the packages.
    The error message is "The generated data is not contained in the selection condition" UPC204
    Check in the planning level and the package, all the restrictions that have been defined and verify whether the values which are getting uploaded through the flat file are present in the election condition of the level or in the package.
    Please award points if helpful.

  • Problem with Java Web Browser

    Hi all,
    I use JEditorPane to display simple HTML files:
    String url = "http://www.fnac.com";
    JEditorPane editorPane = new JEditorPane(url);
    editorPane.setEditable(false);
    But for page www.fnac.com, the browser can not dipslay all object in Web page event I put JEditorPane in a JScrollPane.
    Someone can help me ?
    Thanks.

    I'm afraid I do not understand your question...
    "browser can not dipslay all object"- What object?
    "Web page event"- What event?

  • Problem with Java Web Browser -JEditorPane

    Hi,
    I use JEditorPane to display simple HTML files:
    String url = "http://www.fnac.com";
    JEditorPane editorPane = new JEditorPane(url);
    editorPane.setEditable(false);
    But for page www.fnac.com, the browser can not dipslay all objects of Web page (Images, Texts...) although I put JEditorPane in a JScrollPane.
    Someone tell me solution for this problem ? Thanks.

    PLEASE HELP ! Thanks.

  • The Java Web Service Tutorial - help required

    Using Windows 98 platform...
    I am working through the tutorial example "Hello World". I have got as far as deploying the service definition and starting Tomcat.
    The tutorial then says to specify the URL http://localhost:8080/jaxrpc-hello/jaxrpc to verify the HelloWorld service has been deployed. At this stage I get the message "The requested resource (/jaxrpc-hello/jaxrpc) is not available.
    Every thing else looks right... has anyone got an idea?
    Steve

    Srikanth,
    The web.xml appears ok to me, I have pasted it below as I'm no expert.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
    <web-app>
    <display-name>HelloWorldApplication</display-name>
    <description>Hello World Application</description>
    <servlet>
    <servlet-name>JAXRPCEndpoint</servlet-name>
    <display-name>JAXRPCEndpoint</display-name>
    <description>Endpoint for Hello World Application</description>
    <servlet-class>com.sun.xml.rpc.server.http.JAXRPCServlet</servlet-class>
    <init-param>
    <param-name>configuration.file</param-name>
    <param-value>/WEB-INF/HelloWorld_Config.properties</param-value>
    </init-param>
    <load-on-startup>0</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>JAXRPCEndpoint</servlet-name>
    <url-pattern>/jaxrpc/*</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>60</session-timeout>
    </session-config>
    </web-app>
    please let me know if there is an error.. or any more suggestions
    Thanks,
    Steve

  • Help need in Web Browser Project

    Hai,
    I am doing a java Web browser project which was fully java code. I want some information ragarding to that project. First I used JEditorPane for displaying HTML Content. But it was not executing JavaScript. My friend told that JEditorPAne was rendering HTML pages of HTML3.2 version. It wont render Javascript. So try for other things.
    I used IECanvas but it just embedding the component of Internet Explorer or Mozilla. I don't want to embed those things. I need java components only. After that I have to do Charecter Encoding on that one. Pls anybody help me regarding to this matter. Its Urgent

    Dear hiwa,
    I saw the JDIC API. They told that it embeds some predefined browsers called INTERNET EXPLORER. But I don't want to embed these things. Is there any solution other than this? U saw ICE Browser. it was implemented in fully java having many functionalities.It is third party API. I tried to use that API but they gave 30 days trail period. So I am afried of that. I just want to display the HTML page that supports JavaScript. I saw rhino which is an Interpreter for javascript.
    Is there any possibility to embed this interpreter to JEditorPane or any java component. Pls give me details if Possible.
    thanks for your kind information.

  • Cookies and JFrame Web Browser

    Hello,
    Currently I'm trying to analyze of making a java web browser. I have found several versions of code that enable JFrame of Java to be a web browser, some even go as far as having a back anf forth feature and history. The only thing I cannot find is how to save and use cookies. While I found some things that allow code to save cookies, I need some help in implementing into the web browser. The web browser currently works but if I try something that require a cookie, like logging into gmail, it will tell that I need to have cookies enable (likely to be capable to take cookies and then use them).
    Does anyone know a way to do that? Or know what direction to look?

    Anyone?

  • Email and web browser MHP 1.0

    Hi all,
    Has anybody implemented and email client and a web browser for MHP 1.0.2?
    Are there open source tools to help me on the implementation on these applications, like a Jave email client and a Java web browser that I can convert easily to MHP?
    What Java classes I need to use to implement the email and browser?
    Does any STB in the market support MHP 1.1?
    I want to hear your opinions...
    Thanks in advance,
    Jordi (Barcelona)

    Dear Jordi
    We have created a java browser that runs very well in mhp, and you can run a webmail service on it as will. You can get a 2 months free evaluation version. Please see www.nordcom.dk for details on how to get the evaluation version.
    Best regards
    Thorbj�rn Vynne
    NordCom Interactive

  • JMF and web browser GUI

    hi,
    i have made a java web browser and i would like to add sound events to the gui JButtons ("back","next", etc.).
    I would also like to add a text to speech funtion that reads the text between <BODY> .... </BODY> in the HTML docs open in the browser JEditorPane.
    If anyone has any experiece with this I would really appreciate thier help.
    THANKS!!

    Hi BradW,
    The way this is supposed to be done in Web Cache is by keeping separate copies of a cached page for different types of browsers distinguished by User-Agent header.
    In case of cache miss, Web Cache expects origin servers to return appropriate version of the page based on browser type, and the page from the origin server is just forwarded back to browser.
    Here, if the page is cacheable, Web Cache retains a separate copy for each type of User-Agent header value.
    And when there is a hit on this cached page, Web Cache returns the version of page with the User-Agent header that matches the request.
    Check out the config screen titled "Header Association" for this feature.
    About forwarding requests to different origin servers based on User-Agent header value, Web Cache does not have such capability.

  • Java Web Start- Cannot launch Application. Pls help

    HI
    Ia m beginner in java web start. I creaate a simple swing application and try to launch it through web start. But I failed. My application jar file (sample.jar)contains only class files. No menifest file. Then I sign my "sample.jar" file and placed inside tomcat server: "webapps/root/WebStart/Sample". I also placed the "sample.jnlp" file in the above directory.The name of my main class is :"Sample" .Here is the content of sample.jnlp:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+"
      codebase="http://165.231199.164:8080"
    >
    <information>
      <title>Sample Launching Test</title>
      <vendor>FMO</vendor> 
      <homepage href="www.sun.com" />
      <description>Demonstration of JNLP</description>
    </information>
    <offline-allowed/>
    <security>
      <all-permissions/>
    </security>
    <resources>
      <j2se version="1.2+" />
      <jar href="/WebStart/Sample/sample.jar"/>
    </resources>
    <application-desc main-class="Sample" />
    </jnlp>Whenever I try to launch this application from the browser , it shows me following :
    An error occurred while launching/running the application.
    Title: Sample Launching Test
    Vendor: FMO
    Category: Unexpected Error
    RED
    Anybody pls help me here about how to Launch my application. Am I missing something?

    I fixed the porblem by modifying the sample.jnlp file. Here is the latest version:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp codebase=http://[my-ip-address]:8080/WebStart/Sample>
    <href="sample.jnlp">
    <information>
      <title>Sample Launching Test</title>
      <vendor>FMO</vendor> 
      <homepage href="www.sun.com" />
      <description>Demonstration of JNLP</description>
      <offline-allowed/>
    </information>
    <security>
      <all-permissions/>
    </security>
    <resources>
      <j2se version=1.4+ />
      <jar href="sample.jar"/>
    </resources>
    <application-desc main-class="Sample" />
    </jnlp>

  • 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."

Maybe you are looking for

  • Field in  BSEG

    Hello experts, I m developing the report on landed cost, I want one field namely 'Freight' included the service tax ,  for which data is in BSEG, for freight amount, material, po num  and its service tax and transaction is there.But the problem is ag

  • How do I wirelessly reconnect the scanning function on my Canon PIXMA MG3350?

    I recently bought a new computer without cd drive. I managed to wirelessly connect my Canon printer to the wifi network. When I wanted to scan a document today, I noticed it could not. I am trying to remember if I have been able to scan successfully

  • Import optimization

    Hello everyone. I am a C++ programmer who knows enough Java to be dangerous. I have been assigned to port one of our existing applications to a Java/J2ME environment to be run on a cell phone. I am trying to find out the best techniques for writing e

  • I can't update my playbook to 1.0.7.x

    I there guys. This is my first post. I'm looking for a solution to my current problem. I've get a new playbook 16gb in hands with original software version 1.0.0.1439 And when I start setting up the device it's force me to download the version to 1.0

  • Can Hangtime or someone else do me a solid?

    Okay--I'll be buying the latest version of GB in a few weeks, but in the meantime, I'm having a BALL revisiting Version 1 after a long time of not touching the program. I've been jamming big time the last few days to midis I edited just for backing j