jwenting 1,905 duckman Team Colleague

So you helped the kid by doing his homework for him, now he can claim a decent grade for doing no work at all.
What does that do for the profession, except causing even more unqualified idiots to enter the marketplace?

jwenting 1,905 duckman Team Colleague

kid can't even bother to think up original titles for his posts or to even attempt to hide the fact that he's a lazy no-do-good schoolkid who doesn't even know proper English.

jwenting 1,905 duckman Team Colleague

rather than focusing on the syntax so heavily, you could then focus on learning fundamental object oriented programming concepts.

Sadly for most people it ends up not learning the syntax but instead learning where all the buttons and wizards are located to generate code for them and then crying like babies when they end up having to write some code by hand because they don't know how.

jwenting 1,905 duckman Team Colleague

He gets his local prices, I get my local prices. Of course mine include our skyhigh VAT, which US online retailers don't charge (as under US law interstate mailorder sales aren't taxed and salestax in most US locales is far lower than our VAT anyway).

jwenting 1,905 duckman Team Colleague

Wrong architecture.
Place the JTable in a JScrollPane, and place that in the JPanel. Scrap the scrollbar on the JPanel as the JScrollPane will handle them automatically.

You will have to fiddle with the settings of the JScrollPane a bit to make the horizontal scrollbar to show up.

jwenting 1,905 duckman Team Colleague

SMS triggered bombs? And asking others to write the software for them?
What'll Al Qaeda think up next...

There are a great many SMS libraries out there for you to purchase (and some may even have a limited functionality free version).
As you obviously didn't even bother researching the subject or you'd have found those yourself you should first do that.

jwenting 1,905 duckman Team Colleague

The idea is to help others, not to enlist them to do your homework for you.
You showed no interest at all in doing anything of your own, just sitting back and waiting for a complete solution to be handed to you on a golden platter.

That's not going to fly, especially since you're not paying us consultancy fees (at $150 an hour per person for a minimum of 80 hours per person).

jwenting 1,905 duckman Team Colleague

it's not urgent, and it's not "a doubt". In fact that's a completely incorrect way to use the word "doubt".

Do your own homework, we're not here to help you cheat your way to a diploma so you can then steal our jobs.

jwenting 1,905 duckman Team Colleague

Chocolate

jwenting 1,905 duckman Team Colleague

pfw...

You Passed 8th Grade Math

[img]http://images.blogthings.com/couldyoupasseighthgrademathquiz/passed.jpg[/img]

Congratulations, you got 10/10 correct!

jwenting 1,905 duckman Team Colleague

No, I didn't get the prices wrong...
That same hardware would cost upwards of €1500 here, which when converted to dollars comes nearly at $2000.

jwenting 1,905 duckman Team Colleague

And I'm exceedingly curious as to whether you got permission to make public internal company documents, and what the penalty to you would be if you don't have such permission and your boss found out...

jwenting 1,905 duckman Team Colleague

pretty useless without a CPU and RAM :)
The screen will cost almost half the $1000 budget already, CPU and RAM together will fill the rest.
That videocard will set you back about $250, the drive about $75, the case $150 or so.
Don't know the prices of those mobos and soundcard, but you'd end up paying at least about $1500 total, probably closer to $1700, for that config.

jwenting 1,905 duckman Team Colleague

OK, and how do you pronounce a rowboat :)

jwenting 1,905 duckman Team Colleague

It's not hackish, it's just the example that's oversimplified to fit into a few pages.

jwenting 1,905 duckman Team Colleague

That's a different question :)

For your first, you need to learn about classpaths. That's well described in any decent beginners' book, no need to repeat that here.

For the second, that all depends on the version of Eclipse. But when you select a class to run you can also supply parameters to it in the runtime configuration dialog.

jwenting 1,905 duckman Team Colleague

Think twice that money for a top system (3-4 times for the best of the best).

jwenting 1,905 duckman Team Colleague

MCSE is for a specific version of a product, plus it has an expiry period.
You have to retake the exams every few years for a specific product (though the reexamination may be shorter, I never checked) AND redo everything for each new version of that product for which a new exam is made available (there may be a shorter upgrade exam focussing mainly on the new functionality, check the web or Microsoft educational whatever).

jwenting 1,905 duckman Team Colleague

Company I worked for rejected any application from MCSE people without at least 5 years work experience to back it up for that very reason.

Far too easy to pass by just cramming a few days or weeks for a lot of people, and the knowledge gained not just evaporates rapidly but isn't very applicable to realworld scenarios anyway.

jwenting 1,905 duckman Team Colleague

Of course you can. Add a KeyListener which rejects all non-numeric formats and inserts the slashes as needed :)

jwenting 1,905 duckman Team Colleague

there are several scripting languages for the JVM. Groovy, JRuby, Jython, etc. etc. etc.

Byt I've never heard of cripts scirpts for it.

jwenting 1,905 duckman Team Colleague

keep just 5.0_04 (or install 5.0_07 and remove everything you have already).

jwenting 1,905 duckman Team Colleague

Nope, keep only the latest unless you have a very specific need to have an older one (like I do, we have some code which MUST be compiled with an older compiler for now until it is either reworked or the machines it runs on upgraded to a new runtime).

jwenting 1,905 duckman Team Colleague

First take some English classes so you can communicate with people.
That will also teach you how to read books and tutorials, of which there are plenty.

jwenting 1,905 duckman Team Colleague

You can easily help yourself by doing your own homework, and trying to learn something instead of sitting back waiting for others to do it all for you.

jwenting 1,905 duckman Team Colleague

Don't call the class Map, to avoid confusion with the standard library :)

