5,727 Posted Topics

Member Avatar for abdulraqeeb33

Create a JTable, create a custom TableModel for it, and have a Timer or whatever refresh that at regular intervals.

Member Avatar for Ezzaral
0
174
Member Avatar for bond225

Or monster.com All you're going to get here are a few homework kiddos who are too lazy to even do basic programming assignments at school let alone to work a fulltime job.

Member Avatar for jwenting
0
197
Member Avatar for >shadow<
Member Avatar for kumar.vsv
Member Avatar for The Dude

[QUOTE=jbennet;586034]dude, sorry to break this to you, but the chinese dont really give a shit what people say, espeically on the internet.[/QUOTE] And rightly so, when it comes to "online petitions". Those are utterly pointless, impossible to check uniqueness of signees, etc. etc. Same as paper petitions but worse. I …

Member Avatar for >shadow<
1
281
Member Avatar for atencorps

no, we can't. That too is YOUR responsibillity, not ours. It's YOUR task to show to your examination committee that you're capable of doing the job, not that you're capable of tricking others into doing your job for you.

Member Avatar for ithelp
0
149
Member Avatar for nare_splen

says it all. A 54KB JSP is WAY too large. ANY method in Java can contain at most 64KB of code. Your entire 54KB JSP ends up as part of a single method, expanded into Java code. That's going to be one massive method, most likely several hundred KB of …

Member Avatar for jwenting
0
88
Member Avatar for ArashKaviani

there are tons of books out there, and Oracle runs a very good education department where you can get professional training.

Member Avatar for jwenting
0
188
Member Avatar for steven01

I'd say there's a big distinction between the webmaster, the web developer, the content provider, the editor, and all other roles for most non-trivial websites. As the site grows the webmaster will more and more have a supervisory role as a manager with business responsibility rather than being actively involved …

Member Avatar for jeffpaul
0
231
Member Avatar for jimJohnson

"I was sick the day on our review for this programming assignment so I am in kind of a dillema with a jerk for a professor..." Bad attitude. You're "professor" (more likely a highschool teacher if that) is no jerk. You're mistaken if you think he's going to allow you …

Member Avatar for jimJohnson
0
185
Member Avatar for isthikar

and another lazy kid who can't think for itself asks the exact question a thousand other lazy kids have asked before just in the last few months. No kiddo, we're not going to do your thinking for you. Show some initiative, show that you can think for yourself and do …

Member Avatar for hammerhead
0
108
Member Avatar for ultimate_fusion

that is likely not what was intended, as it shows a separate messagebox for each element of the array :) better would be something like [code] StringBuilder builder = new StringBuilder(p.length); for (int i=0;i<p.length;builder.append(p[i++])) builder.append("\n"); JOptionPane.showMessageDialog(null, builder.toString(), "Printing results", JOptionPane.INFORMATION_MESSAGE); [/code] this will put each element of the array onto …

Member Avatar for franchav
0
3K
Member Avatar for reena22

in other words you want to steal someone's code and turn it in as your own for some school project. No candy for you, cheater.

Member Avatar for reena22
0
109
Member Avatar for joshmo

operating system design is a specialist discipline that's taught in advanced university courses. Search Amazon for books about it, you're not going to shake an entire operating system out of your baseball cap in a few days, weeks, or even months. And don't think a PDA is "simple", it's not.

Member Avatar for hammerhead
0
66
Member Avatar for joytech22

Halo 2 was released for Vista only (and XBox 360 of course). I've heard some people got it to work on XP, but never tried to find out how. Couldn't care less about the entire genre of first person shooters, but I'm sure you could find out how if you …

Member Avatar for jwenting
0
76
Member Avatar for beatlea

[QUOTE=beatlea;588201]This is what I get now :( 'Exception in thread "main" java.lang.ClassCastException: AQueue cannot be cast to java.util.ArrayList' I can cast it to FIFO, which is my interface, and retrieve it to a FIFO type object, but this won't give me all the methods I need :([/QUOTE] Too bad. You …

Member Avatar for beatlea
0
173
Member Avatar for DickLaurent

well, quite obviously there's something wrong with your code that causes your braces to NOT line up correctly. So fix your code.

Member Avatar for DickLaurent
0
142
Member Avatar for brr

now analyse what you wrote and translate it into correct English. When you've done that come back and try again. What you wrote there is impossible to comprehend.

Member Avatar for jwenting
0
91
Member Avatar for Bridget23

had you gotten that degree instead of harassing people with degrees and worthwhile jobs in your capacity as a union person you'd not have been in the situation where you are now. Your fault, your choice. Don't expect us to show you any diploma mills where you can buy a …

Member Avatar for davidsmith
-1
193
Member Avatar for Vach

that time of month again, when the next batch of lazy idiot kids comes in and floods forums with requests for people to think up their "final year project idea"? Show some initiative, think for yourself. Or at the very least search here and elsewhere where other lazy idiot kids …

Member Avatar for jasimp
0
93
Member Avatar for chandanapapa

[QUOTE=javaAddict;586086]You could use the time in millis and take the last digit: System.currentMillis(); if I remember correct the method.[/QUOTE] that would be using "any API". In fact the mere act of creating a class has you using "any API".

Member Avatar for jwenting
0
106
Member Avatar for chicago1985
Member Avatar for Samudricka
Member Avatar for Trogan

So you've made a serious error in your datamodel. Apparently a record in the invoice table does not represent an invoice but a line item. Redesign your database to match that, with a new invoice table containing only items that are not repeated (like the invoice number), and a lineitem …

Member Avatar for jinternalframe
0
145
Member Avatar for Jcw69

"it doesn't work" isn't going to cut it. You'll need to tell us WHAT doesn't work, and why.

Member Avatar for jwenting
0
91
Member Avatar for genji

no, we don't help little whining kids who insist on doing bad things like putting Java code inside JSP. If you want to access a database, use a servlet.

Member Avatar for jwenting
0
90
Member Avatar for gehher
Member Avatar for WalkmanXD
Member Avatar for jwenting
0
248
Member Avatar for duongkhangth2

Read up on JDBC. Sun has a decent tutorial and I'm sure the JDBC driver for mySQL comes with documentation as well.

Member Avatar for jwenting
0
68
Member Avatar for Beryl

idiot. The answer has already been given and it's not what you say (as usual, you're wrong in everything you say).

