Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!

Donald Wedding

Ranch Hand
+ Follow
since Aug 28, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Donald Wedding

Found an interesting site on data mining (my profession) that also has a lot of java resources on it (my other profession!). Not sure if there are any java jobs, but it does have a complete list of job search engines.
Check out www.data-mining-jobs.com
Also another site that I have been surfing lately is ...
www.justjavajobs.com
Happy hunting.
16 years ago
How long should I work in the Java field before I consider going for my SCJA cert ?
I've already gotten my SCJP and SCJD and am a pretty competent programmer, but going through the posts here it seems to be taking it to the next level! Looks very challenging. What are everybody's opinions on this?
Well, I kept banging my head on this. I took the hints from your posts and I started looking at the characters individually.
I just discovered that one of my " characters was a funny looking " (almost italics looking) I don't know how it happened or how it got there. Heck, my keyboard doesn't even make that character. Anyways, I typed over it and voila, it works.
I wish that I had first tried the "encoding="UTF8" that was suggested. I'm interested to see if that would work.
Thanks for all your help! Your posts put me onto the solution.
17 years ago
Here is my build.xml



c:\ant
Buildfile: build.xml
BUILD FAILED
Error reading project file: Invalid byte 1 of 1-byte UTF-8 sequence.
Total time: 1 second
17 years ago
OK, so what's the best book out there on ANT ?
Which books should I avoid?
17 years ago
I want to compile the source files from one
directory, but have the ".class" files get
output into another directory.
In other words...
I want to compile, using "javac" the file
c:\fred\test.java
But I want the output to go into ...
c:\joe\test.class

What command line options do I use? Right now,
when I compile, the class file goes into
c:\fred\test.class
nomatter what I do.
So confused!
17 years ago
For some reason, I looked at the docs a thousand times and kept overlooking "setIcon".
It worked, of course!
Thanks for the help, I'll go get my eyes
checked now!
17 years ago
I'm writing an application that displays "playing cards". I have gif files for all the cards, such as "aceclubs.gif", "sevendiamonds.gif", etc.
I'm displaying the cards using JLabel like this ...
JLabel fred = new JLabel("hello",
cardImageIcon,
JLabel.CENTER);
(where cardImageIcon is an image icon).
Now, when I press a button, I want to change
the card displayed to a different card.
Can't seem to do it. It seems that Java lets
me change the text (i.e. "hello" to "goodbye")
but won't let me change my image from
"aceofhearts.gif" to "twospades.gif")
If not ImageIcon ... what should I use?
Should I use something other than JLabel?
Thanks!
17 years ago
I called the "help desk" here at work and they were stumped.
Tech Support finally had me reinstall "SERVICE PACK 2" for Microsoft Windows 2000.
Now it works!
Therefore, I must have had a corrupted install file. Hope that helps others in my situation!
By the way, Microsoft has Service Pack 3 out, but our company hasn't officially tested that yet, so they didn't want me to upgrade.
17 years ago
Nope. The AWT code didn't work either. I am getting more and more convinced that this is a bug with Windows 2000.
Anybody heard any bugs that might cause these problems?
17 years ago
The JFrame never even pops up.
I just type
"java Deck"
then I hit the <CR>
then it just sits there. No window pops up. No nothing! I figured it had something to do with no swing in my class path but I don't think that's the problem with this because this version doesn't require swing in the classpath.
17 years ago
Here is my path ... (or at least part of it )
Path=C:\java\j2sdk1.4.1_01\bin;C:\java\j2sdk1.4.1_01\jre\bin; etc.
The java stuff is FIRST in my path. I have all of my java stuff hanging off of a "java" directory.
Here is my program ....

When I run this from the command line( C : ) Prompt ,
it looks like this...
== == == == == == == == == == == ==
c:java Deck
x
== == == == == == == == == == == ==
Assume that the "x"is a blinking curser
which implies that my program is running.
[ edited to preserve formatting using the [code] and [/code] UBB tags -ds ]
[ January 10, 2003: Message edited by: Dirk Schreckmann ]
17 years ago
Help!
I have a new computer with WINDOWS 2000
I just downloaded and installed j2sdk1.4.1_01
I've been away from Java for a while, but near as I can tell, I don't need to have a CLASSPATH to use Swing (am I wrong?).
When a run a simple "Hello World" program, everything is fine.
When I try to run a simple JFrame program with an exit button, then my program hangs. A friend of mine running j2sdk1.4.1_01 on NT 4 has no problems (he also has no CLASSPATH set).
Is there a problem with Windows 2000 that I don't know about?
Help! Please! I'm having Java withdrawls !!!
17 years ago
I have awaited your book for many months. Now that it's out, I am already hearing good (great!) things about it. I'll be purchasing it this week (unless I win the book giveaway).
As for Sybex, I am skeptical that it will be any good. I purchased Philip Heller's book on the "SCJP/SCJD" exam in order to prepare for my "SCJD" certification. I found it next to worthless. He'll not get my business again!
Has anybody who purchased Sybex found an improvement in the quality over the last book?
Count me in!
I can also test in my spare time
18 years ago