5,727 Posted Topics

Member Avatar for zychew

The problem is not the firewall, the problem is your attitude of making your computer wide open to the world.

Member Avatar for JemB
0
80
Member Avatar for Latent

you start by writing down how to do it, not by having someone else do it for you. No compiler or code editor required, use pen and paper and write it out in normal English (or your own language). Then start thinking of what language constructs would best map your …

Member Avatar for jwenting
0
162
Member Avatar for winbatch
Member Avatar for jwenting
0
256
Member Avatar for warriorone357

Scanner is new in JDK 5.0. Netbeans 3.x is seriously outdated, won't know about it.

Member Avatar for jwenting
0
78
Member Avatar for shahnazurs
Member Avatar for Sheki RDH

by learning how things work instead of hoping that some IDE will do it all for you. Study the Swing path of the Java tutorial and you should be able to figure it out for yourself, and learn a lot more besides.

Member Avatar for jwenting
0
66
Member Avatar for hemanthjava
Member Avatar for jwenting
0
1K
Member Avatar for lilyve

kids like this are the main reason I stopped gaming online and went back to nearly exclusively battling it out with the computer.

Member Avatar for alc6379
0
166
Member Avatar for teman_siber

not urgent. bad idea. intercept the datastream coming in from the client, save it into a byte array, and store that into a BLOB in the database.

Member Avatar for jwenting
0
81
Member Avatar for freesoft_2000
Re: Html

rtf wouldn't understand html tags, instead consider them to be normal flat text (unless a specific html tag would happen to also be an rtf tag (in which case it would almost certainly be something completely different) in which case you'd likely end up with corrupted rtf. The rtf editor …

Member Avatar for jwenting
0
103
Member Avatar for freesoft_2000

the full source code of production releases of the core API is included in the distribution. AFAIK the same is true for beta releases. The full source of the JDK is also available online from the JCP, but do read the license. You will NOT be allowed to distribute any …

Member Avatar for jwenting
0
93
Member Avatar for psodhi

do your own homework. This is so basic you should be able to do it with a few hours of instruction.

Member Avatar for iamthwee
0
105
Member Avatar for atul_manaskar

Post the relevant parts of your code. Sounds like you are forgetting to flush some buffers.

Member Avatar for DMR
0
766
Member Avatar for paul221

probably a classic case of not adding the current directory to the classpath. "java -cp . myprogram" should do the trick until you learn to use proper naming conventions for your classes and members.

Member Avatar for InNeedOfHelp
0
157
Member Avatar for indianscorpion2

