Results 1 to 2 of 2
  1. #1
    Yaya B is offline Member
    Join Date
    Dec 2007
    Rep Power

    Default calling another call file

    I created another class file which execute a ProgressBar . I need to call that file when I click the OK Button in another program?

    Please help

  2. #2
    wsaryada is offline Senior Member
    Join Date
    Jun 2007
    Bali, Indonesia
    Rep Power



    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.

    Java Code:
    public void OkButtonPressed() {
        ProgressBar progressBar = new ProgressBar();
    You need to adjust the above pseudo code to work with your program, hope this give you a picture.

Similar Threads

  1. How to call the input value from different file?
    By xiongling in forum Networking
    Replies: 6
    Last Post: 04-07-2008, 11:05 AM
  2. how to call a dll from java
    By katie in forum Advanced Java
    Replies: 3
    Last Post: 12-10-2007, 11:34 AM
  3. how to call a JAR FILE from HTML
    By leonard in forum Java Applets
    Replies: 1
    Last Post: 08-05-2007, 07:06 AM
  4. I need to call and run another program
    By coco in forum Advanced Java
    Replies: 1
    Last Post: 07-31-2007, 06:47 AM
  5. How To Call EJB From Eclipse IDE
    By JavaForums in forum Eclipse
    Replies: 0
    Last Post: 04-26-2007, 11:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts