Hii, i was wondering if there is a way to run a java program by just double clicking on an icon
i have a program that i want to run on an old PC, and i dont want to download a compiler, just need to run the program without JCreator or the Command Prompt
Plz let me know if there is a way to do this
Thank you =]
-Enzo
User Profile
Collapse
-
How to run a program by 'clicking' on an icon
-
You need to have a loop to go around (if else) statement
you need to see if you can divide the amount by 25, if yes then divide it, if no then try to divide it by 10, then 5, and finally by 1
your loop might look like something like this:
if(...){
(amount / 25);
}
else if (...){
(amount / 10);
}
else if(...){
(amount / 5);
}... -
Help on TIMER
Hii, I have this program and i need help on printing out the total time, can anyone help me on this?
If there is a better way to do this let me know
Thnx
import javax.swing.*;
import javax.swing.Tim er;
import java.awt.event. *;
public class MyTimer{
public static void main (String [] args){
class TimeListener implements ActionListener{... -
How do you use a Timer?!
I'm trying to use a timer, i was able to make it work (start time, stop time) but i donno how to print out the total time
anyone knowz how to print out the total time?
-enzo
No activity results to display
Show More
Leave a comment: