Results 1 to 3 of 3
Thread: call JFrame by select JList
- 01-30-2012, 08:20 AM #1
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..,
- 01-30-2012, 08:24 AM #2
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.
dbIf you're forever cleaning cobwebs, it's time to get rid of the spiders.
- 01-30-2012, 08:54 AM #3
- By fatabass in forum AWT / SwingReplies: 4Last Post: 12-29-2011, 08:23 AM
- By sunithamm in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 12-17-2011, 07:58 AM
- By Nazerke in forum AWT / SwingReplies: 5Last Post: 02-19-2011, 01:36 PM
- By Subhalaxmi in forum AWT / SwingReplies: 2Last Post: 02-03-2011, 05:19 AM
- By prabhurangan in forum Web FrameworksReplies: 0Last Post: 07-07-2008, 07:10 AM