This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes time,date+progress bar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "time,date+progress bar" Watch "time,date+progress bar" New topic
Author

time,date+progress bar

Mohd Zaki Mohd Salikon
Greenhorn

Joined: Dec 16, 2004
Posts: 27
Hi...
1. How to put time&date to window using java.awt or java.awt.event?
2. How to insert the progress bar with a lot of selected variable and show the functions?

thanks.
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
This page can get you started on learning to work with JProgressBar: How to Use Progress Bars.
Mohd Zaki Mohd Salikon
Greenhorn

Joined: Dec 16, 2004
Posts: 27
I can't get the output:
Why???

There is the output:
Usage: java [-options] class [args...]
(to execute a class)
or java -jar [-options] jarfile [args...]
(to execute a jar file)

where options include:
-cp -classpath <directories and zip/jar files separated by ;>
set search path for application classes and resources
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-showversion print product version and continue
-? -help print this help message
-X print help on non-standard options
Press any key to continue...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: time,date+progress bar