Results 1 to 2 of 2

Thread: jframe doubt

  1. #1
    Pandiyan is offline Member
    Join Date
    Sep 2010
    Posts
    2
    Rep Power
    0

    Default jframe doubt

    Good Afternoon,
    I have created three screens in JavaSwing.
    1) PR Entry, 2) RC Entry, 3) Item Entry.
    How should i invoke the class name of "Item Entry" in "PR Entry"?
    pls reply me...

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,529
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by Pandiyan View Post
    Good Afternoon,
    I have created three screens in JavaSwing.
    1) PR Entry, 2) RC Entry, 3) Item Entry.
    How should i invoke the class name of "Item Entry" in "PR Entry"?
    pls reply me...
    You don't invoke classes or names thereof; you invoke methods of a class or of instantiations thereof. Your PR Entry class should have a reference to an RC reference and then it can invoke any public method thereof.

    kind regards,

    Jos

Similar Threads

  1. Replies: 5
    Last Post: 06-14-2010, 06:10 PM
  2. Replies: 6
    Last Post: 04-12-2010, 11:33 AM
  3. a doubt
    By Thia in forum New To Java
    Replies: 13
    Last Post: 11-24-2009, 02:26 AM
  4. Passing data from one JFrame to another JFrame
    By tarami in forum New To Java
    Replies: 3
    Last Post: 08-06-2009, 05:44 PM
  5. Replies: 4
    Last Post: 04-22-2009, 11:02 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
  •