Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-12-2008, 08:37 AM
Member
 
Join Date: May 2008
Posts: 8
Jessie Madman is on a distinguished road
Browser
Hello, I just joined this place because I have 2 tasks to be figured out with, in the UF my teacher told me to make a java browser...... any help?
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-12-2008, 08:51 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,592
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga

Welcome to our community.

You really wants to build a Java browser or a kind of browser display window? Because it's not much easy pal.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 05-12-2008, 09:46 AM
sukatoa's Avatar
Senior Member
 
Join Date: Jan 2008
Location: Cebu City, Philippines
Posts: 527
sukatoa is on a distinguished road
Send a message via Yahoo to sukatoa
Quote:
Hello, I just joined this place because I have 2 tasks to be figured out with, in the UF my teacher told me to make a java browser...... any help?
Java Browser like what?

To browse Java files? classes?

Or like A Java Navigator/Explorer?(like windows explorer)

Or a Java Web Browser?

and what is UF by the way?
__________________
A specific, detailed, simple, well elaborated, and "tested before asking" question may gather more quick replies. hopefully
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 05-12-2008, 09:59 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,592
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Yep, what he meant is not clear. Working on a Java browser. Interesting. So in near future we have another browser.

Please explain your question much clearly.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 05-13-2008, 03:08 AM
Member
 
Join Date: May 2008
Posts: 8
Jessie Madman is on a distinguished road
I meant like a java web browser that could surf the internet? or maybe theres a way to load like idk internet expolrer through java and only show the browser part? and then design the rest of GUI by yourself? Idk....

UF stands for (University of Florida)
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 05-13-2008, 05:59 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,592
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Quote:
Originally Posted by Jessie Madman View Post
I meant like a java web browser that could surf the internet?
Still I'm confusing. Do you want to make a browser like Java GUI?
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #7 (permalink)  
Old 05-13-2008, 06:06 AM
sukatoa's Avatar
Senior Member
 
Join Date: Jan 2008
Location: Cebu City, Philippines
Posts: 527
sukatoa is on a distinguished road
Send a message via Yahoo to sukatoa
@OP.
You can google it on the net....

Here is an example,
A very simple Java Web Browser...

Eranga,
Maybe he wants first to create a basic gui just to test the code. Implement the purpose( Browsing ) maybe using JEditorPane or JTextPane, and redesign the GUI to finalize....
(Im not sure)
__________________
A specific, detailed, simple, well elaborated, and "tested before asking" question may gather more quick replies. hopefully
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by sukatoa : 05-13-2008 at 06:11 AM.
Bookmark Post in Technorati
Reply With Quote
  #8 (permalink)  
Old 05-13-2008, 06:18 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,592
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Ok, we'll see what he wants to do.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #9 (permalink)  
Old 05-13-2008, 07:30 PM
Member
 
Join Date: May 2008
Posts: 22
Jesdisciple is on a distinguished road
See The Lobo Project: Home of Lobo (Java Web Browser) and Cobra (HTML Rendering Engine)
Bookmark Post in Technorati
Reply With Quote
  #10 (permalink)  
Old 05-14-2008, 04:54 AM
sukatoa's Avatar
Senior Member
 
Join Date: Jan 2008
Location: Cebu City, Philippines
Posts: 527
sukatoa is on a distinguished road
Send a message via Yahoo to sukatoa
That's a big project....

I hope he may understand it well.
__________________
A specific, detailed, simple, well elaborated, and "tested before asking" question may gather more quick replies. hopefully
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #11 (permalink)  
Old 05-14-2008, 06:22 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,592
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Ya, seems to me there are all informations are available. But I don't know how far practicable to him it is.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #12 (permalink)  
Old 05-15-2008, 02:22 AM
Member
 
Join Date: May 2008
Posts: 8
Jessie Madman is on a distinguished road
sukatio my compiler gets an error on your code at "LinkFollower"
Bookmark Post in Technorati
Reply With Quote
  #13 (permalink)  
Old 05-15-2008, 02:26 AM
Member
 
Join Date: May 2008
Posts: 8
Jessie Madman is on a distinguished road
Jesdiesciple you gave me a link to a jarred java web browser... i acctually want code... but ill try google
Bookmark Post in Technorati
Reply With Quote
  #14 (permalink)  
Old 05-15-2008, 02:29 AM
Member
 
Join Date: May 2008
Posts: 22
Jesdisciple is on a distinguished road
The source is also available; see Lobo Project Java Source Code

EDIT: Also see SourceForge.net: Open Discussion
Bookmark Post in Technorati
Reply With Quote
  #15 (permalink)  
Old 05-15-2008, 04:58 AM
Member
 
Join Date: May 2008
Posts: 8
Jessie Madman is on a distinguished road
Quote:
Originally Posted by Jesdisciple View Post
The source is also available; see Lobo Project Java Source Code

EDIT: Also see SourceForge.net: Open Discussion
hmm? the first link doesnt work
Bookmark Post in Technorati
Reply With Quote
  #16 (permalink)  
Old 05-15-2008, 05:20 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,592
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
What you mean? You can't see the page what he linked there? I don't think so. It's work for me well.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #17 (permalink)  
Old 06-11-2008, 05:45 AM
Member
 
Join Date: Jun 2008
Posts: 4
hanizainol is on a distinguished road
hi
u just used JEditorPane if you want to display web page. if it is in wml or xhtml. u need to move the wml part and set the mime type to text/html
it should display the web page.

you might try below.


JEditorPane editorPane;
String url = your web address
java.net.URL helpURL = new java.net.URL(url);
editorPane.setPage(helpURL);
Bookmark Post in Technorati
Reply With Quote
  #18 (permalink)  
Old 06-11-2008, 05:49 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,592
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Working on the JEditorPane for this is not a good idea. Just set a URL, which is full of more graphics. Your window freeze in few seconds. JEditorPane still not that much advanced still.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #19 (permalink)  
Old 06-11-2008, 01:55 PM
Member
 
Join Date: May 2008
Posts: 25
nanaji is on a distinguished road
Send a message via MSN to nanaji Send a message via Yahoo to nanaji
final JFrame frame = new JFrame("Browser");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOS E);
frame.setLocationByPlatform(true);
final JPanel panel = new JPanel();
panel.setLayout(new BorderLayout());
panel.setPreferredSize(new Dimension(400, 300));
Dimension dim = Toolkit.getDefaultToolkit().getScreenSize();
frame.setLocation((dim.width - 400) / 2, (dim.height - 300) / 2);
// frame.setResizable(false);
final WebBrowser webBrowser = new WebBrowser();
try {
webBrowser.setURL(new URL("some url"));
panel.add(webBrowser, BorderLayout.CENTER);
frame.getContentPane().add(panel, BorderLayout.CENTER);
frame.pack();
frame.setVisible(true);
Bookmark Post in Technorati
Reply With Quote
  #20 (permalink)  
Old 06-11-2008, 02:00 PM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,592
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
What's this mean. What's your question?

And also please use code tags when you post any code here. It's help to read much clearly.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post