Have a -jar extension/argument. Sorry for the imprecision.
Type: Posts; User: meathead
Have a -jar extension/argument. Sorry for the imprecision.
After javac runs successfully, hw.class appears by magic. same as usual. Sorry, I did not provide dir output along the way.
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...
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:
...
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...
or perhaps not. Google says I do not have permission. How may I access this list or where on this site do you exist?
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...
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...
cf Herb Schildt's Swing : a beginner's guide.
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
{...
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...
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...
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...
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...
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...
Is SSCCE same as Java source in whole program form?
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 --...
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...
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...
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...
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...
Sure, will do! Thanks for the advice and suggestions.
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.
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...
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,...