Sorry!! I am new to Swing. The terminology that i use it may wrong.
I have a window contains 3 columns and 60 rows. If i double click a row then it opens a pop up window and i get a row index. I modified something in my pop-up window. But before i save it, i come to parent window and intentionally/unintentionally sorted a particular column. Then row index of that selected row got changed and in my coding i am getting another row index, the correct one only. Then i come to pop up window and trying to save the modification.When i update with new row index then it is updating a row with this new row index value in before sorted window not in the sorted window. I mean updating is happening in the window which i first time opened, i mean before i sort. So, i would like to have some code how to update a row correctly and that i can see in sorted window correctly?
Well, thats what I'm suggesting. It SHOULD be a JDialog, NOT an internal frame.
Joined: Jun 19, 2009
I understood. But one problem is there. I cann't implement JDialog inplace of JInternalFrame. Because my entire application's all windows getting using JDesktopane. I am adding & getting all frames from JDesktoppane.