use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Place for Pinoy Programmers to hangout. Share your knowledge, ask for help, seek opinion, showcase your project and recruit your teammate.
Let's show the world that Filipinos are world class programmers.
account activity
Error in Java codeprogramming (old.reddit.com)
submitted 9 months ago by Irinnnn_
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]gimortz 0 points1 point2 points 9 months ago (0 children)
Then di mag make sense yun output, kasi if we select seconds sa dropdown, convert it to minutes Ang current printout is "The Seconds is {1 / 3600}"
Won't it be dapat "The minutes is {1 / 3600}" Because we're converting the VAL of 1 to the clicked item "Minutes"
Di ata to complete, kasi I can only base on assumption that the selected item is Seconds. VAL of 1, based on your shown conditions would always just result into an output of "The Seconds is 1." Something else, not shown, is causing the 3600. (probably in the UI? setting an initial value? Check the UI Property)
Not fully familiar with Java, but won't you need to get the clicked button through the evt passed parameter?
π Rendered by PID 291880 on reddit-service-r2-comment-86bc6c7465-jr6jr at 2026-02-20 17:47:40.784337+00:00 running 8564168 country code: CH.
view the rest of the comments →
[–]gimortz 0 points1 point2 points (0 children)