User Profile

Collapse

Profile Sidebar

Collapse
enzoJava
enzoJava
Last Activity: Nov 16 '06, 07:16 PM
Joined: Nov 7 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • enzoJava
    started a topic How to run a program by 'clicking' on an icon
    in Java

    How to run a program by 'clicking' on an icon

    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
    See more | Go to post

  • 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);
    }...
    See more | Go to post

    Leave a comment:


  • enzoJava
    started a topic Help on TIMER
    in Java

    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{
    ...
    See more | Go to post

  • enzoJava
    started a topic How do you use a Timer?!
    in Java

    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
    See more | Go to post
No activity results to display
Show More
Working...