permaculture playing cards*
The moose likes Swing / AWT / SWT and the fly likes All About making your own web browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "All About making your own web browser" Watch "All About making your own web browser" New topic

All About making your own web browser

Frank Senkrovich

Joined: Jun 25, 2012
Posts: 3
Seeing Different videos on the net and reading basic books about Java I managed to create a basic web browser but the problem was that I couldn't translate the web pages as they are presented in google chrome for example and when I was pressing the google button in order to search for something it turned to do nothing except an annoying voice like beeep.How can I solve this problem.Thank you all in advance and most of you I
thank this forum that have helped me many times in the past . Code is below:

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41102
At a quick glance, it seems you're using Swing's JEditorPane class to display HTML. Note that this is extremely limited in what it can do. Just about anything new on the web in the last 10 years won't be displayed, or not displayed correctly. For starters, try a page that uses nothing but HTML 3.2, no CSS, no JavaScript - that's what it can handle.

Ping & DNS - my free Android networking tools app
Frank Senkrovich

Joined: Jun 25, 2012
Posts: 3
I am a begginner in Java so you say that I have to include CSS and Javascript in my web browser. Can I use JavaFx for that .I hear from people saying that It can display modern framework
crap.Is it true. If yes then what can I do ?Many Thanks. P.S.: Of course I don't and can't even try make better or look like chrome browser .I just wonna understand how things working.Thanks again.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: All About making your own web browser
Similar Threads
GUI from eclipse/WindowsBuilder not WYSIWYG
Dynamic child communication
Java app with database
Problem in adding Jpanel to JFrame (Updated)
Swing GUI tool generated code, newbie stuck :(