server_crash 64 Postaholic

Now it's official; I bought a 12 game ticket pack for two. First game I'm going to is against Toronto on Oct. 10th. Can't wait!!!

It's been a long time since there has had so many changes not only in the rules but mostly the players. The rosters especially Philadelphia's have already changed a lot and it's not done yet! You know we were talking about Prusek earlier, he's signed with Columbus, oh well, we have Emery. You probably don't know him much but you will in a year or two.

Dude, this season will be awesome. I'm glad the lockout happend now. All of these big players moving will make it more popular and more enjoyable to watch. I think philly came out will a killer deal somehow. They got Hatcher, a few other greate defenders, and forseberg now. I think it was wrong to get rid of JR though. Forseberg is not reliable enough since he's injured most of the season, and he's a western style player. Philly will be the stanley cup champs, and that's a fact. I'm hoping columbus will turn out a better team with prusek and then all star defenceman adam foote on there(not to forget rick nash). I'm simply amazed at all the deals, and can't wait for hockey now. This will definately be the best year hockeys ever had, and probably the most competitive one at that.

server_crash 64 Postaholic

thanks.

server_crash, I was looking at your site and wondering how you make your programs executable. Thanks again.

You can't. You can run the applets but they will only be run from my webserver. I'm trying to sell them(fat chance!) so right now it requires you to contact me about them.

By the way, how did you change your name?

server_crash 64 Postaholic

1) not quite. Static methods don't share any object instance. Rather they don't have access to the object instances at all.

I swear I use to know this! I'm glad you're hear, or else I would be making people more dumb.

server_crash 64 Postaholic

I teach an Intro to Java course at a University, and often assign a mortgage applet once we learn how to do text fields, etc. Thats by far the best mortgage applet I've ever seen. Even on Bank websites!!

Very good.

Jeff

Thanks! I really appreciate the kind reply. It's good to know it's better than most you've seen! My goal was to make the best mortgage calculator on the internet, but I think there are a few that beat me, or at least come close.

server_crash 64 Postaholic

I've already figured it out. I programmaticaly made it to were people could only use the program from my website.

server_crash 64 Postaholic

Change the batteries. The only other thing I can think of, is maybe you aren't letting a process finish when it's connect to the usb?

server_crash 64 Postaholic

I just started a forum a few days ago. Don't have any members yet, but I'm working on it. I just don't like pressuring people into moving to my forum. I mean, I wish it was easier for them to find by themselfs rather than me having to annoy them with invitations.

server_crash 64 Postaholic

What exactly do you expect from java?

server_crash 64 Postaholic

PixelGrabber will make it easier. You don't have to follow that route, but I think any other way would be more complicated than what it's worth.

server_crash 64 Postaholic

The first question, where to usestatic methods in applets:

1) Not very often. It's not advisable for newcomers to start using static methods right away, because they're normally used in the wrong context. Static methods only share one object. If you have ten instances of one static method, they all share the same object.

2) You have your second question correct. You DON'T HAVE to do this, but it's good programming practice.

server_crash 64 Postaholic

No, it doesn't.
Yahoo! has a contract with Google to provide part of their search results (probably certain categories), but that contract is set to expire.
They have their own engine as well, which has been under active development in the past (maybe they subcontracted to Google in order to have the time to improve upon it).

Yeah, Yeah. That's what I heard. I just couldn't remember right.

server_crash 64 Postaholic

Why not try them both yourself? It doesn't hurt to have two different browser brands on your computer and one as the default.

server_crash 64 Postaholic

Wait, so which one in that picture is actually the planet they are talking about? Is it the actual planet you see, or is it the bright dot? I was thinking it was the bright dot, but I'm probably wrong.

server_crash 64 Postaholic

What happened to the 'planet' smiley that was discovered in the 90s? Did that turn out to be a moon?

I also don't get why they do these perfect computer generated images that probably don't look much like the planet. Let's see what they see through the telescope! Maybe I'll search for some photos.

Same thoughts here. They got a nice pic of pluto but the pic of the planet looks like a nice photoshop edit with the pretty halo around it. I would like to see it up close.

server_crash 64 Postaholic

That's not a bad idea at all! I mean, they could really gain from that. Cool article by the way.

server_crash 64 Postaholic

I'm not sure if this is true or not, but I thought yahoo ran on google search.

server_crash 64 Postaholic

I thought it was a lot of bit flipping and crap like that involved. I doubt just one person can write a full fledged photoshop by themeself.

