Everyone knows how to change the colour, font etc for text in a Java file. However, I want to change the colour and font for read only files so that they are different to all other files. Even better would be I could specify a list of files that are in a certain package and they would have a different font or colour to all other files.

Is there anyway to do this?