Results 1 to 3 of 3
  1. #1
    raj.mscking@gmail.com's Avatar
    raj.mscking@gmail.com is online now Senior Member
    Join Date
    Jan 2012
    Location
    TamilNadu
    Posts
    258
    Rep Power
    3

    Default call JFrame by select JList

    Hi To All!
    "i wants to call JFrame1 By select JList item in JFrame2"
    My project is to view the client system activities by server,
    if server enter the ip address of client, it can show the client activity in JFrame1.
    But i wants to create new window to select ip address from stored list,
    Now!
    i build new JFrame2 can retrieve data's from ms access to JList
    Database name : Mydatabase
    Table Name : ips
    col : ip & name

    if i select one of the ip address, it should call to JFrame1 by select JList from JFrame2..,

    Any one cal help me please..,

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

    Default Re: call JFrame by select JList

    If I understand that correctly: Read the API for JList and follow the link to the Swing tutorial on How yo Use Lists.

    Most GUI applications don't use more than one frame; a subsidiary window is usually better implemented as a modal dialog. See the section of the same tutorial on How to Use (make?) Dialogs.

    Moving this to the Swing section.

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

  3. #3
    raj.mscking@gmail.com's Avatar
    raj.mscking@gmail.com is online now Senior Member
    Join Date
    Jan 2012
    Location
    TamilNadu
    Posts
    258
    Rep Power
    3

Similar Threads

  1. Replies: 4
    Last Post: 12-29-2011, 08:23 AM
  2. call a jquery function in <s:select > onChange method
    By sunithamm in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 12-17-2011, 07:58 AM
  3. cannot select from JList
    By Nazerke in forum AWT / Swing
    Replies: 5
    Last Post: 02-19-2011, 01:36 PM
  4. Replies: 2
    Last Post: 02-03-2011, 05:19 AM
  5. Replies: 0
    Last Post: 07-07-2008, 07:10 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
  •