File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes stop() and start() ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "stop() and start() ??" Watch "stop() and start() ??" New topic
Author

stop() and start() ??

Robin Richardson
Ranch Hand

Joined: Mar 01, 2001
Posts: 37
I have been able to use a start method to start three different programs, have had to set up a separate stop() class for each program. Is there a way to start each one up without a separate stop class for each one?
Also, have not been able to use the stop() class. It just starts the program, but doesn't stop it. What might I have done wrong? I put:
public void start() {}
public void stop() {}
should I possibly reverse the order?
Thanks
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
This doesn't seem to have anything to do with Java I/O (Input/Output), so I'm moving this to Java in General (Beginner).


"I'm not back." - Bill Harding, Twister
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Are you talking about threads here? Or starting a program using a process and Runtime?
Also, you surely mean start and stop methods, not classes (I hope).


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: stop() and start() ??