joerg 'lacki' lackner - java, jini, applets - jlacki@yahoo.com
 
 

NewsLine 

 
  website faq configuration  
 

Customize your applet

 
 

I've created this applet so that you can easily add your own look 'n feel to it. So I give it to you to choose not only your own font, fontsize and the speed of the animation but also all the colours you'll see in this example. You'll find it very easy to customize these parameter if you're familiar with the RGB System.

 
 
    colours
  • background
  • foreground
  • title
  • text
  • shadow
  • polyline

The text which is displayed in this applet is placed in a separate file. You can find this text in the news.txt file in the source directory. The first line of the text contains a hyperlink. The second line specifies the headline. All the following lines include the displayed text.

 
 

The news are divided by a separator. I think you'll learn very fast how to write text for this applet.

 
 
 

RGB System

 
 

You can specify all colours by different values of the three colours Red, Green and Blue. These values are numbers between 0 and 255. The lower the numbers the darker the colour. By far the most HTML editors have a tool that helps you find out the right values you need.