jwenting 1,905 duckman Team Colleague

and anyway, why post nonsense to a thread that was discussed to death 3 years ago?

jwenting 1,905 duckman Team Colleague

well, maybe he has nothing to post, in which case there's nothing to do the calculation :)

BestJewSinceJC commented: Haha! +5
jwenting 1,905 duckman Team Colleague

*code tags expected. Redo from start*

jwenting 1,905 duckman Team Colleague

Take it to the roof of the highest building in town, and with considerable force throw it down.
If you need higher speed than that, rent an aircraft, take it up to 10.000ft, and throw it out the door.
Without adding rocket boosters that's the highest speed you're going to attain.

jwenting 1,905 duckman Team Colleague

get a degree indeed, and also don't be afraid of taking on jobs that don't fit your "ideal" job description.

There are scores of kids with a modicum of programming knowledge in Java or Python willing to work for peanuts as long as it's using their favourite "technology".
To stand out from the crowd you have to be willing and able to take on other assignments. Someone has a job doing Fortran? Take it, buy a book and get to it.
A Cobol project needs a helping hand? Don't turn it down.

jwenting 1,905 duckman Team Colleague

if you'd checked his entire message you'd have noticed the spamlink in his signature.
He doesn't want to buy anything, just to get that link out on the forums :)

P.S I just bought my parents a new laptop in a real store that was 10% cheaper than the lowest price I could find for it in an online store.

jwenting 1,905 duckman Team Colleague

That means that something isn't initialised properly before you call a method on it.
The exception will show what that is.

jwenting 1,905 duckman Team Colleague

so much fundamentally wrong here, it doesn't warrant even starting to list the problems.
Begin with a good RECENT book on JSP, the JDBC tutorial, and a decent database (no, Access isn't one).

jwenting 1,905 duckman Team Colleague

are you a spammer too? or are you just daft?

Spammers are daft :)

jwenting 1,905 duckman Team Colleague

or just call Intel, they'll likely be happy to sell you hardcopy (might even give it away) if they still have any.

jwenting 1,905 duckman Team Colleague

And what exactly is your question?

the usual "do my homework for me!". Not a question at all, but an attempt by a lazy schoolkid to jumpstart itself into a management career by bossing total strangers around.

jwenting 1,905 duckman Team Colleague

try synchronizing things. It is indeed possible you're printing the content of the queue in one thread while another is waiting to insert into it.

jwenting 1,905 duckman Team Colleague

