jwenting 1,905 duckman Team Colleague

Perhaps you need to learn how to use your tools?
Compile the class and JBuilder will see it in other sources. Apparently you'd failed to do that (or provide a compiled version some other way). While often it will see uncompiled sources directly, sometimes it fails. This is especially the case with sources inside your project that change since the last compilation of that source. Sometimes JBuilder fails to see that the source changes and uses the outdated classfile instead for code error insight and/or code completion (or even weirder, sometimes the editor (thus code completion) sees the changes but the compiler does not).

This is true for every IDE/editor I've ever tried, from Eclipse to Netbeans to JBuilder to you name it (I've used well over a dozen over the years, probably closer to 2 dozen).

jwenting 1,905 duckman Team Colleague
import java.util.LinkedList;

.....

Couldn't be simpler to use a linked list in Java, one is provided as standard for your enjoyment :)

newNode.next = tailNode;
tailNode = newNode;
length++;

All I get is an infinite loop where it adds the first character, an "A".
Obviously I am not incrementing the pointer to the Node's .next property

Kinda weird as there are no pointers for your manipulation in Java.
I do notice you are creating a circular reference here, probably not what you intended.

jwenting 1,905 duckman Team Colleague

You really have no need to know. There are no pointers for you to manipulate so there's no need to reserve space for a series of objects and address that space at discrete intervals.
As long as you know what the different primitives can hold (which is no guarantee they're actually that size, a JVM implementation could for example represent a 32 bit integer internally as a 64 bit number for performance reasons as long as the programmer doesn't notice it) there's nothing to worry about.

jwenting 1,905 duckman Team Colleague

There is no need to know. A boolean is a boolean is a boolean. How it's defined internally is inconsequential to the person using the datatype.
It could even be different on different JVMs, so counting on a particular implementation is dangerous.

jwenting 1,905 duckman Team Colleague

The choice is available in the USA as well.
The problem is that communists and atheists want that choice taken away and force religious people to hide the fact that they are in fact religious people.

jwenting 1,905 duckman Team Colleague

Why wouldn't it be?
The jar command doesn't care about what it packs up :)

jwenting 1,905 duckman Team Colleague

Cat, no specific deity is mentioned. That's the crux of the entire argument. If it read "One nation under Jesus Christ", few would argue that such intrudes on separation of church and state.
But the word "God" is a religion-neutral one. While admitting there are deities it doesn't specify which those are supposed to be. So a Hindu can declare this and mean Vishnu, a Zen Budhist can refer it to mean Budha, a Muslim means Allah, and a Christian person whatever he believes in.

People also aren't required to use this wording (or take the pledge at all, it is entirely volluntary), therefore there is no forcing people into religion.

Instead it's an act by an extremely intollerant group intent on changing history to read the USA as being an atheist country ruled by the twin Gods of Marxism/Leninism (it's not surprising the leadership of the ACLU is largely made up of people from the US extreme left including the communist party).

jwenting 1,905 duckman Team Colleague

hmm, so in Australia it would be legal to listen to streaming audio generated from pirated music but not to actually cache the stream on your machine while streaming it.
Interesting.

jwenting 1,905 duckman Team Colleague

Uhhhhhhh, you have to write a Java program and you've never seen the language and now expect to learn everything about it from looking at a short code sample?

Start with the tutorials at java.sun.com, get some good books (Head First Java is a good one), get some OO design training.
If you're a professional you should know the paths to wander to enlightenment.

jwenting 1,905 duckman Team Colleague

The same reason I say they should be deprecated (or better yet, banned to the 7th circle of computer hell) :)
They're slow, have a confusing API (with many duplicate functions) because of the way they were retrofitted to support the List interface, are generally not needed (and when you could have a case for them there are still better alternatives), etc. etc.

Basically they're among the dinosaurs of Java, together with StringTokenizer and some other very old classes that now have better alternatives but have been kept on because someone forgot to remove them.

jwenting 1,905 duckman Team Colleague

You might have to do some magic with the resulting data from different conversions as not every wrapper class handles binary the same way (and of course they're usually not 8 bits so you may have to discard some data).

jwenting 1,905 duckman Team Colleague

The USSC didn't remove the phrase "under God". It was a state court after the USSC had thrown out a similar case for being too idiotic for them to even consider and voided a lower court decision to that effect, telling them to do their homework again.

jwenting 1,905 duckman Team Colleague

There's an option to convert any number to a binary representation in the wrapper classes.

jwenting 1,905 duckman Team Colleague

The trick is to have people who can communicate with coders to shield them from most of the non-technical stuff :)

