how to enable colors (keywords, comments) for java codes?

Using the Java SDK with TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Booo

how to enable colors (keywords, comments) for java codes?

Post by Booo »

The text colors disappeared in my java code. What happened?
Lord Revan
Posts: 2
Joined: Thu Aug 28, 2003 10:36 pm
Contact:

Post by Lord Revan »

I guess it's not reading the actually Java. Go to SaveAs, and save it, but make sure you save it as *insert title here*.java, only minus the *'s.
Phun
Posts: 2
Joined: Mon Oct 20, 2003 7:37 am

Post by Phun »

I've got the same problem

I always saveAs .java, i use the same name to save and to name a class

Colours are enabled .. but it doesn't work. Pls help me :)
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

>>I always saveAs .java, i use the same name to save and to name a class

Logical, the Java language is forcing you to do so...

>>Colours are enabled .. but it doesn't work. Pls help me

How is your Java document class set up?
Does it contain *.java files?
Is there a Java syntax file?
Is syntax coloring enabled?
Phun
Posts: 2
Joined: Mon Oct 20, 2003 7:37 am

Post by Phun »

solution : java syntax wasn't defined yet :) thx for the help ... now it works :)
Post Reply