This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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: 42958
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.
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.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: All About making your own web browser
It's not a secret anymore!