Hi
I need to create a java app which should not have any interfaces. how can i do it??
Thanks in advance.
Printable View
Hi
I need to create a java app which should not have any interfaces. how can i do it??
Thanks in advance.
Need more explanation please.
Yes exactly. i do not need any interface while itz running. i need run this as a kind of hidden process. Like kaspersky anti-virus runs.
The following has no user interface:
Code:public class Junk {
public static void main(String[] args) {
// the end
}
}
This goes one better. It not only has no user interface, but it maxes out the processor!Quote:
The following has no user interface:
dbCode:public class Junk {
public static void main(String[] args) {
while (true);
}
}
But it will be having a console interface. i need to create like a hidden process. In other like a windows service or unix daemon.
On windows, you create a console-less java app by using 'javaw' instead of 'java' on the command line.