JTextpane and mxing with HTML.

K

Kalpesh Modha

Hello.

If I wanted to load up a html file with the satPage command and then add
some components like a JButton can I do that with JTextPane.

As I have tried and it just ignores any components that I add after the
setPage command.

Many thanks for your help.
Kalpesh Modha.
 
A

Andrew Thompson

If I wanted to load up a html file with the satPage command and then add
some components like a JButton can I do that with JTextPane.

As I have tried and it just ignores any components that I add after the
setPage command.

...What does it do for the JButtons you
add, before the setPage command?

Note there are two better groups for
questions of this nature, one for GUI
problems [1], the other for learners[2].

Further described..
[1] <http://www.physci.org/codes/javafaq.jsp#cljg>
[2] <http://www.physci.org/codes/javafaq.jsp#cljh>
 
K

Kalpesh Modha

thanks I'll post two those group and also look at the links.

Andrew Thompson said:
If I wanted to load up a html file with the satPage command and then add
some components like a JButton can I do that with JTextPane.

As I have tried and it just ignores any components that I add after the
setPage command.

..What does it do for the JButtons you
add, before the setPage command?

Note there are two better groups for
questions of this nature, one for GUI
problems [1], the other for learners[2].

Further described..
[1] <http://www.physci.org/codes/javafaq.jsp#cljg>
[2] <http://www.physci.org/codes/javafaq.jsp#cljh>

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
 
A

Andrew Thompson

thanks I'll post two those group and also look at the links.

Good to see you took the advice to post
to c.l.j.g., follow it up with a short
example of your code and you'll soon be
a 'Usenaut'. ;-)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top