Results 1 to 2 of 2
  1. #1
    Symbiot is offline Member
    Join Date
    May 2010
    Posts
    15
    Rep Power
    0

    Default calling another class in popup

    Hi all.

    I am trying to create a popup.

    the popup should contain some stuff I made in another class.

    So I have an :

    adminbox.java

    and an

    usrpopup.java file.

    the usrpopup file has it's own code to run, and that works fine.. but what I need is to call the usrpopup from adminbox and display usrpopup in a popup window..

    I created:

    Java Code:
    private void btnCreateUserMouseReleased(java.awt.event.MouseEvent evt) { }
    but right now I am unsure how to proceed..

    Appreciate any help!

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,421
    Rep Power
    25

    Default

    I need is to call the usrpopup from adminbox
    Can you create/call the userpopup class from the adminbox by this code:
    In the adminbox class:
    usrpopup up = new usrpopup(); // create user pop up object

    Or could you explain a bit more.

Similar Threads

  1. Calling on a class
    By gandalf5166 in forum New To Java
    Replies: 12
    Last Post: 03-24-2010, 10:58 PM
  2. Child-Class Calling a Method in a Parent-Class
    By Blah_ in forum New To Java
    Replies: 5
    Last Post: 09-29-2009, 02:48 AM
  3. Calling a class method from another class
    By caro in forum New To Java
    Replies: 4
    Last Post: 06-10-2009, 01:12 AM
  4. problem calling function from class to class
    By alin_ms in forum New To Java
    Replies: 3
    Last Post: 12-19-2008, 07:35 PM
  5. Calling a method on original class from created class
    By kpedersen in forum Advanced Java
    Replies: 4
    Last Post: 08-20-2008, 12:25 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
  •