The problem isn't the way you're retrieving the data (probably, if it were properly stored) but your displaying it.
Does the console (I assume you're writing to that) support unicode? If it does, does it support the character set you're trying to write?
In either case it's not a Java problem but an operating system setting.

jwenting 1,905 duckman Team Colleague

and so you try to ruin other peoples' threads with your ranting rather than try to help them?
Good show, going to make you a lot of friends here.

jwenting 1,905 duckman Team Colleague

what error? Where exactly?
Not going to read through hundreds of lines of code without at least a clear indication of what I'm looking for.

jwenting 1,905 duckman Team Colleague

We're happy to help anyone who puts in some effort to help themselves (unlike probable dsmush...).

Skimming over your source I see nowhere that you actually read the values from the screen. As a result, what you put into the input boxes and other user interface controls won't get used, only the defaults.
On changing a user interface control, trigger an event handler that updates the variables you use to calculate the result, that should do the trick.

jwenting 1,905 duckman Team Colleague
jwenting 1,905 duckman Team Colleague

if it sometimes crashes it is NOT working perfectly.
In fact I've rarely seen anything that works PERFECTLY, and certainly not something created by anyone claiming their work was perfect just before stating it's not.

jwenting 1,905 duckman Team Colleague

I love apples, but eating more than one or two a day can produce diarrhea for a day or so. Why? Not because of the seeds but because they are excellent source of fiber.

That's one reason, but doesn't explain why I get the same after drinking a few glasses of apple juice (depending on what apples it's pressed from) :)
Or why I get it eating raw apples and only certain kinds of apples.

jwenting 1,905 duckman Team Colleague

That's no pseudocode, that's the text of your homework assignment.

jwenting 1,905 duckman Team Colleague

By definition the smallest index in an array in Java is always 0

jwenting 1,905 duckman Team Colleague

it's up to you to write your queries, that's why you have SQL :)
There's a ton of information available about connecting applets to serverside resources, what you can and cannot do.
All you have to do is look for it, which you quite obviously have not done.

jwenting 1,905 duckman Team Colleague

not urgent at all...

jwenting 1,905 duckman Team Colleague

too late

jwenting 1,905 duckman Team Colleague

If you know basic programming and know what a tree is, combining the two is a trivial exercise left to you.
Neither this website's nor your teacher's job is to spoonfeed you ready made solutions to all of life's problems.
Rather we (and he) are here to help you hopefully get enough knowledge to be able to implement solutions on your own and find what information you need to do so.

jwenting 1,905 duckman Team Colleague

An apple a day keeps the doctor away. Am I right or am I right.

Or am I right.

you're wrong. There are a lot of people who are actually allergic to apples.
Some like me to a very mild degree, we just get diarrhea eating raw apples. Others need medical attention.

jwenting 1,905 duckman Team Colleague

If you need to ask that question, you're not prepared to carry the burden of executing such a project to a successful completion.

I've no exact numbers, but you can expect it to take several months to years, a team of maybe dozens of people, and a budget of millions of Euros.
And that's just to build it. The marketing, initial concept idea and artwork, etc. etc. add more time and a lot more money.
And of course running it costs money and resources as well.

jwenting 1,905 duckman Team Colleague

in addition to that, I don't see the urgency.

jwenting 1,905 duckman Team Colleague

the API docs come to mind. And no doubt you have had some lessons in how to implement tree structures and/or can find that information in your lecture notes or required reading list for your course else your teacher (not "professor", no university student would post questions like this, he'd do his own research) would not have given you that assignment.

jwenting 1,905 duckman Team Colleague

there is no legitimate reason. Any website where the operators have information they wish to release for republication will have other means to gain access to that information, be it through some sort of web services API, email newsletter, or whatever.

jwenting 1,905 duckman Team Colleague

your code is wrong because you don't use code tags.
Maybe if you did it would be correct, I don't bother checking.

jwenting 1,905 duckman Team Colleague

There is no "override zooming and panning funtion", you'll have to write those yourself (or maybe you can find some library that implements them).

Not that hard to do, but needs some mental juggling to get the right ideas settled with how to implement them (and no, I am not going to give you the code because not only don't I have it but if I did it would probably not be mine to give away).

jwenting 1,905 duckman Team Colleague

I know which "student" would get the lowest marks were I the teacher here...

jwenting 1,905 duckman Team Colleague

He wants a "small discussion forum", something for "posting notices/ads", and probably other stuff.
That seems to indicate at least a complete phpNuke and phpBBB installation or something similar.
That requires a mySQL database, some template customisation, graphics design, etc. etc.

I'd think 2-3 days for setting all that up, doing the graphics and CSS to conform to his wishes, testing it all, and teaching him how to administer it (especially the latter, as I assume he won't be buying an extended support contract) is probably optimistic.

Of course if he goes with a cohosted solution where he accepts a standard template and very limited control over LAF, advertising, etc. etc. he'd probably get it cheaper, as he'd just get an out of the box installation rolled out from a stored standard image, but I assume he wants more than that else he could just do a standard installation of those products himself.

jwenting 1,905 duckman Team Colleague

Sure. Would need a database, proper testing, design work.
All takes time.
At €75 an hour (not an uncommon rate for a professional), 3 days work would be €2000.

That's why I say a well trained professional, rather than some snot nosed kid who can click buttons in Frontpage.

jwenting 1,905 duckman Team Colleague

what's stopping you from writing it?
We're not your coding service here, so don't expect us to do it.

jwenting 1,905 duckman Team Colleague
<c:if test="$model.value">
jwenting 1,905 duckman Team Colleague

don't put business logic in JSP.
don't create SQL statements like that, use PreparedStatement instead.
the error message is quite clear, you're trying to insert an illegal date.

jwenting 1,905 duckman Team Colleague

yes, he should do it.
No, we won't do it.
No, it's not urgent at all (at least for us, if it's for him he'd best hurry).
No, it's got nothing to do with game development whatsoever.

jwenting 1,905 duckman Team Colleague

use code tags. Don't try to squeeze everything into one big class. Read error messages carefully, they tell you what's wrong.

jwenting 1,905 duckman Team Colleague

using raw types can be required at times, but this is not such a time.
All answers can be found in a decent tutorial and the JLS as usual.

jwenting 1,905 duckman Team Colleague

any schoolkid with a pirated version of Frontpage can do it for a few hundred dollars.
A decent professional probably for a few thousand.

jwenting 1,905 duckman Team Colleague

if you're too stupid to find the button to post a new thread, you're far too stupid to create anything like a chatbot.

Rashakil Fol commented: stuuuuuuuuuuuuupid +7
jwenting 1,905 duckman Team Colleague

You need a spanking, not a programming tutorial.
What you want to do is a blatant violation of most websites' terms of service.

jwenting 1,905 duckman Team Colleague

Turbo C isn't even good for homework any more as it implements a standard that's 20 years out of date.

jwenting 1,905 duckman Team Colleague

no, we're not your coding service.
Check the Calendar class.

jwenting 1,905 duckman Team Colleague

There's a mapping that maps that url to something else, maybe a servlet that generates the image.

jwenting 1,905 duckman Team Colleague

oh boy...

I'm pretty sure even an idiot book like yours doesn't tell you to do that.

jwenting 1,905 duckman Team Colleague

book originates with Java 1.1 I think, but may have had superficial updates over the last decade or so (like changing a few version numbers).

jwenting 1,905 duckman Team Colleague

what "is not good"?
That amount of data is utterly ridiculous to plot in one graph, no library you're going to find is going to do well with it (and JFreeChart is probably the best one out there).
Filter the data to a more reasonable few hundred points, and you'll get far better performance.
When zooming in or out, filter a different window to that same number of points.

No charting library is going to do that for you, that's all in the code that provides data to the charting library for display, code you have to provide.