and put in the correct jdbc URI. The example used a mySQL database as an example, and of course a different database name and machine. See the documentation (which you should have, it's available from Oracle and I think comes with the driver) for the details.

Member Avatar for jwenting
0
222
Member Avatar for hiten_1984

If you're using Turbo C you will never get anything using C++ style stream IO to compile. If you're using Turbo C++ you won't likely get it to work either as it implements the old AT&T C++ definition which is (in places) quite different from the current ISO standard. The …

Member Avatar for hiten_1984
0
130
Member Avatar for Cole

I have over the past 20 years that I've been programming (half of that professionally) learned and used something like 20 programming languages (not counting languages I can read but not write). There's no reason to restrict yourself to a single language, in fact it's counterproductive. Learn different languages, and …

Member Avatar for jwenting
0
195
Member Avatar for AhmedHan

Install the Win32 platform SDK, and link in OpenGl32.lib I don't think you need to do anything else.

Member Avatar for jwenting
0
254
Member Avatar for hak

nothing wrong with old tutorials, they teach the core instead of getting sidetracked into fancy new additions... Why include XP skinning into a tutorial teaching introductory Win32 programming for example...

Member Avatar for bumsfeld
0
202
Member Avatar for theroe

[code]JButton clickMe = new JButton("Click Me!");[/code] After that all you have to do is map the actionevent from the buttonclick to a method that reads out the screen, generates an email using JavaMail, and sends it off. See any Swing tutorial for the first part, and the JavaMail docs for …

Member Avatar for theroe
0
89
Member Avatar for 3x108th

so parameterise the whole thing to take a number n instead of using a fixed number of iterations...

Member Avatar for masijade
0
192
Member Avatar for peter_budo

and there's only 3 things women like: shopping, watching Oprah, and pissing off men...

Member Avatar for Jorjapeech
0
86
Member Avatar for sam1

it will work on any CPU as long as there's a version for the operating system you're using.

Member Avatar for sam1
0
76
Member Avatar for radixthink

congratulations. That's just about the highest number of buzzwords I've ever seen in a single job description.

Member Avatar for iamthwee
0
235
Member Avatar for reezin14

Certs no longer get you a job, there are so many useless ones that they're no longer a sign of excellence. What SOME certs will do is get you a foot in the door, get your CV past that first screening in which all the obvious crap is thrown in …

Member Avatar for J_Kay
0
499
Member Avatar for jigvesh

You can save anything you want. It's just a bag o'bytes on the disk (or whatever storage medium you're using) after all. Just use the correct stream classes (things like ByteArrayOutputStream) and set the file flags correctly (you may want a RandomAccessFile).

Member Avatar for jwenting
0
193
Member Avatar for iamthwee

[quote]she said it shud b easier.[/quote] I doubt she said that, teachers are not known for using crappy text messaging shorthand when speaking to their pupils. [quote]Here is wat i gotta do in my next assinement.[/quote] So go out and do it. By just posting it here and waiting for …

Member Avatar for G-Do
0
209
Member Avatar for visual one

you can't use any of the standard List classes for that. There's a SortedSet which you could use but it isn't a List. Either use another style of Collection or write your own SortedList which I've actually done about 2 years ago, took me only a few hours. Can't give …

Member Avatar for jwenting
0
165
Member Avatar for k_en

check the documentation of the jar command. If you insist on using an IDE to prevent you from learning the language and its tools use its documentation as well.

Member Avatar for jwenting
0
148
Member Avatar for Frank0051

setSize has little effect for most controls, it's mainly there to enable resizing of entire windows (and might have been better implemented at a different level in the class hierarchy), you're not supposed to control the size in pixels of user interface controls in Java as they're controlled by the …

Member Avatar for jwenting
0
190
Member Avatar for rich_m

yes, and currently working on the next one. [url]http://www.sun.com/training/catalog/courses/CX-310-252A.xml[/url]

Member Avatar for rich_m
0
88
Member Avatar for hemanthjava

Contact BEA Systems to buy the product if you didn't do so and want to use it. Or just follow the installation instructions correctly if you have bought it and have a license file to install.

Member Avatar for jwenting
0
104
Member Avatar for war_criminal

rather cold and inpersonal don't you think, sending her a text message instead of telling her in person after you give her a kiss (some flowers also do wonders)?

Member Avatar for jwenting
0
125
Member Avatar for murschech

Borland C++ 5.4 (which ships with BCB4) and 5.5.1 both indeed allow it (both are 6-8 years old by now). Don't have any others installed here at the moment (VC++ 2005 will go onto this machine in about 2 weeks). You're indeed most likely getting namespace clashes. Remove the using …

Member Avatar for jwenting
0
105
Member Avatar for startingover
Member Avatar for Java4u
0
127
Member Avatar for javafan

the JVM determines component spacing and sizing at runtime. It's pretty much out of your hands.

Member Avatar for jwenting
0
147
Member Avatar for ROGENATOR

as long as a class is on the classpath java can find it. In your scenario your class isn't on the classpath.

Member Avatar for jwenting
0
111
Member Avatar for yup

think about what you're doing there. Each time the page is loaded you first get the data from the database and then write it back. That can't be what you're trying to do. Then you're intending to write back what the user put into the webform, but you're never retrieving …

Member Avatar for ekstee
0
231
Member Avatar for visual one
Member Avatar for jwenting
0
166
Member Avatar for rahulgupta1979
Member Avatar for jwenting
0
1K
Member Avatar for Yuribokovich221

no, the best way is for you to think about your problems yourself. If you're too lazy to even try to explain what is going wrong why should anyone go to the effort (especially unpaid) to analyse your problems for you?

Member Avatar for jwenting
0
100
Member Avatar for Nurul Dee
Member Avatar for Nedals
0
361
Member Avatar for mydadisadentist

if your dad's a dentist he can afford to pay for such a program. He can also afford a teacher to teach you proper English.

Member Avatar for WolfPack
0
162
Member Avatar for visual one

Compiling that code yields something like a hundred compiler errors. Start at the top of the list and resolve them one by one.

Member Avatar for jwenting
0
156
Member Avatar for freesoft_2000

You should have no problem, assuming the other box has the classfile on its classpath of course.

Member Avatar for jwenting
0
108
Member Avatar for nimero

it's actually quite easy to code, certainly everything except the display should be a piece of cake.

Member Avatar for jwenting
0
140
Member Avatar for Kiba Ookami

Game development will burn you out very quickly. Game companies hire very young people fresh out of college and university for a reason, and that's because experienced people aren't going to work themselves to death (sometimes literally) for a rather meagre salary. Expect 12 hour work days as standard, getting …

Member Avatar for gtsincorp
0
271
Member Avatar for Banshee78

what variable 'nickname' are you trying to output? JSTL will use any named attribute from the pagecontext, not something you created in a Java block on the JSP (in fact you should avoid those like the plague).

Member Avatar for jwenting
0
306
Member Avatar for ROGENATOR

add the compiler flags "-source 1.4 -target 1.4" (without the quotes) when compiling and your 1.5 compiler will behave like it was a 1.4 compiler and spit out classfiles for 1.4 runtimes.

Member Avatar for ROGENATOR
0
103
Member Avatar for sosy2001

use STL instead, this is a job for vector. Stroustrup himself advises against using arrays whereever STL can be used instead.

Member Avatar for sosy2001
0
183

The End.