jwenting 1,905 duckman Team Colleague

You'll also need a database of course.
Oracle 10g Express will do. It's smaller than 11g by over a gigabyte and will work on home editions of operating systems.

JDeveloper and Oracle SQL Developer don't install that for you, you have to do it yourself.

jwenting 1,905 duckman Team Colleague

not declaring them is the ultimate in abstraction, but I'm sure your course material doesn't mean that when it talks about abstract classes and does mention what they actually are.

jwenting 1,905 duckman Team Colleague

nope. Bit more modern, but not much :)

jwenting 1,905 duckman Team Colleague

that wouldn't work.
The average can only be determined if you know the previous average as well as the number of records over which it was determined.

new_average = ((old average * count) + new_rating) / (count + 1);
jwenting 1,905 duckman Team Colleague

do your own homework, thread hijacking kiddo.

jwenting 1,905 duckman Team Colleague

As we seen to be heading into history, let's go a bit further back :)

jwenting 1,905 duckman Team Colleague

hmm, tricky. Never been much into Italian aircraft of the 1930s and '40s.
It looks like a Fiat G.50, but I'm not 100% sure (mainly the engine cowling seems different, but it could have been produced in several versions with different engines).

jwenting 1,905 duckman Team Colleague

<pre> tags are the ONLY thing that will prevent browsers from stripping whitespace.

jwenting 1,905 duckman Team Colleague

yup. Tiny bit of mathematics should do.
Addition, division, maybe multiplication, and you're done.

jwenting 1,905 duckman Team Colleague

It's an Il-76 (or probably an Il-78, they're externally nearly identical).

jwenting 1,905 duckman Team Colleague

thought so.
The for-each structure wasn't introduced until the 1.5 version of the language.
Your compiler is about 6+ years too old.

jwenting 1,905 duckman Team Colleague

you didn't use wrong names, just different ones from the ones I chose in the application I pulled that code from :)

It's pretty much boilerplate code, you'll be writing similar methods a LOT.

jwenting 1,905 duckman Team Colleague

#28 looks like a Yak-9, but I'm not quite certain.

jwenting 1,905 duckman Team Colleague

That's because l_interval does NOT in fact contain a string representation of a date.
It contains a string representation of a mathematical formula which might resolve into a valid date (or not).

You'll need to parse that formula somehow, and the to_date function will be no help whatsoever in doing so.

jwenting 1,905 duckman Team Colleague

no, you can't for all the reasons I listed.

jwenting 1,905 duckman Team Colleague

NEVER use Java code in JSP.
NEVER try to mix binary and text data in a ServletOutputStream.

jwenting 1,905 duckman Team Colleague

though given your attitude to far that eagerness to help has taken quite a steep nosedive...

jwenting 1,905 duckman Team Colleague

As you're unskilled any skilltest you take will show your incompetence.
Therefore there's no need to take any, just hand in the paperwork with just your name filled in and go have a drink in the pub.

jwenting 1,905 duckman Team Colleague

Actually, they are genderless. And not from Mars.

shh, you weren't supposed to tell that. The female Martian story is the official cover, nicely unbelievable and therefore excellent to make people think there's nothing going on but some people making up stories.

jwenting 1,905 duckman Team Colleague

I'll count that as correct. The FA.2 was later renamed FRS.2 before being retired last year.

Let's leave #27 to others indeed.

The Germans indeed knew their lowlevel stuff. Sadly they were also plagued with maintenance problems, resulting in quite a few crashes before the chief of staff did some serious asskicking and reorganised the maintenance training and requirements.

jwenting 1,905 duckman Team Colleague

pass the selected value back and set it as the "selected" attribute of the dropdown.

jwenting 1,905 duckman Team Colleague

Not only are you abusing JSP for something it's not meant to be used for, but you're also eating exceptions (catching them without doing anything with them).

No wonder you don't get to see errors if you don't log them.

1) always log or otherwise handle any exception you catch
2) never use Java code in JSP
3) never use JSP for anything except displaying results to the client, use servlets instead.

jwenting 1,905 duckman Team Colleague

The only truely effective means to prevent software from being pirated is to not distribute it.

Instead run it in the form of a web service, protected by strong credentials and billed per use (either amount of data transmitted or number of calls placed to the application).
Anyone foolish enough to hand out their credentials to others will pay for the use those others make of the application.
If those credentials are further linked to ip addresses or address ranges things get even more secure as the application is now both impossible to crack (not being in the hands of the crackers, ever), as well as the use of it linked to a specific paying account at a specific known location.

