Page 1 of 1

using parameters with java applications

Posted: Wed Jul 24, 2002 12:23 am
by Michael
I was wondering if it is possible with textpad, and if so how it is done, to pass parameters to java free standing applications. For example the simple program such as the one below displays the string "Hello" but I want to know if I can instruct textpad to display the string "Hello world" by entering 'world' as a separate parameter rather than entering it as code into the program. Any feedback would be very gratefully received.
Regards Michael


public class Greeting
{

public static void main(String[] args)
{
System.out.println("Hello");
}
}

Re: using parameters with java applications

Posted: Wed Jul 24, 2002 2:51 am
by Jeff Epstein
In the tool, check "Prompt for parameters". Then when you run the tool, type "Hello" into the dialog box. Should work.

:' )
Jeffy
http://www.jeffyjeffy.com/textpad

Re: using parameters with java applications

Posted: Thu Aug 01, 2002 5:33 pm
by bob maatta
How is the ability to see the menu option to configure settings controlled in Win2000 with TextPad 4.5.0? For example, I want to prompt for parameters. For some users, I can see the menu option configure-->preferences-->tools. I can set prompt for parameters here. For other users, the tools option is missing from the preferences menu. What controls whether a user see the tools option?

Re: using parameters with java applications

Posted: Fri Aug 02, 2002 12:10 pm
by Andreas
Help -> Help Topics,
Content Tab
How To...
Restrict User Capabilities