View RSS Feed

My Java Tips

Changing Console properties

Rate this Entry
by , 11-14-2011 at 06:31 PM (2768 Views)
Eclipse provides a console window in which you see the output of your Java program. Normally default properties are sufficient and developers are satisfied with it. In some cases, you might want to change the look and feel of the console window. I'll write about this in this post.

The default console looks like this:

Now lets try to change the look and feel. Click

Window > Preferences > Run/Debug > Console

You will see the following window:

You may change the standard output color, standard error text color, standard in text color and background color of the console. Of course, there is a "Restore default" button to get back to the default.

One important thing is "console buffer size" which is in characters. When you are printing a lot of text on the console, this parameter is of great importance. You may change it from here.

Play with it and set the console the way you like it.

Submit "Changing Console properties" to Facebook Submit "Changing Console properties" to Digg Submit "Changing Console properties" to Submit "Changing Console properties" to StumbleUpon Submit "Changing Console properties" to Google

Tags: console, eclipse Add / Edit Tags