Make it an array of MapSpace objects and store just those, maybe having those have the original character in them somewhere (or better have an enum that maps the characters to symbolic constants).

Think something like

public enum TerrainType {
  MOUNTAIN('^', mypackage.terrain.Mountain.class),
  SEA('~', mypackage.terrain.Sea.class);

  private char type;
  private Class terrainClass;


  TerrainType(char type, Class terrainClass) {
    this.type = type;
    this.terrainClass = terrainClass;
  }

  public String getType() {
     return type;
  }
  
  public Class getTerrainClass() {
    return terrainClass;
  }

}

I'll leave it up to you to add methods to get the enum for a specific terraintype character.

jwenting 1,905 duckman Team Colleague

Something that teaches kids to start early on their homework instead of waiting to the last minute and then expect instant answers to be handed to them by total strangers on internet forums might be a good idea.

jwenting 1,905 duckman Team Colleague

Better yet, don't use Struts.

jwenting 1,905 duckman Team Colleague

in fact you should likely not use struts at all.
It's an overrated, overly complex, technology.

Try Spring and Spring MVC especially. Far cleaner, easier to work with, and nicer to use.
http://www.springframework.org

jwenting 1,905 duckman Team Colleague

by writing some...

And reading a lot of books...

jwenting 1,905 duckman Team Colleague

to get started you'd best not use any IDE. Way too many people get stuck in learning an IDE instead of the language and then get utterly lost as soon as they don't have that specific version of that specific IDE configured just like the one at school at their disposal.

Current production release is 1.5.0_07, no need to use anything else unless you have a specific business reason (like I do, some of our software requires 1.4 because some of our clients aren't yet upgraded to 1.5 and therefore require 1.4 classfiles from our public API).

jwenting 1,905 duckman Team Colleague

put the jarfiles or directories on the classpaths for both your compiler and runtime and it will work fine.

Most people have a lib directory per project containing everything needed, easy to include :)

jwenting 1,905 duckman Team Colleague

but then why do people do it all the time many times

Why do people steal cars?
Why do people rob banks?
Why do people sell drugs?
Why do people hold up the post coach?

It's all about money. Getting at peoples' ban account, credit card, and social security number allows you to not just get official documents in that person's name and clean out his bank account, but to use those documents to clean out the bank accounts of large companies.
ID thieves can sometimes steal millions using a single stolen identity.

jwenting 1,905 duckman Team Colleague

twelve monkeys

jwenting 1,905 duckman Team Colleague

Your biggest problem seems to be a non-functional spacebar and some non-functional shift keys.
I gave up even trying to read your post after the first 2 paragraphs, as it's impossible to follow.

jwenting 1,905 duckman Team Colleague

not in the Java code it presents...

If you code for for example JBoss there's tons of non-standard stuff you can do that won't work with any other server.
The RI won't do that for the simple reason that it IS the standard :)

jwenting 1,905 duckman Team Colleague

That's certainly no standard package. It's probably developed (or described at least) somewhere else in the book in a section you skipped over.

jwenting 1,905 duckman Team Colleague

Each application server will have its own deployment mechanisms and tutorials.
Eclipse is not an application server so has no place in your list :)

I suggest you stick with the official reference implementation and the tutorials which make use of it for now.
That way you won't be tricked into doing all kinds of server specific stuff and thinking it's standard.

jwenting 1,905 duckman Team Colleague

I'm too busy (and don't have enough to say that people would be interested in) to write regularly so a blog is pointless.

jwenting 1,905 duckman Team Colleague

interesting how he doesn't include a picture of himself...

I'm the one behind the camera, the person in the black helicopter, who goes unseen and all seeing.
Muhahaha

jwenting 1,905 duckman Team Colleague

Probably not, seeing as to the major security problems with most versions of the product.
But we're not going to help spammers and identity thieves get access to means to steal email addresses (and other information).

jwenting 1,905 duckman Team Colleague

They're a European brand. They're a solid B brand here with aspirations to become a Big Name. Most of the quality and features of the majors but at a more reasonable price.

I'd rather buy one of the Big Names (Toshiba, IBM, Sony) myself if the difference in price was small because I want my machines to last years and years, but if you're looking at something that doesn't need to work 24/7 for a decade Acer is a very viable alternative.

jwenting 1,905 duckman Team Colleague

never heard of it.

jwenting 1,905 duckman Team Colleague

the syntax you're looking for is:

return new boolean[] {true, false};
jwenting 1,905 duckman Team Colleague

have you looked at the documentation and tutorials links at Sun's official site?
They've quite a list of their publications there, several of which are available online.

You're not going to get pdf versions of books from me, that would be theft.

jwenting 1,905 duckman Team Colleague

they're platform independent and small, meaning they run everywhere and are easy to distribute.

jwenting 1,905 duckman Team Colleague

I don't know if the trial version has the capabillity, nor if it's available in JB9.
There's a project target you can add in JB2005 for creating a native executable wrapper (and I had to look that up, I never had a need for it and don't think I ever will, executable jars are far better).

jwenting 1,905 duckman Team Colleague

Of course it does, the result is a floating point number which have arbitrary precision based on the size of the number.
The number of decimal places you provide is ONLY for purpose of internal precision of the calculation, if you want to present the number in that number of decimal places you will still need to use a formatting routine as already discussed.

jwenting 1,905 duckman Team Colleague

new record for Daniweb I think, 3+ years after the last post which was itself a year after the subject had been discarded.

jwenting 1,905 duckman Team Colleague

Sounds like you tricked someone else to do your homework assignment for you and they didn't do what you thought they would.

How the heck else can you get a message on screen that you don't know where it comes from? The only reason for that is that you didn't write the code, and in this case the only place the message can come from is from code you claim to have written yourself.