This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

stop() and start() ??

 
Robin Richardson
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18671
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic