Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2009
    Posts
    1
    Rep Power
    0

    Default How to return to next line of code after calling a public class?

    I am calling a public class DoSomething {...} on an onClick of a button. And I wanted to return to the next line after executing DoSomething class?

    ...
    public void onClick() {
    DoSomething() }
    nextLineOfCode...
    ...

    DoSomething Class will open another (popup) window with a form page and submit button. If a user clicks the submit button from here it should resume to the nextLineOfCode.

    Appreciate your help.

  2. #2
    emceenugget is offline Senior Member
    Join Date
    Sep 2008
    Posts
    564
    Rep Power
    6

    Default

    I don't know of any situation where you can execute or call a class, just instantiate one (or call its methods). Do you have actual code that compiles and runs?

Similar Threads

  1. different multiple public class and main class
    By mr idiot in forum New To Java
    Replies: 2
    Last Post: 01-01-2009, 12:10 PM
  2. calling a public void method from a class button
    By supa_kali_frajilistik in forum AWT / Swing
    Replies: 4
    Last Post: 05-23-2008, 01:05 PM
  3. calling a public void method from a class button
    By supa_kali_frajilistik in forum AWT / Swing
    Replies: 1
    Last Post: 05-21-2008, 05:40 AM
  4. Public class variable
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-03-2007, 09:58 AM
  5. New line or Carriage Return through FileWriter
    By johnt in forum New To Java
    Replies: 2
    Last Post: 05-20-2007, 09:13 PM

Posting Permissions

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