Search:

Type: Posts; User: jlturriff

Search: Search took 0.09 seconds.

  1. [SOLVED] Re: Adding convenience methods to an application class

    Yes, I guessed that static Might be the way to do it, but couldn't tell from any of the descriptions that I've seen anywhere.


    I found it. Edit the top/first post in the thread. Below the text...
  2. [SOLVED] Re: Adding convenience methods to an application class

    Good. That's what I wanted to know.
    (How do I mark this thread "solved"?
  3. [SOLVED] Re: Adding convenience methods to an application class

    My primary concern is how to select the appropriate scope for the method; it should be usable anywhere in the application.


    Its signatures are


    bool abbrev(String fullWord, int minLength,...
  4. [SOLVED] Re: Adding convenience methods to an application class

    Okay. I interpreted "any class" as any non-specific class. :-)


    As usual, if the strings passed start with '-' they will be evaluated as options for the program; if not, as filepaths. How the...
  5. [SOLVED] Re: Adding convenience methods to an application class

    "any class"? I'm not sure that I understand your question. The methods will be used for processing Strings. E.g.


    public static int words(String phrase) {...}

    or


    public static String...
  6. [SOLVED] Adding convenience methods to an application class

    I'm just starting out to learn Java programming, starting with this basic piece of code:



    public class MyApplication
    {public static void main(String[] args)
    {MainFrame frame = new...
Results 1 to 6 of 6