Results 1 to 3 of 3
  1. #1's Avatar is offline Senior Member
    Join Date
    Jan 2012
    Rep Power

    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,
    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 Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    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.

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

  3. #3's Avatar is offline Senior Member
    Join Date
    Jan 2012
    Rep Power

Similar Threads

  1. Replies: 4
    Last Post: 12-29-2011, 09: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, 08:58 AM
  3. cannot select from JList
    By Nazerke in forum AWT / Swing
    Replies: 5
    Last Post: 02-19-2011, 02:36 PM
  4. Replies: 2
    Last Post: 02-03-2011, 06:19 AM
  5. Replies: 0
    Last Post: 07-07-2008, 08: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