Of course we can communicate, but we tend to drift into technical details and might not understand why others have trouble following our reasoning.

jwenting 1,905 duckman Team Colleague

It does exactly what you tell it to do.
First you loop over the entire resultset, then you add the current entry (which at that point is the last one) to the control.

I suggest you analyse what you're doing, you'll soon enough figure out why it's not what you want and how to fix it.
That way you'll actually learn from your mistakes, as opposed to reading a ready-made solution.

jwenting 1,905 duckman Team Colleague

Hmm, that's weird. It only took one parent to have "under God" taken out of the pledge of allegance.

That person had the billions (dollars that is) of the ACLU behind him, if anyone supports people who are in favour of teaching evolution or keeping a phrase like that they're immediately branded religious fanatics which is bad press...

jwenting 1,905 duckman Team Colleague

How can someone understand Vector but not ArrayList?
They have the exact same interface...

jwenting 1,905 duckman Team Colleague

That's correct. When you add something to it any Iterators you have on it are invalidated.
Either defer the inserts until after you are done iterating (maybe add the stuff temporarilly to another Collection and later use addAll on the LinkedHashSet to add the content of that Collection or loop through the LinkedHashSet in some other way.

jwenting 1,905 duckman Team Colleague

No, you cannot change the size of an array.
Use an ArrayList instead, not a Vector. Vector has notoriously poor performance, and should only be used when an ArrayList cannot provide the functionality needed while a Vector can (by the time you know when that is you know what it is).

jwenting 1,905 duckman Team Colleague

In general good programmers aren't very good at interpersonal relationships, especially with non-programmers.
There are some that are, and they are great programmers generally. But more often programmers with excellent social skills are mediocre technicians.

jwenting 1,905 duckman Team Colleague

Yes, there are all kinds of processes and procedures you could employ.
You could fill a library with them all in fact :)

Start with describing all the functionalities of your intended system, then work those into more detailed scenarios.
Those can then be distilled into disctinct components, which you can then design for implementation (or select for purchase).

That's a 1 week software analysis and design course condensed into a few lines of text (my coursebook is about a thousand pages).

http://ootips.org/

jwenting 1,905 duckman Team Colleague

don't salvage those things! They might look nice and shiny after being disinfected and cleaned with a high pressure hose but would you trust them?
Electricity + water = BIG NONO.

jwenting 1,905 duckman Team Colleague

You might be able to pop up a frame with an image at the start of the init method and close it again when the init method terminates.

jwenting 1,905 duckman Team Colleague

A virus is a self-replicating program that replicates without permission from the system it is infecting.
In Java this is rather hard to do because of the security restrictions Java operates under.

And indeed creating a virus is illegal and goes against anything a professional considers social behaviour. We're not here to help criminals.

jwenting 1,905 duckman Team Colleague

'\n' will give you a newline character, "\n " will give you a newline character and a space, so your next line will start with an empty space.

jwenting 1,905 duckman Team Colleague

Correct. The posession of the software isn't illegal (in most countries, conceivably in some it could be).
In the US it would be illegal if Limewire were marketed specifically for the purpose of comitting a crime, because then the software would have been marketed as a tool for comitting crimes which is itself a crime.
The use of the software doesn't guarantee you will get a virus.
But using the software to download copyrighted material without permission from the copyright holder is illegal in most jurisdictions (in some places it's not, those places don't recognise copyright laws, China is a prime example but there the software itself is likely illegal).
And when downloading copyrighted material (or rather attempting to) you're likely to do get a virus as a lot of such material is infected with all kinds of bad stuff.

jwenting 1,905 duckman Team Colleague

seconded.

But at least the OP knows (s)he had to prepare for an exam. Apparently (from the wording) (s)he didn't though, so (s)he'd better start preparing now to retake the exam at a later date :)

jwenting 1,905 duckman Team Colleague

no, you are wrong. '\n' is a character, but you wrote '\n ' (note the extra space).
Learn your special characters.

jwenting 1,905 duckman Team Colleague

It's usually defined as breaking up a system into its component parts.
You can then design (or purchase), build (if you decide to build your own), test, and deploy these separately.
When using UML you should end up with a component model and probably a deployment model.

jwenting 1,905 duckman Team Colleague

The compiler will tell you what line to look for the error. Look there and apply your knowledge of what a character literal is and you'll see where you've tried to use something as a character literal that isn't.

jwenting 1,905 duckman Team Colleague

yah, Format is in java.text, you probably forgot to import it.

jwenting 1,905 duckman Team Colleague

Sounds indeed like the operating system is rejecting request to allocate the 2.5GB of RAM to the JVM initially.
You should probably ask in a specialised Linux forum instead.

jwenting 1,905 duckman Team Colleague

Use a LinkedHashSet instead. It can be iterated over in insertion order, but is of course heavier as it needs to keep track of the insertion order (which it does by backing the Set with a List or array).

jwenting 1,905 duckman Team Colleague

hascCode is used in concert with equals to determine whether (and where) in a HashSet (or other hash based collection) an object exists.
You need to have these methods in working order (and thus overridden from the defaults in Object) in order for the algorithms to work correctly.

There's a good explanation in "Effective Java" by Joshua Bloch.

jwenting 1,905 duckman Team Colleague

Using contains would indeed work, but if the List gets large it gets ever more expensive to do the check (it's an O(n) operations, iterating over the entire dataset until either the end is reached or a match is found).
Using a container that prohibits duplicates is indeed a more logical choice.
HashSet checks for duplicates during insert based on hashCode and equals (so make sure to correctly override both for your custom classes when using them in a HashSet) which is a lot faster potentially.

jwenting 1,905 duckman Team Colleague

JNI is an interface layer that lets a Java application call native code libraries (like DLLs on Windows and OS/2 and shared objects on Unix).
Check your compiler documentation and the Java section at the better stocked specialty bookstores.

jwenting 1,905 duckman Team Colleague

Unless there's a definite limit to the amount of memory the application will claim (so no errors or unforeseen conditions causing infinite loops for example) that will only delay the inevitable :)

jwenting 1,905 duckman Team Colleague

You could of course create a launcher which starts several applications inside a single JVM, but they'd for the JVM all be the same application which would likely play hell on things like Swing user interfaces.

jwenting 1,905 duckman Team Colleague

You'll need to talk to the operating system on the remote machine to take over its desktop. That requires access to operations which Java cannot provide (because such access is highly operating system dependent and therefore outside the scope of a platform independent platform like Java).
You'll need operating system specific code (native to that OS) for each supported platform.

jwenting 1,905 duckman Team Colleague

yup, that's the term I think. In Dutch there's a special word for it, but I don't think there is in English.

jwenting 1,905 duckman Team Colleague

Dump it.
Send the harddisks to a data recovery company for spooling the data onto tapes or new disks and put those in new computers.

Even if you could clean the old ones, I'd not want to trust my business to them. Corrosion, electronics+water=shorts, etc. etc.

jwenting 1,905 duckman Team Colleague

Nyet, tovarich :)

Flying over Germany at night you could see the iron curtain. On the west there was light, on the east everything was dark except the bright island that was west Berlin.

jwenting 1,905 duckman Team Colleague

And if it's ever going to be used in a multiuser environment Access will quickly break down.

btw, don't think there will be no billing/invoicing/etc. in the system. It may not be planned now but soon enough someone will come up with a bright idea (and another bright idea to make it accessible over the web for people using laptops in the field for example) :)
Applications have a tendency to get larger and larger as more people get wind of their existence and start getting ideas about what would be handy if the application could just do that.

jwenting 1,905 duckman Team Colleague

Sure. Everything that's been written can be written again if you know how to :)

What you want would require native code, therefore most likely C(++) and/or ASM (Delphi can almost certainly do it to).

jwenting 1,905 duckman Team Colleague

format c:

jwenting 1,905 duckman Team Colleague

better to use the setMinimumFractionDigits and setMaximumFractionDigits functions on DecimalFormat.

The format strings can be confusing :)

jwenting 1,905 duckman Team Colleague

I've been to the DDR when they existed. It was hardly a game and I'd not like to live in a place like that :)

jwenting 1,905 duckman Team Colleague

never expect pirated content to be fully compatible with official content.
And that includes "backup copies" which by definition are created using the same systems as pirated games (cracks, etc.).

jwenting 1,905 duckman Team Colleague

By definition a parent can't know what it's children are.
There is no way to determine all children of a class that may exist. You can look through all existent classes you know about and determine their superclasses all the way up to the root of the class hierarchy and remember which have the class you're interested in as a parent but that's an expensive operation if you have a large class hierarchy.
It would mean reading every class into memory and determining not only its direct parent bur the complete inheritence tree of that class all the way up to the root.
If you have thousands of classes in a tree that's many levels deep that takes a lot of time.

jwenting 1,905 duckman Team Colleague

Or just read a good book... We're not here to write your research papers for you, nor to find things for you to plagairise.