Results 1 to 2 of 2
Thread: calling another call file
- 12-20-2007, 09:59 PM #1
Member
- Join Date
- Dec 2007
- Posts
- 2
- Rep Power
- 0
- 12-21-2007, 06:11 AM #2
Senior Member
- Join Date
- Jun 2007
- Location
- Bali, Indonesia
- Posts
- 696
- Rep Power
- 6
Hi,
First you need to create an instance of your ProgressBar class in the OKButton program, when you have an instance of the ProgressBar class you can call the method.
You need to adjust the above pseudo code to work with your program, hope this give you a picture.Java Code:public void OkButtonPressed() { ... ... ProgressBar progressBar = new ProgressBar(); progressBar.showTheProgressBar(); ... ... }Website: Learn Java by Examples
Similar Threads
-
How to call the input value from different file?
By xiongling in forum NetworkingReplies: 6Last Post: 04-07-2008, 10:05 AM -
how to call a dll from java
By katie in forum Advanced JavaReplies: 3Last Post: 12-10-2007, 10:34 AM -
how to call a JAR FILE from HTML
By leonard in forum Java AppletsReplies: 1Last Post: 08-05-2007, 06:06 AM -
I need to call and run another program
By coco in forum Advanced JavaReplies: 1Last Post: 07-31-2007, 05:47 AM -
How To Call EJB From Eclipse IDE
By JavaForums in forum EclipseReplies: 0Last Post: 04-26-2007, 10:15 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks