Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!

Ashley Tate

Greenhorn
+ Follow
since Nov 10, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
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 Ashley Tate

Originally posted by Peter Crowley:
Ashley,
Do you have any hints to what worked for you, or what didn't? Did they give you any feedback at all?
-Peter Crowley


They don't give you any insight as to their rationale in awarding points for various parts of the project--just your point totals for each area. If you are interested in hearing more about implementation approaches to various parts of the project I suggest you read through some of the problem-specific threads. You will get a far better understanding of the various approaches than I can give you in a quick overview here, and there was certainly nothing novel about my approach (nor is that expected).
Ashley
Hi Everyone,
I originally signed up for the Java 2 Dev cert in February of 2000, but I really didn't have time to work on it until the last few months. Plus it was hard to find the motivation to spend time working on the project rather than learning other new things since I have been coding Java professionally for over 5 years. I stumbled across this forum when I was about 90% finished and the discussions really helped me stop worrying about whether I was taking the "RIGHT" approach in certain areas. Thank you everyone. Here is my score breakdown:
General Considerations(maximum = 58): 54
Documentation(maximum = 20): 15
GUI(maximum = 24): 20
Server(maximum = 53): 51
Ashley
Hi Terry,
First of all you might want to reconsider putting your images in a separate jar file. Is this really necessary? There might be some gee whiz factor in being able to change the look of the application by swapping in a new images.jar file, but ask yourself if this is a real requirement.
Here is sample code for loading an image outside of an Applet:
============================================================
import java.awt.Toolkit;
import java.awt.Image;
import java.net.URL;
...
Toolkit toolkit = Toolkit.getDefaultToolkit();
URL imageURL = this.getClass().getResource("/images/myimage.gif");
Image image = toolkit.createImage(imageURL);
============================================================
Keep in mind that the path you use to access the image file ('/images/myimage.gif' in this example) is relative to the classpath you defined when you started the JVM. So, if you defined your classpath to be:
classpath=C:\developer\images\Images.jar;C:\developer\images\client.jar
and your image was in one of these jar files at '/images/myimage.gif', then the code sample above would load your image.
Ashley Tate

[This message has been edited by Ashley Tate (edited November 10, 2001).]