Results 1 to 3 of 3
  1. #1
    amitabh is offline Member
    Join Date
    Apr 2010
    Rep Power

    Default Passing Variable In Frame

    Hello every one

    I want to pass parameters from one frame to another frame
    but i dont'n know how we pass variable.

    Means I have a frame with jTextField And a search Button Now My question is that when i enter any id for search then i show result in another frame.

    So please Tell me how i Pass id to another frame.

    Tahnk You

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    On vacation
    Rep Power


    how i Pass id to another frame
    Not sure what you mean by a frame. I assume you mean a window being displayed on the PC's monitor. There is some class that causes that window to be displayed. The usual way to pass info to a class is either in its constructor or via a method call.

    You need to talk about the classes in your program and how they are related. Talking about frames makes no sense.

  3. #3
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Rep Power


    In addition to the above this is the database subforum...and that doesn't look like a db question to me.

Similar Threads

  1. Need Help in Passing data to new Frame
    By chyeeqi in forum NetBeans
    Replies: 6
    Last Post: 03-27-2010, 07:13 PM
  2. How to pass a variable to another frame.
    By DJCali in forum New To Java
    Replies: 10
    Last Post: 10-14-2009, 03:57 AM
  3. passing variable in trees??
    By player123 in forum Advanced Java
    Replies: 2
    Last Post: 02-03-2009, 01:42 PM
  4. passing variables to another frame
    By Grom in forum New To Java
    Replies: 10
    Last Post: 11-09-2008, 06:55 PM
  5. Variable passing, Error: IOException
    By fernando in forum New To Java
    Replies: 3
    Last Post: 07-31-2007, 02:03 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