Problem regarding JEDITOR PANE

how can I write a program that uses a JEditorPane to just display text from a website in netbeans.plzz give some example
[134 byte] By [taniataniaa] at [2007-11-26 18:21:27]
# 1
You have been given examples already. Please use them or at least use the tutorials: http://java.sun.com/docs/books/tutorial/uiswing/components/editorpane.html
zadoka at 2007-7-9 5:55:19 > top of Java-index,Desktop,Core GUI APIs...
# 2
previous post in Java Programming forum: http://forum.java.sun.com/thread.jspa?threadID=5136021
Jasprea at 2007-7-9 5:55:19 > top of Java-index,Desktop,Core GUI APIs...
# 3
I have used the example which I was given earlier.But that displayed the <html> not the text .Even this also I have tried .The example u have referred , i will have to manually enter text,but I want tha url and its text should be entered automatically.Waiting for the
taniataniaa at 2007-7-9 5:55:19 > top of Java-index,Desktop,Core GUI APIs...
# 4

So you want it to show:

<html> <body> <b> some text</b></body></html>

In that case you will need to change the content type in the editorpane.

If instead you want this without html formatting:

some text.

Then you will need to parse out what you want to display.

zadoka at 2007-7-9 5:55:19 > top of Java-index,Desktop,Core GUI APIs...
# 5
ENTIRE WEBSITE has been coverted in to Html Language.What I am looking for is to RETRIEVE just text without graphics from WEBSITE.Plzz reply
taniataniaa at 2007-7-9 5:55:19 > top of Java-index,Desktop,Core GUI APIs...
# 6

> ENTIRE WEBSITE has been coverted in to Html

> Language.

>

> What I am looking for is to RETRIEVE just text

> without graphics from WEBSITE.

Then you will need to parse out the text you want. Either by hand or with an HTML parser.

>

> Plzz reply

People will reply if they want, asking them to is just an annoyance.

zadoka at 2007-7-9 5:55:19 > top of Java-index,Desktop,Core GUI APIs...
# 7
> What I am looking for is to RETRIEVE just text without graphics from WEBSITE.And you've already been given the answer, so quit cluttering the forum asking the same question over and over.
camickra at 2007-7-9 5:55:19 > top of Java-index,Desktop,Core GUI APIs...
# 8
RUDE REPIESI am not going to Quit until I complete.This is not ur property.Thanx and no thanx
taniataniaa at 2007-7-9 5:55:19 > top of Java-index,Desktop,Core GUI APIs...
# 9

> I am not going to Quit until I complete

Then you are going to be here a while, because I don't see anybody else making an effort to help you based on your attitude.

You've been a member of the forum for two days.

You've got multiple posting on the same topic.

You've had many different people attempt to help you.

You've been pointed to tutorial that have "working" examples.

You've been pointed to other postings in the forum that have "working" examples.

You've been asked to post a SSCCE showing what you are attempting to do.

What more do you expect us to do?

If the help you've been given isn't enough then we obviously don't understand what your question is about and asking the same question over and over and over isn't going to get you anywhere other than alienating all the people that have tried to help you.

camickra at 2007-7-9 5:55:19 > top of Java-index,Desktop,Core GUI APIs...
# 10
anyways thanx for again a rude reply.BUT IT WAS U WHO TOLD ME TO QUIT ,If I WOULD HAVE BEEN KNOWN THE ANSWER THEN I WOULDNOT NOT HAVE ASKED FOR HELP.BUT NOW I DID THAT .THANKYOU TC
taniataniaa at 2007-7-9 5:55:19 > top of Java-index,Desktop,Core GUI APIs...
# 11

> BUT IT WAS U WHO TOLD ME TO QUIT

No wonder you can't solve you problem. You don't pay attention to what people say.

I told you to quit posting the same question all over the forum. You've been given the advice on how to solve the problem in your previous posting. So read the advice and your problem will be solved.

By the way you caps lock key is stuck. You should get it fixed. Typing with capital letters is considered shouting and most people don't answer people who shout.

camickra at 2007-7-9 5:55:19 > top of Java-index,Desktop,Core GUI APIs...
# 12
Thankyou so much for all the replies.I appreciate for the help.My capslock key is not stuck as well.Thankyou once again .
taniataniaa at 2007-7-9 5:55:19 > top of Java-index,Desktop,Core GUI APIs...