TableModel refresh problem!

I am new to Java so any reply to put me in the right direction is appreciated.
I have inquired on New to Java, but the solutions received unfortunely did not help. I believe the
I need some help with the CellRenderer, but not sure.
I have a TableModel with 6 columns and the row count varies. I have also employed a sort model so that I may sort my display data by clicking the headers. Three of my columns are editable. Those columns are of JCheckBox: columns 3, 4, 5. At startup column 3 is defaulted to TRUE (Checked). Columns 4 and 5 are set to FALSE (no check).
For a specific row, if I click on column 4 (Checked), column 3 is set to FALSE (no check).
I call the method setValueAt from the method isCellEditable inorder to set columns 3 and 5 to FALSE (no check) when column 4 has been clicked. In otherwords, only one of the 3 columns for a specific row can be TRUE (Checked) at a time.
I can also sort my data by clicking on any of the header columns. The data always sort correctly.
Now about 5% of the time I have the following problem. Let say column 3 is TRUE (Check mark). I can click on Checkbox (col 4) which becomes TRUE (Checked) but the column 3 that is currently checked does not become unchecked. (Note: Debugging indicates this column is FALSE or should not be checked). Most of the time it happens when I Sort several times. But this not always the case.
However, *** if I drag another window over this display and take it away, my display is refreshed and corrected. Column 3 no longer is Checked.
I hope I have given you folks enough information and explained my problem well enough. Any suggestions or references to overcome this problem would be welcome.
Again thanks in advance,
[email protected]

call fireTableDataChanged on the TableModel, and the JTable will get re-painted

