• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to display a proper result  RSS feed

 
John Mar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey everyone, new here, and new to Java too. For my class at University, we were asked to created an application that shows the amount of hours and minutes and this is the best I've been able to come up with so far. Everything else I've tried ends up in errors, so basically, what I need advice with, is how to express the Hours and Mintues as a result that will show up in the dialog box? Help greatly appreciated, and apologies if this is a silly problem.



EDIT: Finally sorted it!
 
John Vorona
Ranch Hand
Posts: 48
Java Mac OS X Safari
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Another way to display the result is by calling the String class, and method which is
 
Tony Docherty
Bartender
Posts: 3271
82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!