Results 1 to 5 of 5
  1. #1
    pinakabo0tan is offline Member
    Join Date
    Aug 2013
    Posts
    1
    Rep Power
    0

    Question Re: how to pass values between two JFrames?

    is there any more specific hint or code for this question,coz i'm still newbie in programming.
    tnx!!-*

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,004
    Rep Power
    6

    Default Re: how to pass values between two JFrames?

    Well then perhaps Swing is a bit too much for you right now as it is for more advanced developers. Learn basic Java and object oriented programming first and then you will be able to answer this question for yourself easily.

    Lesson: Classes and Objects (The Java™ Tutorials > Learning the Java Language)
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,236
    Rep Power
    19

    Default Re: how to pass values between two JFrames?

    Don't post to old dead threads and don't hijack another poster's thread. I've removed this from how to pass values between two JFrames?

    Since this post doesn't contain an answerable question, I've moved it here. Please feel free to start a thread in New to Java or AWT/Swing, depending on the nature of your problem. Before that, I recommend that you go through these links:
    Forum Rules
    Guide For New Members
    BB Code List - Java Programming Forum - Learn Java Programming
    How to ask questions the smart way

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  4. #4
    Prrmod is offline Member
    Join Date
    Aug 2013
    Posts
    2
    Rep Power
    0

    Default Re: how to pass values between two JFrames?

    You can make use of a public static variable ...this variable would be accessible in the context of the entire application

  5. #5
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,004
    Rep Power
    6

    Default Re: how to pass values between two JFrames?

    Quote Originally Posted by Prrmod View Post
    You can make use of a public static variable ...this variable would be accessible in the context of the entire application
    Just because its technically possible, doesn't mean it is a good idea to do so.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. Replies: 10
    Last Post: 01-10-2012, 04:44 PM
  2. how to pass values between two JFrames?
    By sandeep43 in forum Advanced Java
    Replies: 4
    Last Post: 06-01-2011, 01:36 PM
  3. How to pass values from frames..
    By kryptonian03 in forum AWT / Swing
    Replies: 2
    Last Post: 05-06-2011, 09:28 PM
  4. how to pass values from jsp to servlet
    By jksathya in forum Eclipse
    Replies: 1
    Last Post: 02-01-2011, 09:13 AM
  5. Pass Values into 2D Array?
    By noble in forum New To Java
    Replies: 7
    Last Post: 11-09-2010, 07:30 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
  •