Search:

Type: Posts; User: jlturriff

Search: Search took 0.12 seconds.

  1. Need help upgrading an old Makefile for generating Native class headers

    I'm trying to compile the JCurses package (https://github.com/kba/jcurses), but its Makefile (created by ./configure) still uses the obsolete javah mechanism for generating C headers for its Native...
  2. [SOLVED] Re: Where can I find authoritative descriptions of the Java language (not its classes and methods)?

    Thank you.
  3. [SOLVED] Where can I find authoritative descriptions of the Java language (not its classes and methods)?

    I've been using Oracle's documentation and tutorials to learn the language. Strangely, their tutorials only cover Java 8, while their current Java is 17. (!) This means that what little there is in...
  4. [SOLVED] Re: The compiler apparently doesn't like my method definition.

    Yes. I have come to that conclusion, and will put my {s on their own lines in future.

    --- Update ---

    And now the "Solved:" widget has disappeared from all levels of my threads. :-(
    Hah! But...
  5. [SOLVED] Re: The compiler apparently doesn't like my method definition.

    I looked at that, and as far as I can see it's inside my class. If there's a brace out of place, I can't see it.



    import java.io.File;
    import java.util.*;

    public class Jute
    ...
  6. [SOLVED] The compiler apparently doesn't like my method definition.

    Here I am again. In Java SE 16, I wrote


    /* Return true if testWord is an abbreviation of fullWord. Case must match. */
    public static boolean isAbbrev(String testWord, String...
  7. [SOLVED] Re: Strange settings in System.getProperties

    Boy, am I embarrassed.
  8. [SOLVED] Strange settings in System.getProperties

    I've just started learning Java. I have installed Oracle's Java 16 on my OpenSuSE desktop machine, and I wrote this little program to display System properties:


    import java.io.Console;

    ...
  9. [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...
  10. Old programmers never die, they just become object oriented. (?)

    I'm a retired IBM mainframe programmer and systems programmer. I started in 1974, writing FORTRAN, COBOL and Assembler programs. In the mid 1980s I progressed to systems programming (systems...
  11. [SOLVED] Re: Adding convenience methods to an application class

    Good. That's what I wanted to know.
    (How do I mark this thread "solved"?
  12. [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,...
  13. [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...
  14. [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...
  15. [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 15 of 16