Posted By:
Alexander_Torstling
Posted On:
Thursday, August 14, 2003 07:43 AM
I'm working on a nice little applet for my webpage. (Have a look, http://www.e.kth.se/~alext/) You've probably seen it all before... (Scrolls text, _BORE_) I was wondering, could you in some way use the HTML formatting that is built in since 1.3?? I was thinking something like this: public JLabel jl = new JLabel = (" Blablabla... "); ... public void paint(Graphics g) { jl.paint(g); } Could you "trick" jlabel into drawing onto my custom component?? Is this a good alternative (Or is
More>>
I'm working on a nice little applet for my webpage.
(Have a look, http://www.e.kth.se/~alext/)
You've probably seen it all before... (Scrolls text, _BORE_)
I was wondering, could you in some way use the HTML formatting
that is built in since 1.3??
I was thinking something like this:
public JLabel jl = new JLabel = ("
Blablabla...
");
...
public void paint(Graphics g) {
jl.paint(g);
}
Could you "trick" jlabel into drawing onto my custom component?? Is this
a good alternative (Or is it better to do it the hard way, writing your own
layout manager (*PEW*))???
Open for suggestions!
And by the way, what is the syntax for the new
OBJECT
tag? Is the
"clsid" param standard for all classes or do i have to generate it (as a
checksum or something like that?). Any good references? Want to make it work
with mozilla/netscape & IE....
<<Less