Similar Messages

  • Animated gif and page refresh problem

    Animated gif and page refresh problem
    Hi There,
    I'm trying to build a simple "Please wait......" screen using jsp and javascript.
    So far all is going well except that my animatate gif keeps refreshing everything the page is refresh.
    Is there a way the i can prevent the body of the page from refreshing?
    below is my sample code:
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <jsp:useBean id="StatusBean" class="com1.CandidateRelease" scope="session"/>
    <html>
    <script LANGUAGE="JavaScript">
    function refresh()
    <% if (StatusBean.isRunning()) { %>     
         //setTimeout("refresh()", 1000);
         setTimeout("location='status.jsf'", 1000);
    <% }else{%>
         window.location= "busStopAdmin.jsf";
    <%} %>
    </script>
    <head>
         <script LANGUAGE="JavaScript">     
              refresh();
         </script>     
    </head>
    <body>
         <img id="myImage" src="../img/ojp_wait.gif" alt="" width="151" height="36">
    </body>
    </html>

    Animated gif and page refresh problem
    Hi There,
    I'm trying to build a simple "Please wait......" screen using jsp and javascript.
    So far all is going well except that my animatate gif keeps refreshing everything the page is refresh.
    Is there a way the i can prevent the body of the page from refreshing?
    below is my sample code:
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <jsp:useBean id="StatusBean" class="com1.CandidateRelease" scope="session"/>
    <html>
    <script LANGUAGE="JavaScript">
    function refresh()
    <% if (StatusBean.isRunning()) { %>     
         //setTimeout("refresh()", 1000);
         setTimeout("location='status.jsf'", 1000);
    <% }else{%>
         window.location= "busStopAdmin.jsf";
    <%} %>
    </script>
    <head>
         <script LANGUAGE="JavaScript">     
              refresh();
         </script>     
    </head>
    <body>
         <img id="myImage" src="../img/ojp_wait.gif" alt="" width="151" height="36">
    </body>
    </html>

  • Smartview 11.1.2.1.102 Refresh problems

    I have multiple users experiencing severe refresh problems after upgrading to smartview version 11.1.2.1.102.
    Users state Refresh is taking 10-15mins+ when in old version 9x it only takes 1-2mins. In addition users have rebuilt the excel files (copy in new workbook) then all is working fine but when saved/the next day the refresh goes very slow again!
    Please can any help?

    1. Deleting the Sheet Info fixes the problem for the moment - but the problem soon returns. Do you know what causes the problem, so we can cut the repeating cycle? Is this strictly a multi-user issue? We do have several users that may use the file. Some have version 11.1.2.1.000 (not 103). Oracle's tips doc (http://www.oracle.com/technetwork/middleware/bi-foundation/epm-tips-issues-73-102-1612164.pdf) mentions uncompressed metadata stored in the worksheet.
    2. Is there a specific version that allows the Sheet Info fix? Oracle's tip sheet says they need Some have version 11.1.2.1.103, but the users we have seen so far can use this workaround on Some have version 11.1.2.1.000. I'd like to know when at what version this fix starts so I can push other users to update. It would be good to know at which version this issue starts.
    Thank you - great information in the thread!
    P.S. for reference:
    From http://www.oracle.com/technetwork/middleware/bi-foundation/epm-tips-issues-73-102-1612164.pdf
    In EPM System Release 11.1.2.1, I am opening .xls files with Smart View functions in Excel 2010, but it’s very slow or seems to freeze Excel. How can I fix this?
    This is most likely due to an issue with uncompressed metadata stored in the workbook. In most cases, the issue can be found in the first sheet in hidden shapes. Note that the file will open but it may take a very long time, and in some cases the file will open fine with Smart View disabled. In other cases it will not matter. To solve this problem, save a copy of the file and follow the steps below for the version of Smart View you have.
    If you are using Smart View 11.1.2.1.103 or above, follow these steps:
    1 Open the file (this may take a while) with Smart View enabled.
    2 From the Smart View Ribbon, select Sheet Info.
    3 Select Delete Smart View Info.
    4 Select Workbook and all Sheet Info.
    174 Miscellaneous and Product-Specific Tips
    5 Click OK.
    6 Save the modified workbook.
    7 Reopen the workbook.
    If you are not using Smart View 11.1.2.1.103 or above, follow these steps:
    1 Open the file (this may take a while).
    2 Right-click on the tab of the first worksheet and select Select All Sheets.
    3 Right-click on the tab of the first worksheet and select Move or Copy.
    4 In the drop-down box, select (new book) and check Create a Copy.
    5 Save the workbook.
    6 Open the new workbook.
    7 Refresh the data.

  • Screen refresh problem where data is entered and the screen doesn't refresh

    Many people in the company are experiencing the odd screen refresh problem where data is entered and the screen doesn't refresh to show the updated result in corresponding cell formulas.
    Microsoft have issued a hotfix to fix the issue for Excel 2003 as shown. Microsoft released a hotfix for this problem (<a href="advisory?ID=978908">KB978908</a>). Display memory tends to pick up data from hidden sheets and pastes it
    into the active screen. No impact on the file. This occurs when protecting and unprotecting worksheets in VBA. I also suspect that enabling and disabling screen refresh contributes to this problem. In any case there is a fix, albeit with the following disclaimer:
    As of yet I have not been able to find a fix for this for office 2010 and 2013, Any suggestions would be great.

    Hi,
    Based on your description, Excel does not show the text strings when you typing. It may be caused by the cell format, if we set the cell format as ";;;" in custom format, it will not display the text that you typed. 
    And the issue may be caused by the third-party input method, there are some compatibility issue between them.
    If the issue still exits, please try the following methods
    Verify/install the latest updates
    Repair your Office program
    Regards,
    George Zhao
    TechNet Community Support

  • Container (JPanel) refresh problem

    Hello,
    In fact i have a panel (mainPanel) with a button OK, a another panel which display a specific MyJTable and combo box.
    In fact, when I clic OK Button, i want to charge my MyJTable with data depends on comboBox.
    First, i display a empty white panel and when i clic Ok i want to display my MyJTable.
    JPanel mainPanel = new JPanel();
    JPanel emptyPanel = new JPanel();
    JPanel combo = new JComboBox();
    JButton okButton = new JButton();
    MyJTable myJTable;
    mainPanel.add(emptyPanel);
    mainPanel.add(combo);
    mainPanel.add(okButton);I have a refresh problem, i try mainPanel.remove(emptyPanel) and thus mainPanel.add(myJTable), the remove works but the add no :(
    In ActionPerformed method when okButton:
    myJTable = new myJTable(combo);
    mainPanel.remove(emptyPanel);
    mainPanel.add(myJTable);
    mainPanel.repaint();Thanks for yu help!!

    Hi,
    have you tried playing with
    mainPanel.revalidate();
    mainPanel.revalidate();??
    Might help
    Phil

  • Screen refresh problem with Windows 7

    Hello all,
    I've recently begun testing Oracle with Windows 7 on a new HP 2540p notebook computer. I've encountered a very strange issue so far. After logging into Oracle, and Windows switches to Windows Basic theme, I should be taken to the main Navigator screen. But instead, the screen is simply white. If I drag (or nudge) the title bar just a bit, the screen refreshes and I can see the menu items. Then if I click on something (or even use hotkeys - ALT+F to get the file menu, for example), I don't see anything happen. But if I move the window just a bit, the screen refreshes and I can see that it did actually take my input, it just didn't re-draw the screen. I'm wondering if this may be a graphics driver issue (I do have the latest driver for the Intel Graphics Media Accelerator HD adapter), or if someone could point me toward a resolution to this problem. Any help is much appreciated.

    Dear All,
    Same problem of REFRESH PROBLEM also faced by but only a single and specific Windows 7 client.
    if you have resolved the issue , so please share with us.
    Thanks
    Eidy

  • Datagrid refresh problem?

    fileListArray.refresh();
    dg_curtainmanager.invalidateList();
    dg_curtainmanager.invalidateDisplayList();
    <mx:DataGrid id="dg_curtainmanager" showHeaders="true"  editable="true"  includeInLayout="false" dataProvider="{fileListArray}"  creationComplete=""  variableRowHeight="true"   wordWrap="true"  rowCount="{fileListArray.length}"  width="100%"  >
    <mx:DataGridColumn  headerText="Parent Folder"  sortable="true"  editable="false"   width="250" minWidth="65" wordWrap="true" >
                            <mx:itemRenderer>
                                <fx:Component>
                                    <mx:HBox width="100%"
                                             horizontalAlign="left" verticalAlign="middle">
                              <mx:Image source="@Embed(source='images/edit_16.gif')"  toolTip="Select Starting Folder" buttonMode="true" click="outerDocument.parentfolderimagclick()" />
                                        <mx:Label text="{data.document_folder_name}" color="black" />   
                                    </mx:HBox>
                                </fx:Component>
                            </mx:itemRenderer>
                            </mx:DataGridColumn>
    </mx:DataGrid>

    @welcomecan,
    What refresh problem you are facing.. in DataGrid? When you change your DataProvider for your grid the values are not being changed or somethingelse..??
    Please always be clear in explaining your problem in order to get it resolved..
    Thanks,
    Bhasker

  • Forms Refresh Problem on The Web??

    i have a form coded in 6i. in this form i have around 20 buttons one below another and each of the button has a stacked view associated with it. whenever i click on a button i am opening the relative stacked view on th content canvas and repositioning the rest of the bottons and views by moving them down.
    Now the problem is it works fine in client-server, but when i run it on the web, when i try to open any of the buttons the screen scrolls automatically to the top. I also noticed that if i wait for a few seconds(or sometimes minutes) the form takes me to the correct position. i think there is some refresh problem. i tried Syncronize also but to no use.
    i would appreciate If someone can help me out on this ASAP. (thanks for the patience in reading this long mail!!)

    Try to instal the latest version of Jinitiator. I have similar problems, but my case is not so bad. Jinitiator develops very quickly and as i have heard it works now fine.

  • G5 quad gf6600 refresh problems

    I have refresh problems (never had it with 2.5 bipro)
    in photoshop the layers do weird things and leaves traces.
    in lightwave if i select a point op poligon, nothing seems to happen, only when i resize the view it refreshes.
    lightwave is freshly installed, ph is a port from the old mac

    upgraded programs

  • Refresh problem with dreamweaver cs5.5

    Hello,  I hope someone can help out soon with my problem. We currently have a great running site that is hosted OFFSITE. Our programmer built a new site which is the one having the refresh problems with.  It's hosted on an ON-SIGHT server . thank you
    Problem:
    Sometimes randomly, but almost always when opening other pages, DW freezes for about 5-10 seconds, sometimes crashing (presumably when it takes longer).
    It occurs whether changes are made to files or not. I'm using split view it happens mostly whien trying to click something in code view at top.
    Test Results:
    I was able to consistently reproduce the problem when opening files in the directory.
    I was unable to reproduce the problem when opening multiple Include files (that do not use templates).
    Thoughts:
    Is there something in the template causing the refresh problem?
    Something in the new website page source, or in their shared template, may be loading from a (slow) external resource.
    Something in the DW settings?
    HELP THANK YOU

    Could you post a screen capture of your File > New dialogue window when you choose it from the menu?
    Page From Template should be an option on the far left if I recall correctly (it has been changed in newer versions, but I think 5.5 still used this method). You won't see it in the Welcome Screen or if you hit Ctrl +N. You have to use the menu option to select New...
    You should then be presented with a list of sites, when the site is chosen, the templates should show in the middle column.
    Or are you saying your template isn't showing when you choose the Page From Template option and select the site?

  • Javabean Refresh Problem

    HiHi,
    I have got a problem of refreshing a modified java program.
    I have created a javabean before, there are three fields are defined as float type.
    However, I have got some problem of using float, so I made a change on it to double.
    At the same time, there is a jsp program using this java program. After I compiled the
    java program and put it into the server side (weblogic). I found that there is a probelm
    "NoSuchMethodError" every time when I call the jsp. Then I press space of that jsp
    program and actually made no change of it. And put it into the server
    side again, since there is always a refreshing problem of both java and jsp program
    in weblogic. But I still failed, so I rename both the java and jsp program and try it. Finally the
    same problem still happens.
    So I dunno that it is really a refreshing problem or something I have done wrongly.
    Could anyone help me? Thank you very much!
    Betty

    restart you server and see ...
    when ever you change your javabean you have to restart the server, bcoz the class gets loaded in to the server, once you start it, so, if you change it, it is not going to be changed in the server where the class gets loaded, so, it still has the old copy, so, you have to restart the server for it to reflect the changes ....

  • Console Refresh Problem

    Hi All,
    I have a minor, but annoying refresh issue in the SCVMM console.
    I have one particular hyper-v cluster which for which the console is unable to refresh the overview, the wheel spins forever.  The daily & monthly performance portions refresh ok.  This only happens for one cluster and is irrespective of the
    user and machine the console is running from.
    Any input appreciated.
    Stu

    Hi,
    normally to find out why it is stuck a ETL trace is needed from the VMM Server. There aren't any known issues in Windows Server 2012 R2 OS and SCVMM 2012R2 combination as far as I know regarding the refresh problem. Are there any hints on the VMM Server
    like failed Jobs regarding this problem ? Additionally did you check the Cluster Nodes VMM Event Logs ?
    Regards,
    Cengiz Kuskaya

  • Row ranges  1-15, 16-30 in select list has refresh problem

    Hi, Gurus:
    I use APEX 4.1.1 with Oracle 11GR2. I have a question that was discussed before here, but I still have trouble to understand it. I have some reports that cannot refresh content when I choose another page of the same report. I used row ranges 1-15, 16-30 in select list with pagination. It did not work. However, I used the exactly same report page settings for some other queries producing exactly same columns, except the query logic is slightly different thus number of rows in report are different. row ranges 1-15, 16-30 in select list with pagination works well in other reports.
    I came across discussions and set partial page refresh to no for those report pages with refreshment problem. This time it worked well, but it was extremely slow as my query is very slow. I was wondering why some of report do not need to set partial page refresh to no and have no problem to refresh, but some of reports have problem to refresh (I even copied the report page without problem for those reports with problem and just change queries.)? Is there any other way to refresh these reports quicker other than SQL tuing?
    Please help me.
    Sam
    Edited by: lxiscas on Dec 31, 2012 11:36 AM
    Edited by: lxiscas on Dec 31, 2012 11:49 AM

    I just found that it is due cache page settings, I should set it to no as a developer

  • Refreshment problem when place image.

    Hi Experts,
    When I insert image using script then there is a refreshment problem.
    In place of second image there place first image.
    while if I debug this it place in correct order. But in Run case script not place image in order.
    There is a refreshment problem After place First image it not refresh  and have first image.
    How solve this problem That i place image in proper order in Script Run mode.
    #target indesign
    var myDocument=app.activeDocument;        //Active document have 10 spread with text frame
    for(int i=0; i<10;i++)
    var ImagePath="D:\Indesign\" + i + ".indd";         // There are 0.indd to 9.indd, 10 image in "D:\Indesign\"
    var myTextFrame=myDocument.spreads.item(i).textFrames.firstItem();
    myTextFrame.place(File(ImagePath)); // ImagePath is path of image
    Thanks.

    My problem is like this :
    I want place image in a text box
    File(menu)-->place....-->(Dialog open then Select Image file then click on open)->then image is attach  with cursor. (I do not click on .indd open screen).
    Now I run the script from ExtendedTool Kit
    #target indesign
    var myDocument=app.activeDocument;
    var myTextFrame=myDocument.spreads.item(0).textFrames.firstItem();
    $.sleep(2000);
    myTextFrame.place(File("/C/DOCUME~1/ADMINI~1/LOCALS~1/Temp/temp.jpg"));
    $.sleep(2000);
    var graphic=myTextFrame.allGraphics[0];
    graphic.select(SelectionOptions.REPLACE_WITH);
    graphic.geometricBounds =["-47.853527","-157.370275","1231.018230","709.576702"];
    When this script run then it place the image which I am select from File(menu)-->place....-->(Dialog open then Select Image file then click on open).
    Not from the path "/C/DOCUME~1/ADMINI~1/LOCALS~1/Temp/temp.jpg"
    This is the problem to place image.  So there is image duplicasy and some image missing.
    Is there is solution of this problem ?
    How remove image which is already attach with cursor ?
    Thanks.

  • QAAWS refresh problem.

    hi,
    I am QAAWS to display report in Xcelsius.Do we have any refresh problem when we used QAAWS for Xcelsius when we have fresh data.
    Do we have any alternative for this.
    Regards,
    Shiva Kumar G.C

    Are you using 'Refresh on Load' or triggering the refresh from another component?  I don't think your question is clear, are you receiving the data from QaaWS in the Xcelsius model?  Can you comsume the WSDL in another application to verify the SOAP messages are being sent back and forth from the Web Services.
    Thanks,
    Ryan

Maybe you are looking for

  • Ipad charges and turns off, turns on then turns off again

    HI, i am suddenly having problems with my iPad. its approx 1 1/2 years old. Last night it went flat, while playing candy crush. so i put it on charge last night, this morning its saying its flat (so a full 7hrs on charge). so all day from 8am to 1pm

  • How do I get all the same artist together in the same folder??

    I have alot of artist that only have 3 or 4 songs to each album.. and there will be 4 different copies of the same album cover. Put together it would have all the songs to that album but I'm tired of having to search through each one to find the song

  • IPod Nano white screen (frozen)

    I have an iPod Nano (3rd Gen), and a few days ago, on turning it on, the screen was white (no Apple logo, or info). I have tried resetting AND just restored it. It shows up ok in iTunes, and I can even add music to it but the screen is still white /

  • Few question about reset DatagramChannel

    Hello, Im doing a communication program that uses Selectors with DatagramChannels, and implement bradcast receiving and sending. I was assigned to create a reset function, that should reset the communication in cases it gets stuck. When I close the D

  • Library upgade failure

    I recently migrated my user account via TimeMachine from a 2008 iMac to a new MacBook Pro. Despite the Pictures folder including my iPhotoLibrary of some 65GB incl thousands of photos and videos, iPhoto(version9.5.1) consistently opens it as an empty