Click to See Complete Forum and Search --> : A simple beginner Java question - Bold into text...


weee
06-28-2005, 01:49 PM
I downloaded this simple Jva aplet for scroller.

What I want to know is how can I have certain parts in the text as bold OR links?

Here's the code:

<applet code = "HeadLiner.class" name="HeadLiner" height = "110" width = "350">
<param name=FGColor value="000000">
<param name=BGColor value="ffffff">
<param name=ScrollDelay value = "000100">
<param name=Border value = "1">
<param name=FileName value ="headlines.txt">
</applet>

Thanks!

Ximvu
06-28-2005, 03:08 PM
HeadLiner.class is actually a compiled java source file. If you have a HeadLiner.java file, could you post that instead? Unless the documentation for HeadLiner specifies ways to do what you want using params, I don't believe you're going to be able to unless you find an applet that either does what you want or contains source code...or you could always build your own.

weee
06-28-2005, 03:57 PM
Oh...

I don't have the HeadLiner.java file.

I downloaded the applet.

So I dommed? ;)

HaganeNoKokoro
06-28-2005, 04:01 PM
There are java decompiler tools available, like Mocha or DJ. If necessary, we can use one of those to decompile the .class file into source code.

weee
06-28-2005, 09:02 PM
Damn, I donno nothing about Java. I thought it's easier but it seems like not!

Thanks guys!