How do you write a java application without a main method? Are you talking about an applet? In any case, I don't think that this is a possibility. If you somehow start your application through a means whereby it does not have a console window, you will have to redirect your System.out calls to have it display wherever you want. In order to diplay to a system console, you would have to know which console and other bits of system-level information that Java does not provide. You could, of course, write your own console class and have the data directed there.
Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
I don't get it. A whale wearing overalls? How does that even work? It's like a tiny ad wearing overalls.