server_crash 64 Postaholic

It never throws the exception?

server_crash 64 Postaholic

That is EXCELLENT! I didn't expect to get so much help! Right now I don't have much time, but as soon as I get time, I'll be changing the textfields. That's one thing I really didn't like about it. I tried to error proof it as much as I could, but that just complicated it even more. If you have any more suggestios, PLEASE post them.

Thanks, I really appreciate the time you just took.

server_crash 64 Postaholic

I know I posted this in the java forum, but I would like to get opinions from people outside of the java forum. Please take a look at this java program, and let me know what you think of it:

http://wizardsolutionsusa.com/MortgageApplet/MortgageApplet.html

server_crash 64 Postaholic

Please take a look at this link, and let me know what you think of it. If you have any problems with it, I really want to hear about them:

http://wizardsolutionsusa.com/MortgageApplet/MortgageApplet.html

server_crash 64 Postaholic

I would do it like this:

When the user clicks that button, a thread is started. That thread create the movement of the car, and will continuously move the car untill the button is clicked again. You would have to set a flag to know whether it should start, or stop. In the threads run() method, you could make it move, sleep for a second, then repeat the move, sleep for a second, and so forth. I think that's best way to do it. I don't like the idea of it just moving everytime you click the button, I think you can do better than that!

Need more help, let me know.

server_crash 64 Postaholic

Java is a tough language to learn, but so is everything else. It's tuff because it takes so much persistance and time to learn. Not many people have the patience and "want to" to sit down, read, practice programming very small crap programs for years and years to get good. That is why most people drop it. They want to read 10 pages, sit down and write everything in office xp better than it is. The bottom line: programming takes time, persistance, a lot of work, a lot of help, and a lot of reading. You can't escape those, and if you think you can, quit now.

server_crash 64 Postaholic

getDocumentBase() is one thing, but I was really thinking of something else (maybe in combination with that).
Let your applet contact your server (which of course is the only one it's allowed to talk with by the sandbox) and get the really sensitive stuff using and RMI or socket connection to a process running there either as a standalone application or as a servlet.

That way the sensitive code is never deployed with the servlet so the thief (if any) will have to write that all himself.

If you then make sure only authorised IP addresses can connect to your server you also have a nice subscription based service in place almost for free.

Thanks, that's an excellent idea. I'm looking into getting a new webhost since the one I have doesn't support java. But I can't afford very much. I'm paying for a host that's 1.95$ right now, and that's about all I can afford. I think I just might set everything up before switching.

server_crash 64 Postaholic

Either you haven't got the case sensitivity right as the person above suggested, or the jvm/jre is not looking in the right directory. I would think it's the first.

server_crash 64 Postaholic

Debugging 101: Put some system.out.println()'s throughout the actionPerformed() method, and all methods it calls. check to make sure all variables have the proper values, and that it even enters certain methods.

By the way, what are you doing with these lines:

Numtemp = displayN.getText();

Base = displayB.getText();


If those are used in the coorisponding methods called, I would suggest passing them as parameters instead.

server_crash 64 Postaholic

Thanks for the reply Richard. I'll be posting a link as soon as I can get something fixed. It's very nice, but you won't understand untill you see it!

It's like J said, there's really nothing I can do, and it's a lot of trouble to decompile and stuff like that, so I've come up with a new solution:


getDocumentBase() method of the applet class allows you to see where it's placed. So, I was thinking that I could check to make sure it's running from my website, otherwise, it would not run. That still leaves the option of decompilation, but I think that's just a measure that I'll have to not worry about.

I will show it to you guys, but it will be about a day or two.

server_crash 64 Postaholic

I think that was posted from some text editor with extra formating. Normally, when you do something like that, it produces the output of what he just posted.

server_crash 64 Postaholic

What makes your code so brilliant that people will actually want to decompile and crack it?).

It's not that. This program has great value to ME. I will be selling it, and if I can ever figure this out, I can show it to you and you will understand a bit better. Some fellow is selling the same thing(not quit as good as mine) for 175$, and if I'm going to sell it, I don't want people just to get it for free. Someone told me this:

"you can use the applets getDocumentBase() method to see if a user downloaded the class file....But what then? Is there something you can do to them if they download it? Is that correct about getDocumentBase()?

server_crash 64 Postaholic

Ok, it's like this:

I can't have any class file downloaded from my website, for personal reasons.

A user could view the applet like this:

applet.html

then change the url easily to this:

