Search:

Type: Posts; User: meathead

Page 1 of 2 1 2

Search: Search took 0.09 seconds.

  1. Re: employing library jar from windows command line

    Have a -jar extension/argument. Sorry for the imprecision.
  2. Re: employing library jar from windows command line

    After javac runs successfully, hw.class appears by magic. same as usual. Sorry, I did not provide dir output along the way.
  3. Re: employing library jar from windows command line

    Somebody else put it in a jar, I'm just trying to get it out. If I would have the source, I'd compile it the old fashioned way. Class files I'm pretty much used to, or at least they have worked...
  4. employing library jar from windows command line

    I have never used a jar based library before. After having had problems getting javac to compile a .class properly, I got that figured out and got a successful compile with this batch file:

    ...
  5. Replies
    47
    Views
    6,353

    Re: Teaching a Non-Programmer How to Program?

    If the point of it all is to develop a conversational place of compassion, how about the "Tao of Programming", without actually writing some code it reveals some truths of programming without ever...
  6. Replies
    34
    Views
    5,392

    Re: Learning together

    or perhaps not. Google says I do not have permission. How may I access this list or where on this site do you exist?
  7. Replies
    4
    Views
    1,920

    Re: What Java Books / Resources Do you use?

    Q: how do you eat an elephant?
    A: one bite at a time!

    It really depends what you want to do. Are you interested in games, database applications, accounting packages or something else? You have...
  8. Replies
    4
    Views
    1,566

    Re: Make a JTextField

    JTextField Echo = new JTextField(20); // sets number of columns of text
    Echo.setSize(w,h); // JTextField inherits from Component. w&h are assumed to be ints for width & height

    You can have a...
  9. Replies
    2
    Views
    1,101

    Re: New to java trying a GUI

    cf Herb Schildt's Swing : a beginner's guide.
  10. Replies
    10
    Views
    2,941

    [SOLVED] Re: n00b having problems running code

    You are brave to try on your own. I don't do Eclipse. could you perhaps use notepad (included with Windows) to do a Hello World type program?

    Save as: Hello.java



    public class Hello
    {...
  11. Replies
    5
    Views
    1,096

    Re: A few fixable errors. Please help :(

    Yup, get something to run. At level of hello world, if need be. If you go top down, start with a menu which sends persons to commented pseudocode that you then start filling in with real code one...
  12. Replies
    3
    Views
    1,475

    Re: help with tax program???

    Ok, let's turn this around. What can you do? Can you get a Hello World program to run? If not, the tutorial over at Oracle entitled "Your first cup of Java may be informative. If you can get the...
  13. Replies
    6
    Views
    1,898

    Re: Share your story with Java?

    I took a Java course at community college almost by chance when I was concentrating on taking courses on something else.

    I'm a recreactional/project programmer who had worked for decades in a...
  14. Replies
    14
    Views
    3,073

    Re: why java is so populer ?

    It's FREE.
    It's powerful. -- A full service language. If you can't do it in Java, they haven't thought it up yet.
    It runs on anything.--compiles to bytecode, which is an open standard, result is...
  15. Thread: Type magic

    by meathead
    Replies
    5
    Views
    1,121

    Re: Type magic

    Oops!


    Object o = lm.elementAt(idx);
    sGet = o.toString();
    jlabChoose.setText("JList points to : " + sGet);


    thanks for the offer, sorry for the bother. I can't believe...
  16. Thread: Type magic

    by meathead
    Replies
    5
    Views
    1,121

    Re: Type magic

    Is SSCCE same as Java source in whole program form?
  17. Thread: Type magic

    by meathead
    Replies
    5
    Views
    1,121

    Type magic

    I used a DefaultListModel to populate a JList.

    Example: dlm.addElement(s); where s=String

    When I retrieve a value from the JList using the index of dlm, it works great
    When I output text --...
  18. Replies
    3
    Views
    1,432

    Re: Help with Assignment

    Start commenting out lines of code from main program until it runs. Then try to uncomment the last line you commented and try to figure out what you did wrong.

    Maybe it's unfair,but when I see...
  19. Replies
    3
    Views
    2,375

    Re: Buble sort issue

    In a bubble sort, you go through an array 1..n elements n-1 times. First pass you get the biggest or smallest value and swap it with whatever was in x[1]. On the second pass you go from 2..n and...
  20. Replies
    2
    Views
    1,772

    Re: Java TreeMap Simulator

    My confusion is what TreeMap has to do with simulating something. Anyway, I recently learned more about TreeMap. Other examples I had seen typically loaded a key with String and used the...
  21. Replies
    2
    Views
    1,851

    Re: MenuBar in Java?

    Herb Schildt's "Swing : a beginner's guide" is excellent. it has a large chapter devoted to menus that makes it easy. Lots of code online. Each example compiles and runs, which simplifies the...
  22. Replies
    8
    Views
    1,707

    Re: Attempting to get to next level in API

    Sure, will do! Thanks for the advice and suggestions.
  23. Replies
    4
    Views
    2,468

    Re: AppInventor Quiz App

    Can you describe the problem in words? Input, output or style? If a crash is involved, please quote, along with source near the line referred to in the quote.
  24. Replies
    8
    Views
    1,707

    Re: Attempting to get to next level in API

    In some ways putting JTable would make sense for a number of indexes, until you consider that a bibliographic record is bumpy, irregular & comes in different sizes--kind of like an asteroid. The...
  25. Replies
    8
    Views
    1,707

    Re: Attempting to get to next level in API

    At the command line using an old 1.4 I had lying around I had gotten to the point where I was retrieving records that I had indexed, an offshoot of having been making lists extracted from MARC files,...
Results 1 to 25 of 33
Page 1 of 2 1 2