It's not that it is going to be for experienced users, but rather
that I have limited time, this is a quick-and-dirty project, and will
only be used by a small group of people for a few hours a month.
GUI is too much work for this project. What would be the best way to
write a "wrapper"? Please inform the uninformed :).
Your information and ideas were very helpful. Thank you.
Thanks,
~Matt
On Jul 23, 2007, at 1:42 AM, Trevor Johns wrote:
On Jul 22, 2007, at 9:48 PM, Matthew Strax-Haber wrote:
I am writing a program in Java that runs from a console. It uses
System.out.println for output and Scanners for input. Is there
any way to get this to show up for an end-user? When I double-
click the .jar in both windows and mac, nothing happens.
Thanks,
~Matt
Not directly. You'd probably want to do one of two things:
1. Write a wrapper that launches Terminal.app, then launches your
application inside of it.
2. Use Java to display a window with a text area inside it, then
replace your calls to System.out/System.in to use your custom view.
You'd be basically writing a light version of Terminal.app in Java.
Neither is really optimal since Mac users are used to dealing with
a GUI. The users who are comfortable with a terminal window also
tend to be the users who would rather launch the program by hand
from a shell.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden