Changing console properties
Java applications can be executed two ways in JBuilder:
- in a console window (output redirected to console)
- or without the console window (output redirected to Execution Log)
When we choose the option of a console window, a simple console window will be opened and the Java application will run.
But what is the name of the console window, where do we find it and can we change the way it appears?
The name of the console window is conagent.exe.
If we run an application we can look at the properties of the console window (in Windows 95/98 we can simply click on the properties icon).
The properties dialog will also show where we can find this executable on our disk.
I am using Windows 98 and I can find the conagent.exe in my Windows folder.
Now we can simply alter the properties of this executable.
We can for example change the number of visible lines or font size.
And the next time we run an application using the console window these changes will be apparent.