jwenting 1,905 duckman Team Colleague

what version of the compiler are you using?

jwenting 1,905 duckman Team Colleague

Even 2GB on an iPod is sufficient for storing 24 hours of continuous music.
So on a 60GB one you could store a month worth of music, far more than the battery lasts...

So why waste money on the bigger versions, buy the cheapest one you can get and spend the leftover money on accessoiries like a carrying case, better headphones, maybe some external speakers.

jwenting 1,905 duckman Team Colleague

Too easy. It's an F-104G, 306 squadron Royal Netherlands Airforce.
It's preserved as a guateguard at New Milligen ("Dutch Mil") military air traffic control station.

jwenting 1,905 duckman Team Colleague

says it all, that variable doesn't exist...

jwenting 1,905 duckman Team Colleague

not urgent. Come back next year.
Gives you time to learn about code tags, html, Javascript, Java, JSP, etc. etc.

jwenting 1,905 duckman Team Colleague

usually you have a list of words and check each word against that list.
There are more advanced systems that do full lexical analysis to also take context into account but you're not ready for those.

jwenting 1,905 duckman Team Colleague

look better. The server documentation and tutorials are a good place to start.

jwenting 1,905 duckman Team Colleague

even more interesting, in the last post closing the discussion nanosani says he deleted the whole thing :)

jwenting 1,905 duckman Team Colleague

there are other tutorials for that, but they're far too advanced for you at this stage.

jwenting 1,905 duckman Team Colleague

Or any of the multitude of other free and commercial products that are now available (7 years ago the market was much smaller).

jwenting 1,905 duckman Team Colleague

good luck.

jwenting 1,905 duckman Team Colleague

it isn't :)

#25 looks like a HAL Tejas.

jwenting 1,905 duckman Team Colleague

This should be an easy one, therefore I want the exact subtype as well as correct type of aircraft :)

jwenting 1,905 duckman Team Colleague

yup, you finally cracked it :)
The M15 was built to a Soviet requirement. Original requirement was for 3000 aircraft, but after 180 production was halted.

I have an F-15 somewhere that'd have a lot of people confused. It's that experimental one with thrust vectoring nozzles and huge canards :)

jwenting 1,905 duckman Team Colleague

most likely there are. If there aren't you'll need to write them, which will almost certainly require the use of extensive JNI.

jwenting 1,905 duckman Team Colleague
public void actionPerformed(ActionEvent e) {
                    JFileChooser fileChooser = new JFileChooser(".");
                    int status = fileChooser.showOpenDialog(screen);
                    if (status == JFileChooser.APPROVE_OPTION) {
                        dataFileName.setText(fileChooser.getSelectedFile().
                                             getAbsolutePath());
                    }
                }

Something like this.

sagedavis commented: Great answer for my java netbeans question +1
jwenting 1,905 duckman Team Colleague

nothing wrong with that code, purely going on syntax and grammar...
Of course depending on what you want to achieve there's a lot MISSING from it as it doesn't do much of anything.

jwenting 1,905 duckman Team Colleague

nothing, classes aren't synchronised.

jwenting 1,905 duckman Team Colleague

if you're really a university student you above all have to use your own judgement and think for yourself.
When presented with a bad example you should have the intelligence to detect that and not follow it blindly.

jwenting 1,905 duckman Team Colleague

maybe learn to write correct English and people will be able to help you, kid.
As it is your ramblings are utterly incomprehensible.

jwenting 1,905 duckman Team Colleague

No. You can extend only a single class.

jwenting 1,905 duckman Team Colleague

well, the error is clear.
There's no array called "splitresult" so you can't access it.

jwenting 1,905 duckman Team Colleague

you can't make that work, as Windows will not allow files that are open by another process to be renamed.

Under Unix OSs it might work.

jwenting 1,905 duckman Team Colleague

yes, anything to which there are no more references will be deleted by the garbage collector at some point. No need to keep track of that yourself and do things like malloc, calloc, and realloc.

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

but you shouldn't.
NEVER assume you have sole control over the terminal.

jwenting 1,905 duckman Team Colleague

I said it was Italian :)

Congratulations, that's the first one I had to look up ;)
It's a PZL M-15, Polish built cropduster.