i am an IT STUDENT MY INSTRUCTUR HAS GIVEN ME ATASK TO BUILD WEB BROWSER IN JAVA AFTER GUI WHAT I HAD TO DO
PLEASE HELP ME!!!
NOT GIVE ME THE CODE JUST TELL ME EASY STEPS COMPLETE IT
THANKS!!!

Recommended Answers

All 2 Replies

Use Java Swing for developing the web browser. You have to compulsorily use Threads. In order to perform multithreading it is very much needed. Remember we can do more than one task at a time using the browser. So if it has to happen you have to use threads. Use JFrame, JPanel, JMenu, JMenuItem, JToolBar, Use Editable JComboBox, Use the Layout you feel is the best. Use Session for tracking the user (which page a user has visited) and also store the history content. If you're using Java then it is better if you use Java swing. Have a great day. Simply Enjoy!!

try JEditorPane i had used it sometimes back to display simple HTML pages without javascript.

since you seem to be interested in this i will not give you the code go check out the documentation of JEditorPane.
http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JEditorPane.html

hint : use setPage method ;)

hope this helps you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.