masijade 1,351 Industrious Poster Team Colleague Featured Poster

The system makes differntiation from an open file handle and an open socket handle. What seems to be happening here is that you are probably making a new socket connection for every communication transaction you are doing and then not closing them properly.

masijade 1,351 Industrious Poster Team Colleague Featured Poster

P.S. Just so you know, I find nothing wrong with your "solution". What I took issue with was your "high-handedness" passing it out based on assumption. Had you simply said "if that posted example is exactly what the result should look like ..." rather than essentially saying "your all idiots" I would not only have not taken issue with it, I would have supported it. But no, you come here, make an assumption, and then, using that assumption you attempt to browbeat everyone else (some of them very good people) into line with your thinking. Sorry, that doesn't fly. I simply pointed out to you that it was an assumption and that the posted example might not be exactly representative of what the OP really needs and outlined the reasons for that. There wasn't even anything confrontational about the post, but you seemingly took it so.

masijade 1,351 Industrious Poster Team Colleague Featured Poster

Well then, let's see how much you have learned using Google. Without thinking of any specific language, what is collision detection and how might it be used in this situation? Where you have a moving object that you don't want to cross certain areas?

IOW, I have told you what it is you need to use to accomplish this feat, and even pointed you to resources to learn something about it, and you don't seem to want to do that. It seems to me as though you want "teh codez". Well, you are not going to get them here.

Designate coordinates that should not be crossed then use collision detection to determine when your "moving" object has reached them. The principle is simple, now start studying.

masijade 1,351 Industrious Poster Team Colleague Featured Poster
masijade 1,351 Industrious Poster Team Colleague Featured Poster

It's called "collision detection".

Zabzacon commented: Very unhelpful +0
masijade 1,351 Industrious Poster Team Colleague Featured Poster

A MouseListener?

masijade 1,351 Industrious Poster Team Colleague Featured Poster
masijade 1,351 Industrious Poster Team Colleague Featured Poster

By typing in a text editor.

masijade 1,351 Industrious Poster Team Colleague Featured Poster

With a text editor.

masijade 1,351 Industrious Poster Team Colleague Featured Poster

Sounds like someone who didn't get a cut-n-paste answer for his homework.

mnmw commented: Mean and Arrogant +0
masijade 1,351 Industrious Poster Team Colleague Featured Poster

That's already been siad, and if you check out the cross-post, it's already been solved, the OP simply hasn't been considerate enough to mark it as such, and, now, probably never will.

masijade 1,351 Industrious Poster Team Colleague Featured Poster

Aside from your croos-post see the API docs for the File class and see if you can combine the length and delete methods.

masijade 1,351 Industrious Poster Team Colleague Featured Poster

Add a single JPanel to the JScrollPane. Use FlowLayout with vertical (or horizontal, depending on which way you want to "scroll") alignment in that JPanel, and add the JPanels that are to be added "dynamically" to that JPanel. Then, don't forget to call validate() and/or repaint() on the JScrollPane.

masijade 1,351 Industrious Poster Team Colleague Featured Poster

Maybe I'll come back to this later. I knew it was going to be this kind of question and I am just not in the mood right now.

masijade 1,351 Industrious Poster Team Colleague Featured Poster

Use an ArrayList rather than an array, and you don't have to worry about all that array manipulation. And as far as "storing" the data, how do you propose to do that with an empty actionPerformed method?

masijade 1,351 Industrious Poster Team Colleague Featured Poster

With a post requet you simple feed the var=value&var=value String through into the output stream.

masijade 1,351 Industrious Poster Team Colleague Featured Poster

Okay guys. I'm sorry. I'll try to control myself. Something about this thread just brought out the worst in me, I guess. ;-)

In any case, OP, give it try, as s.o.s. says, and if you have an actual problem, come back with that. If it's that you're still searching for an idea, search the forum a bit, and you'll see that others have asked for project ideas before, and some of them have actually gotten some constructive answers. I'm sure you'll be able to find something there.

masijade 1,351 Industrious Poster Team Colleague Featured Poster

Another person who doesn't bother to actually read the thread.

masijade 1,351 Industrious Poster Team Colleague Featured Poster
// Sample ATM Banking program code
masijade 1,351 Industrious Poster Team Colleague Featured Poster

Google (or the search engine of your choice) can.