Search Results

Showing results 1 to 40 of 148
Search took 0.04 seconds.
Search: Posts Made By: jwenting ; Forum: Java and child forums
Forum: Java Sep 7th, 2008
Replies: 6
Views: 1,764
Posted By jwenting
guess what, you never fill the array from which the dropdown is filled...
Forum: Java Sep 7th, 2008
Replies: 6
Views: 1,764
Posted By jwenting
What exactly "isn't happening"?
Check the generated html. Is the data there but isn't it shown?
If it is your html generation is at fault. If it isn't, you are almost certainly having an error in a...
Forum: Java Aug 28th, 2008
Replies: 4
Views: 1,266
Posted By jwenting
they shouldn't, but that doesn't mean they don't...
It all depends on how the website was programmed.
Forum: Java Aug 17th, 2008
Replies: 7
Views: 1,340
Posted By jwenting
you never add the menubar to the window...
Forum: Java Aug 16th, 2008
Replies: 5
Views: 1,236
Posted By jwenting
The garbage collector is very smart. There's hardly ever a need to use the provided commands to SUGGEST it runs.
If you think you need to, you almost certainly have an error somewhere in your code...
Forum: Java Jun 21st, 2008
Replies: 12
Views: 2,094
Posted By jwenting
That's his worst problem, but not the immediate one.
The immediate one is failing to take into consideration the requirement to add the application classes to the classpath he uses to attempt to run...
Forum: Java Jun 21st, 2008
Replies: 4
Solved: java to VB .NET
Views: 871
Posted By jwenting
VB is a mess. In fact anything that mixes display logic with business logic is a mess...
At least in Java you will be eased into doing things the right way, in VB that's almost impossible.
Forum: Java Jun 20th, 2008
Replies: 4
Solved: java to VB .NET
Views: 871
Posted By jwenting
write a thesis about why it's irresponsible to use VB for serious software development, and submit that with a C# application :)

