Jonathan Steel

Greenhorn
+ Follow
since Jan 26, 2005
Merit badge: grant badges
For More
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 Jonathan Steel

Does anybody know of a Java Library for doing html validation similar to http://validator.w3.org/. I know I can grab the source from the w3c one and then write my own library to call it, but if I don't have to...

Thanks
13 years ago
Gotcha. I cant take that route though because Im actually using the buffer to store the information about my game world. Strange, I know. Im doing this because there will be debris all over the screen not very easily represented by any data structures due to the operations ill be performing on them. I want to know the colour of a pixel to use for collision detection.
18 years ago
Thanks for the reply.

I guess ill have to go the back buffer route then. I had hoped i could circumvent that option because Im trying to make a 4K game and this approach is sure to eat up some precious bytes.
18 years ago
Hi

Im trying to figure out how you can determine the colour of a pixel in the buffer of a JPanel.
18 years ago
Im trying to automate SQL commands via SQL Plus to compile an SQL file. I can launch the program but then the input is not received from the batch file. Is there a way to do this?

Thanks
18 years ago
I agree with 2 of the above. Abstain from television and try about 30 minutes of meditation a day. Its really easy. Just read up a little bit about it and figure out what style works for you.
18 years ago
I want to buy a new computer and i cant decide between these two options.

For $175 I can get either...

2GB DDR 400 RAM instead of 1GB DDR PC3200

OR

AMD A64 3800+ Dual Core instead of AMD A64 3500+

For gaming whats gonna give me the most bang for my buck?
18 years ago
When I run the code below everything works as it should when a parameter is passed. But if no parameter is passed then the message box is displayed, I press ok, and then nothing happens. The program continues to run.

public static void main(String[] args) {
if (args.length == 1) {
CImageViewerDispatch ivd = new CImageViewerDispatch(args[0]);
}
else {
JOptionPane.showMessageDialog(null, "Wrong number of arguments in program parameter list");
}

return;
}

Do i need to release the message box from memory or something?
19 years ago
You will probably need to make a server side application that communicates with your program. For more information goto:
web page
19 years ago
I need to make an application that opens a pdf without opening a new window. I can't buy any third party software. I figure the only way I'm going to get away with it is to open Adobe as a Child form of my appliations main form. It would be less desirable but acceptable if I implement the program as an applet, and the applet causes internet explorer to display the PDF. I dont know if either of these option are possible. Anybody? Or is this just a lost cause and I can only open Acrobat in a new window? If that is the case I know how using Runtime.exec but how can I close Acrobat when my program closes?

Thanks
19 years ago
Thanks again.

I knew you could pass an array but figured there might be a better way. Im only using 1.4.2 so that will have to do, and that leads me into another question.

I'm a coop student working at a rather, extra large company and I was confused by the answer I got when I asked them why they arent using 1.5? Are there many differences in 1.5?
19 years ago
I know there is a way in c++ to have infinite parameters (can't remember what thats called), is there a way to do this is java as well?

What I'm trying to do is write a sorting algorithm to sort a table where the optional paramaters are the secondary, tertiarty... sort columns.

Thanks
19 years ago
My applet needs to read information from a network file but this file must not remain open so first I copy it to a new file and then read that one. This works fine when I run it from JBuilder, but when I launch it from IE it gives me the error java.security.AccessControlException:access denied(java.io.FilePermission p:\... write). Im opening the source file with a FileInputStream, not requesting write permission. So why do I get this error and how do I get around it.

Thanks
19 years ago