Member Avatar for jwenting
0
97
Member Avatar for tte

redirect works, forward won't work. But of course the HTTP session does NOT get shared. And quite possibly you'll need to make sure you're working with POST requests so and change the request parameters to request attributes. Remember that nothing except what ends up in the http request gets send …

Member Avatar for jwenting
0
143
Member Avatar for Ankita B

request.getParameter works just fine. You shouldn't use it of course as you should NEVER use any Java code on a JSP, but it does work.

Member Avatar for jwenting
0
1K
Member Avatar for lasher511

[QUOTE=Google Spider;583109]He got a LOT of myspace passwords, but then he got scared of the law and stopped doing that before he could get into trouble.[/QUOTE] He should have changed all those passwords and reported those kids to their schools giving the accounts and passwords as evidence :)

Member Avatar for jbennet
0
190
Member Avatar for shaikh_mshariq
Member Avatar for jwenting
0
135
Member Avatar for DavidB

[QUOTE=kylethedarkn;584979]Is it really that much better than HD DVDs? I mean I look at the displays in the stores and compare the two and there is barely a difference if any.[/QUOTE] HD DVD has been abandoned. But no, BluRay is no better. It just had more money behind it, Sony …

Member Avatar for kylethedarkn
0
143
Member Avatar for cppsevennine
Member Avatar for Bobbiegirl

yes, you have a syntax error in your SQL which is why Oracle doesn't understand it. Most likely it's a missing or superfluous brace somewhere.

Member Avatar for Bobbiegirl
0
168
Member Avatar for msnider9

not going to read reams of unformatted code. The error message tells you pretty much exactly what's the problem anyway, though sometimes it can be misleading and instead indicating at something wrong at an earlier stage like a bad or missing bracket.

Member Avatar for KimJack
0
91
Member Avatar for supertbone
Member Avatar for kelvin_b

the main method in Java is defined as being static, so change your method signature to reflect that.

Member Avatar for Ezzaral
0
91
Member Avatar for null_guy

You might want to learn basic Java syntax before you start messing with network programming. The Java tutorial (which can be found on Sun's Java site) explains things nicely, or get yourself an introductory text into the language like "Head First Java".

Member Avatar for null_guy
0
115
Member Avatar for l2u

you can't use primitives as elements in a Collection. Nor can you use arrays. So you use Integer instead of int.

Member Avatar for bugmenot
0
215
Member Avatar for Taker

and? What's stopping you? Laziness maybe, too busy playing games to do your homework? Too lazy too apparently to read the posting rules...

Member Avatar for Taker
-1
90
Member Avatar for The Dude

I did better. Understanding immediately the writer's intent to make American Christians look like oppressors, terrorists, and other radicals, I selected the Christian for every answer. that yields 11 correct answers.

Member Avatar for Drezta
0
60
Member Avatar for zaigtahir

there are quite a few Java based forum applications, at least 2 blogging engines, numerous IRC applets, several wiki engines, etc. etc. What you need is an understanding of the technology as well as what you're writing. There's nothing special about writing forum software. It's the same as any other …

Member Avatar for zaigtahir
0
72
Member Avatar for steven woodman

The Linux fanboyz have been saying that they're going to take over the world and that Linux is a viable alternative for everyday use for everyone for a decade at least. They've been proven false for all that time, and I'm not going to start believing them. Same as today's …

Member Avatar for jbennet
0
158
Member Avatar for The Dude

I ALWAYS tuck in my shirt, but then I almost always wear dress shirts :) I sometimes wear company T-shirts, but only ones with subdued colours and logos. I've had a moustache for the last 20 years, I'm not going to stop now. My fingernails will get dirty within minutes …

Member Avatar for jbennet
0
71
Member Avatar for The Dude

[QUOTE=Ancient Dragon;583326]you should have had another category: [b]All the above[/b] :)[/QUOTE] No, another "I hate fairs/carnivals and will go elsewhere just to avoid them".

Member Avatar for jwenting
0
45
Member Avatar for swetha bandaru

not that it'll do you much good... You're throwing away both the error and output streams :)

Member Avatar for jwenting
0
112
Member Avatar for sorter

Cookies are easy as well as tasty. But you shouldn't use Java code in a JSP, so we're not going to help you do that.

Member Avatar for jwenting
0
94

The End.