There is a pretty decent book "C# for Java programmers" that...
Forum: Java Jun 10th, 2008
Replies: 4
Views: 515
Posted By jwenting
It's also no longer supported, and I think not even Y2K compliant in places.
There is NO reason to use it.
Forum: Java May 18th, 2008
Replies: 12
Views: 1,645
Posted By jwenting
use a regular expression to search for any unwanted characters and return an error if any are found.
Forum: Java May 18th, 2008
Replies: 12
Views: 1,645
Posted By jwenting
do your own input validation. Relying on Exceptions being thrown on bad input is usually not a good idea.
Forum: Java May 12th, 2008
Replies: 8
Views: 1,558
Posted By jwenting
set up a KeyListener to it which refuses to allow anything you don't want.
Forum: Java May 12th, 2008
Replies: 7
Solved: chat program
Views: 4,684
Posted By jwenting
no, we're not going to do your homework for you, thread hijacking homework kiddo.
Forum: Java May 1st, 2008
Replies: 4
Views: 1,869
Posted By jwenting
Learn to interpret compiler errors, if you don't you'll never succeed.
And no, we're not going to guess what "error" you're getting. You tell us and we MAY tell you what it means.
Forum: Java Apr 27th, 2008
Replies: 7
Views: 856
Posted By jwenting
the input will always be a String, as all input from the screen is read as Strings.
And as a single method call will reverse a String, this is really no problem at all :)
Forum: Java Apr 19th, 2008
Replies: 4
Views: 1,592
Posted By jwenting
nope. It was all that needed to be said.
Forum: Java Apr 19th, 2008
Replies: 4
Views: 1,592
Posted By jwenting
Forum: Java Apr 19th, 2008
Replies: 7
Views: 4,068
Posted By jwenting
if you programmed it correctly it won't be "going all over the place" but following a highly predictable path dictated by it's starting position and energy vector.
So you change those and it will...
Forum: Java Apr 16th, 2008
Replies: 8
Views: 3,808
Posted By jwenting
if you're really spent 2 days searching for an answer to this and haven't found it you're extremely incompetent.
This question must have been asked by kids who don't know what they're doing, how to...
Forum: Java Apr 13th, 2008
Replies: 3
Solved: Sockets
Views: 578
Posted By jwenting
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...
Forum: Java Apr 11th, 2008
Replies: 6
Views: 668
Posted By jwenting
tell us what you think is wrong, and we may tell you whether you're right.
Forum: Java Apr 6th, 2008
Replies: 6
Views: 1,084
Posted By jwenting
In fact every code you write is executed in a thread.
So your code is ALWAYS multithreaded, with threads internal to the JVM running next to it (things like the garbage collector, class loader,...
Forum: Java Apr 6th, 2008
Replies: 6
Views: 1,084
Posted By jwenting
Internally, the JVM has a thread scheduler.
How it works depends on the hardware and operating system architecture it's implemented on (so may differ) but generally it will be preemptive.
Forum: Java Mar 20th, 2008
Replies: 11
Views: 1,149
Posted By jwenting
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.
Forum: Java Mar 16th, 2008
Replies: 3
Views: 1,825
Posted By jwenting
public void actionPerformed(ActionEvent e) {
JFileChooser fileChooser = new JFileChooser(".");
int status = fileChooser.showOpenDialog(screen);
...
Forum: Java Mar 15th, 2008
Replies: 1
Views: 696
Posted By jwenting
nothing, classes aren't synchronised.
Forum: Java Mar 15th, 2008
Replies: 8
Views: 923
Posted By jwenting
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.
Forum: Java Mar 15th, 2008
Replies: 8
Views: 923
Posted By jwenting
and references are always passed by value (unlike pointers in C which can be passed by reference) and cannot be manipulated by something like pointer arithmetic.
Forum: Java Mar 14th, 2008
Replies: 6
Solved: NetBeans
Views: 617
Posted By jwenting
1) read the manual.
2) ditch Notbeans after deciding on reading the manual that it's no better than Eclipse.
3) buy IntelliJ and use the import wizard to import your entire Eclipse project.
Forum: Java Mar 12th, 2008
Replies: 5
Solved: jdbc problem
Views: 693
Posted By jwenting
that would be one resultset per statement, not per connection.
Forum: Java Mar 8th, 2008
Replies: 15
Views: 1,595
Posted By jwenting
no, but if you want to send email apart from through some web interface you will need to have access to some SMTP server which will authenticate you either by your network address or by some other...
Forum: Java Mar 8th, 2008
Replies: 15
Views: 1,595
Posted By jwenting
so you have no smtp server that will allow you to connect to it and serve as your spam relay.
How surprising.
Forum: Java Mar 8th, 2008
Replies: 15
Views: 1,595
Posted By jwenting
Yahoo (as does any self respecting mailserver who doesn't want to be blocked as a spam relay by the entire world) doesn't allow connections by just about anyone.
And a kid from trying to write his...
Forum: Java Mar 7th, 2008
Replies: 17
Views: 1,907
Posted By jwenting
Learn to read and interpret error messages, and learn how to fix them.
We're NOT here to do all your work for you, not now and certainly not forever.
Forum: Java Mar 2nd, 2008
Replies: 7
Views: 11,531
Posted By jwenting
spammer reported.
Forum: Java Feb 22nd, 2008
Replies: 7
Views: 848
Posted By jwenting
no, it's not correct. Read a manual for your operating system.
Forum: Java Feb 22nd, 2008
Replies: 7
Views: 848
Posted By jwenting
classpath problem. Only thing that can lead to that error.
Forum: Java Feb 20th, 2008
Replies: 13
Views: 1,335
Posted By jwenting
MissingCodeTagError, redo from start.
Forum: Java Feb 16th, 2008
Replies: 32
Views: 3,404
Posted By jwenting
at first glance you probably have some missing braces somewhere. Everything points to some things being defined in the wrong scope, causing it to not be visible where you think it is.
Forum: Java Feb 16th, 2008
Replies: 12
Solved: beginner help
Views: 1,442
Posted By jwenting
private void diceRoll() {}
Showing results 1 to 40 of 148

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC