[hotjoe.com] HotJoe Java Help Forums
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Visit java.com
Please send email if you are having login problems - see the posts below for more info.
Hotmail and Yahoo! users - please see the Hotmail post or the Yahoo! post for information on lost emails.
Dialog not reflecting new values  XML
Forum Index » GUI Development
Author Message
karl

Newbie

Joined: 01/07/2006 07:56:42
Messages: 38
Offline


Hi,

I have a problem in swings as follows
I have an application which has a tab1 which contains a Jtable.On clicking a cell in Jtable a JDialog appears showing some more info on the cell clicked.

In clearer terms this is what i would like to do

Steps:
- After running the below code you get a 3 buttons Lookup1,Lookup2 and Refresh and also 2 tabs with two different Jtables.
- When i press the first tab and say Lookup1 the tab1->table loads.
- Right click on a row, a dialog1 comes showing first coloumn data of the row.
- Now go to tab2 and press Lookup1 button tab2->table loads,repeat the above step another dialog2 appears.
- Now i press Refresh button the table's only load and dialog remains same.
- Now again when i go to tab1-table and right click on a row the corresponding dialogs contain the old value and do not reflect new value.
I want the last point to happen...????
Please help me in tweaking the code.



Thanks
stdunbar

Newbie
[Avatar]

Joined: 06/22/2005 14:51:37
Messages: 849
Location: Superior, CO, USA
Offline

This is a ton of code but I would encourage you to add some debugging statements that would help you see what is going on. As an alternative, are you using some sort of IDE like Eclipse or NetBeans? They are incredibly valuable in determining issues.

Thanks for using the forums at hotjoe.com
[WWW] [Yahoo!] [ICQ]
 
Forum Index » GUI Development
Go to:   
Powered by JForum 2.1.9 © JForum Team
This site run by Scott Dunbar of Xigole Systems. © 2005-2011 - Scott Dunbar
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners
hotjoe.com, xigole.com, and Scott Dunbar have no affiliation with Oracle