applet.class

and have my program that easy.

Is there way I can secure this somehow???

server_crash 64 Postaholic

Hmm, wonder if that's just an undiscovered moon of another planet...

server_crash 64 Postaholic

no, of course not.
Any software running on a machine needs to be installed by someone who has a right to do so.

If that weren't the case the security implications would be enormous.
Of course if you have an account on that machine you might install it using an ssh connection, but if the machine is properly configured it should be inaccessible to the outside world as the firewall would block requests to it.

Oh geez, this breaks my heart. Say on my webserver they have a spot for cgi scripts, is it possible they are running something that will run jsps and servlets?

server_crash 64 Postaholic

Where's your work and why are you posting in someone elses thread?

server_crash 64 Postaholic

Here's a few pictures with quotes. None of yours is missing anything except one, and I got a pic of that one.

server_crash 64 Postaholic

You can't. It needs to be installed there for your use by the server administrator.

That makes me want to scream. Is there another server/container you can put on a webserver yourself?

server_crash 64 Postaholic

phpbb is what I'm using right now.

server_crash 64 Postaholic

Is there a really simple mod out there for creating subforums? Specifically for 2.0.16

server_crash 64 Postaholic

To be frank Java is not a language everyone runs to.
It is because if it is C/C++ you just need to study the basics you can increase your knowledge through the net etc
whether graphics or any other connected field where c/c++ is used.
core java is useless unless you specialize in something.
like networking imaging application develppment.
java is such a big field
a person cannot be a guru in it unless he has that much years experience or has tried his hands in variety programming areas of java.
there will always be something a java person does not know.
another thing is most schools and colleges still give prominence to c/c++ though i feel that trend is changing now
which is why people in java are hard to find
this is just my opinion though

I think it's just the opposite. Also, schools and universites have switched from teaching most programming class in C++ to Java.

server_crash 64 Postaholic

First of all, if this is not the right place, please move it.

I was wondering if it was possible to put a file(lets say a java class file) in a seperate directory where no one can access it, but make it still show up on an HTML document. Is the public html directory protected enough that they can't access files?

server_crash 64 Postaholic

I know how to run tomcat on MY computer, I just click the start button. My question is, how can I upload tomcat to a webserver and make it run forever(or at least until I click stop).

server_crash 64 Postaholic

Thanks. I found it. I guess I should have googled first because it wasn't hard to find! It looks pretty sweet though. I'm not sure I understand the Level thing though, but I'll go through a tutorial soon I think.

server_crash 64 Postaholic

Sounds like a neat problem to do. We aren't allowed to give anyone homework help unless they show some effort. If you do, we will be more than happy to help out. In the mean time, look up synchronizing threads. I've done a problem similar to this where two people share a bank account, so if you show a little effort I can surely help you.

server_crash 64 Postaholic

No no, I can see your name and everything. But in one of your posts this was missing:

"Hi everyone".. I know you always put it there, so I'm guessing it's just a mistake. I can see your name and stuff at the bottom. If you like, I can take a screenshot of what I have.

server_crash 64 Postaholic

Nope. I always see your name and your beginning salutation. Altought, I didn't see the salutation this time...But I think you just forgot it. Your name is there though.

server_crash 64 Postaholic

Hi everyone,

It does not work because of what you did above

This is the correct way

if(a[k] == 'a')

You have to use double equal signs. Change the rest as i listed in the above example

Yours Sincerely

Richard West

:eek: I would have never caught that. One of the hardest mistakes to spot.

server_crash 64 Postaholic

Hi everyone,

server_crash is it my browser or is it everyone's post seems to be cut of at the end. Please let me know so maybe i can let dani about it

Richard West

Not any changes here. If your missing something or can't see something, let me know what exactly it is, so I can let you know if it's missing on my part too. But everything seems normal here.

server_crash 64 Postaholic

I finally remembered the sites name that I usually get walls from:

themexp.org

It has some good ones, but normally a search is involved if you want to find one with quality.

server_crash 64 Postaholic

I hate to detour people away from the java forum, but if you posted in the javascript forum, you could probably find exactly what your looking for. Even though the names sound alike, javascript is completely different from java.

server_crash 64 Postaholic

I generally use x.toString, but x + "" would work also.

Mike, by now you should know that I am lazy. Typing x+"" is less work than typing x.toString().

server_crash 64 Postaholic

Is there a way to actually log the exceptions?? Not just for the one time the program is run, but for the whole life of the application??