File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes web browser project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "web browser project" Watch "web browser project" New topic
Author

web browser project

harshada patil
Ranch Hand

Joined: Mar 12, 2011
Posts: 96
i'm creating web browser in swing,, bt getting difficulty as wb dosen't displays web pages written in lang/scripts other dn html...
i' m using setPage method of editorPane 4 it
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61198
    
  66

Please use real words when posting to the forums. Abbreviations such as "bt" in place of "but" and "dn" in place of I-dont-know-what only serve to make your posts more difficult to read and less likely to generate useful responses.

Please click this link ⇒ UseRealWords for more information.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19693
    
  20

JEditorPane is hopelessly outdated as far as HTML support goes. It can only handle HTML 3.2. You'd better try a third party library like Lobo.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
harshada patil
Ranch Hand

Joined: Mar 12, 2011
Posts: 96
thanks for your reply Rob
if possible please provide me useful links..
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41816
    
  62
You'll find Lobo on SourceForge.


Ping & DNS - my free Android networking tools app
harshada patil
Ranch Hand

Joined: Mar 12, 2011
Posts: 96
i'm not getting exact way to download lobo library
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41816
    
  62
That's odd, the first link I get when I google for "lobo site:sourceforge.net" is called "Download Lobo - Java Web Browser". What are you getting?
harshada patil
Ranch Hand

Joined: Mar 12, 2011
Posts: 96
i want to download lobo browser api/ library.. not jar file of lobo browser
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41816
    
  62
I see: you assumed that there was a difference between the two - but there isn't, it's the same project. "Lobo" is the name of the browser, and "Cobra" is the name of the library Lobo is built on.
harshada patil
Ranch Hand

Joined: Mar 12, 2011
Posts: 96
ya, i kow n now i got api of lobo.. bt as i'm running the program written below with netbeans,, it is not working..not showing anything at all

Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19693
    
  20

1) UseRealWords. Not "n" or "bt" but "and" and "but".

2) UseCodeTags.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41816
    
  62
Can you access that URL in your browser?
harshada patil
Ranch Hand

Joined: Mar 12, 2011
Posts: 96
@ulf i'n not getting your question
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41816
    
  62
What I mean is: Have you copied that URL to your web browser to see whether you can access it? If you have code that is supposed to display the contents of an URL -but doesn't- then one of the possibilities is that the URL is invalid; this test helps you confirm or reject that possibility.
harshada patil
Ranch Hand

Joined: Mar 12, 2011
Posts: 96
@ulf url was correct....bt please tell me,, i'm using lobo api but if we try to see websites such as facebook.. the view is not proper and also notcomplete
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41816
    
  62
I'm not surprised; the Lobo home page states that JavaScript, CSS and DOM are not implemented fully, so any site that pushes the envelope on that is bound not to work correctly.
harshada patil
Ranch Hand

Joined: Mar 12, 2011
Posts: 96
okay.. then what should i do now.. what other api are availlable?? as this is my final year project.. i need to implement something
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41816
    
  62
Creating a fully functioning web browser in Java that handles all web sites is a student project? That's insane. A modern web browser incorporates hundreds of person-years of work; how do you propose to duplicate that effort by yourself?
harshada patil
Ranch Hand

Joined: Mar 12, 2011
Posts: 96
whatever you are saying is correct..but from your point of view..what is the maximum that i can try
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41816
    
  62
No idea, since we don't know what the scope of your project is supposed to be. You won't be creating a browser that is on a par with Firefox or IE, that's for sure.
What did your adviser say about the idea - did he think you could do it? Regardless, ask him for alternative ideas.
harshada patil
Ranch Hand

Joined: Mar 12, 2011
Posts: 96
ya they want us to do something..not necessarily complete browser..
n another project..we can try is Media Player
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: web browser project