Table update visible only when changing table selection

I'm running java 1.6.0_07 on Linux and I'm experiencing a strange problem: I've got a table model that extends AbstractTableModel and when I selectes a row and then change such row data (thru the setData() and fireTableDataChanged() methods) I don't see the row update. If I reclick on the row or select another row in the table, the table refreshes and I can see the row updated. Is it a problem of the Java version or what? Should I change my code and force a table update in any way? Any suggestion?
Thanks,
Luca

I've got a table model that extends AbstractTableModel Why? Whats wrong with the DefaultTableModel?
Is it a problem of the Java version or what?So you've written custom code and it doesn't work so the problem must be with the Java version?
Any suggestion?Use the DefaultTableModel.
If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.

Similar Messages

  • Is table maintenance generator only for custom table?

    hi ,
    i have doubt is table maintenance generator only for custom table?

    hi swamya,
    Table Maintanance Generator is used to create/change/delete table entries in a particular table.
    In the production system, end-users will not be having access to transaction codes like SE11 and SE16. Developers will not be having access to many transaction codes including the above two.To view the contents of the database table, we will use SE16n in Production system. All these authorizations will be maintained by BASIS team, by creating access profiles.So in order to edit or create the contents of a database table, we should go for table maintenance generator. In real time, authorizations will be maintained in production system.
    The second reason is, we can edit or create multiple entries at a time, using tablemaintenance generator.
    Apart from that we have options like 'Enter conditions' in table maintenance screen SM30.
    hope this helps in clearing ur doubt.
    Regards
    Saurabh

  • [Bug?] Defer Panel Update not working when changing scale property

    Hi,
    I found that Defer Panel Update [when True] does not work properly when changing the scale fit property of an intensity graph.
    Try the VI.
    When Defer Panel Update is True, and you change the Numeric controls, the Intensity graph is not updated (as expected).
    But now change the "Z Scale.Scale Fit" button and.... the Intensity graph is updated (only the Z-color, not the axis).
    This looks to be a bug to me!
    Nicolas
    Attachments:
    [Bug] Defer Panel Update not working when changing scale property.vi ‏27 KB

    Hi Nicolas,
    This indeed looks like a bug. I will do more research on it and file a bug report if it's not already filed.  Thank you for posting this information!
    Yi Y.
    Applications Engineer
    National Instruments
    http://www.ni.com/support

  • How to add the rows formatted as table headings, Tables headings are repeated when a table spans more than one page.

    Hi all,
    i am facing problem while generating Test Result word document after successful execution of TestStand.
    The Problem is :
    i want to add rows Formatted as table headings, table headings are repeated when a table spans more than one page(marked as Red).
    Example:
    Page  No. 1
    |     Test case Number  |  Test Step number      |
    |      100                         |            100                   |
    Page  No. 2
    |     Test case Number  |  Test Step number      |
    |      200                         |            300                   |
    Test Result word document should generate with Table headings(marked as Red) in every pages of the document, but i am not getting as per above example.
    Please through light on this.
    Regards,
    Susa.

    Hi Santiago,
    Thank you very much for your valuable reply.
    i want to generate MS-word report for TestStand after successful testing using MS-word2000.
    Test report contains Actual values, Expected values and Pass/Fail status.
    In my program i have customized all  fields i can able to generate test report which contains Verification engineer name , test mode, test date, start time, end time Actual values, Expected values and Pass/Fail status.etc....
    To put all values of test case number, Test step number, Actual values, Expected values and Pass/Fail status in to table for each time, i will
    insert a row into table every time values arrives, once the table exceedes its page size it moves to the next page, next page should start with table row header  but it start with  values of above said parameters.
    so i'm not able to repeat table row header for each page.
    Please find the attached file for your reference.
    Attched file expected.doc  :   This file contains what i wanted to generate MS-word report. Here table row header "Test Case Number and Test Step Number " is repeated in second page.
    Attached file Actual output from source code.doc   :  This report generated from the source code. Here table row header "Test Case Number and Test Step Number" is not repeated in second page.
    Do you know any property to set "repeat as header row at the top of each page" using MS-word ActiveX in CVI/Labwindows.
    i think this information is sufficient for you,
    Still if you need some information please ask me.
    Thanks
    Susa.
    Attachments:
    Actual output from source code.doc ‏25 KB
    expected.doc ‏26 KB

  • Display Column only when Current Year Selected

    Hi Gurus,
    1)I have a Req where in I need to Display a Column only when 2012 is selected,It shouldn't appear when i select 2010 & 2011 in the Prompt.
    2)I have to display a column only when the Last month of the Quarter is selected.
    Any help???

    Hi,
    Make it two reports, one with the column and the other report without the column. Place both the reports in two different dashboard sections and use conditional show/hide section as explained here,
    http://total-bi.com/2011/01/obiee-hide-show-sections/
    Regards,
    Dpka

  • Component is  visible only  when frame is resize why?

    hai,
    In My application the components are visible only when the JFrame is resize...... why is it so?
    The problem is in login screen..
    that is the frame is displayed in middle the default layer for this borderlayout.... the panel here consists of gridbaglayout
    whats the problem? the size are all i have checked no problem
    Please help me out
    Shanthy

    Probably because you've added the components to the GUI after the GUI is visible.
    If this is the case then you need to revalidate the parent container.
    If you need further help then you need to create a [url http://homepage1.nifty.com/algafield/sscce.html]Short, Self Contained, Compilable and Executable, Example Program that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.
    And don't forget to use the [url http://forum.java.sun.com/help.jspa?sec=formatting]Code Formatting Tags so the code retains its original formatting.

  • Specify field mapping when changing table location

    I want to change the tables in a report to refer to database tables with a different schema, and specify the mapping of fields in code.
    I already have code that changes table locations successfully when the schema does not differ, using the RAS API. As far as I can tell, the RAS API doesn't have a way of handling schema differences. Is that true?
    OTOH, the higher-level CR API does appear to have a mechanism to do field mapping, using the FieldMapping event in the ReportDocument class. I've been trying to use this API for the job, but I don't seem to be able to change the location of a table in the report.
    Here's an example scenario:
    The report was created using an ODBC data source Source1 that contains a table Table1
    I have an ODBC data source Source2 that contains Table1 as well as a table Table2 that is identical to Table1 except that the field names are all slightly different
    I want to change the report so that it uses Table2 in Source2
    I've managed to get the report switched to Source2 with code like this:
    report.DataSourceConnections[0].SetConnection("Source2", "", id, pwd);
    Here's the code I'm using to try to change the report table to refer to Table2:
                Table table = report.Database.Tables[0]; // only one table in the report
                TableLogOnInfo logOnInfo = table.LogOnInfo;
                logOnInfo.TableName = "Table2";
                table.ApplyLogOnInfo(logOnInfo);
                report.VerifyDatabase();
    I've also tried the simpler
    table.Location = "Table2";
    Neither approach changes the table location. I know this because when I preview the report I see data. Since the field names are all different, changing the location should have removed all the fields from the report. (Also, the event handler I have hooked up to the FieldMapping event is not called. Yes, I did enable the event in the ReportDocument.)
    So:
    How do you change the location of a table using the high-level API?
    If you change the location using the RAS API, is the FieldMapping event fired? (Haven't tried this, but somehow I doubt it.)
    Is there a way to do field mapping with the RAS API?
    Thanks!
    - rick cameron

    Hi Rick
    This is not considered a bug. It is a limitation that has been discusses extensively in many of our internal meetings. The implementation job proved to be much too massive and with highly limited ROI. E.g.; the number of requests for the feature is just not there...
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • How to run insert/update/delete from CDC Change table to target using OWB

    I am planning to set up CDC and publish CDC change table as source data into to OWB. I have come across where I am confused how to apply changes from CDC change table to target database using OWB. For i.e. change tables is containing information like
    operation$, cscn$,commit_timestamp$,xidusn$,....,list of column name
    D,12323223,8/28/2008 1:44:32PM,24,.....,list of column value that have to be deleted from target
    UO,12323224,8/28/2008 1:45:23PM,24,.....,list of column value that have to be updated in target.
    Please advice or give me some hint. Thank you.

    Hi,
    you can wait for 11gR2 with CDC integration or build most of the code outside the owb. To use CDC you must do this things (http://www.oracle.com/technology/oramag/oracle/03-nov/o63tech_bi.html):
    1. Identify the source tables.
    2. Set up a publisher.
    3. Create change tables.
    4. Set up a subscriber.
    5. Subscribe to the source tables, and activate the subscription.
    6. Set up the CDC window.
    7. Prepare a subscriber view.
    8. Access data from the change tables.
    9. Drop the subscriber view, and purge the CDC window.
    10. Repeat steps 6 through 9 to see new data.
    You can do only a few of this inside owb, most of it must be done outside.
    Regards,
    Detlef

  • Table Design "alternating" only in readonly tables? (NW 7.10 SP7)

    Hello,
    I just found out, that style "alternating" is only applied to a table, when the table is set to read only. Should it be this way?? I see no reason for that behaviour.
    Bug or feature in Netweaver 7.10 SP7? Same behaviour is shown already in Developer Studio, Design of table changes only if table is read only.
    Frank

    Hi
    Please refer the below forum:
    Problem with table design in 2004s
    Re: Reg: Table's Design Property Alternating
    Thanks
    Susmita

  • Application set at Osoft webiste visible only when IE run as COM+ user?

    Hi,
    we have installed BPC 7.5 SPS08 version for NW to one of our machines and configured it.
    When we open IE and try to access Osoft website / Adminsitration - we are able to select Application set ONLY when we run the IE as the COM+ user which is set in Server manager (in our case <domain>\BPC_SYSADMIN).
    When we run the IE as any other user we can not see any application set to choose from in pop-out window.
    My question is - is this (with <domain>\BPC_SYSADMIN user) the normal and the only way to successfully load application set at Osoft website?
    Thanks!
    Erik.

    Hi Erik,
    Are you able to logon to BPC for Excel or BPC Admin client with any user (not the COM+ user) and see any available AppSets/Applications?
    If this is a fresh install and you haven't managed BPC security settings yet then this behavior would be expected.
    On a fresh install you set up an admin user by running program UJA3_WRITE_SYS_USERS. You can check this on t-code SE16 and display table UJA_SVR_DEFAULT values.
    Only this user will have access to APSHELL and you will have to use it to create new AppSets and grant new users access to them.
    Regards,
    Marcelo

  • NESTED Tables for Sub-types when creating table for Super-type

    If I create the following types, as an example:
    Person with subtypes: Employee and Customer
    Appointment
    CREATE OR REPLACE TYPE Person_OT AS OBJECT (
    person#                         NUMBER,
    personSurname                    VARCHAR2(50),
    personForenames               VARCHAR2(50),
    personDateOfBirth               DATE,
    personAddress                    Address_OT,
    ) NOT FINAL ;
    CREATE OR REPLACE TYPE Employee UNDER Person_OT (
    empSalary               NUMBER,
    empNoSales          NUMBER,
    makes               Appointment_List_OT
    ) FINAL ;
    CREATE OR REPLACE TYPE Appointment_OT AS OBJECT (
    some attributes
    CREATE OR REPLACE TYPE Appointment_List_OT AS TABLE OF REF Appointment_OT ;
    When creating the table to hold objects of Person type, how can the requisite nested table for representing 'makes' be declared? The below approach is not correct, however the table will not compile without naming the nested tables.
    CREATE TABLE Person_TBL OF Person_OT (
    Person#     PRIMARY KEY)
    NESTED TABLE makes STORE AS Appointment_List_NTBL;
    Advice very much appreciated!

    CREATE TABLE Person_TBL OF Person_OT(
    Person# PRIMARY KEY)
    NESTED TABLE TREAT(SYS_NC_ROWINFO$ AS EMPLOYEE).MAKES STORE AS Appointment_List_NTBL
    Table created.
    SQL> select * from user_nested_tables
      2  /
    TABLE_NAME                     TABLE_TYPE_OWNER
    TABLE_TYPE_NAME                PARENT_TABLE_NAME
    PARENT_TABLE_COLUMN
    STORAGE_SPEC                   RETURN_TYPE          ELEMENT_SUBSTITUTABLE
    APPOINTMENT_LIST_NTBL          SCOTT
    APPOINTMENT_LIST_OT            PERSON_TBL
    TREAT(SYS_NC_ROWINFO$ AS "SCOTT"."EMPLOYEE")."MAKES"
                           DEFAULT                VALUE                         N
    SQL>  SY.

  • Auto update of time when changing time zones - PLEASE help.

    I travel for a living and I can't figure out how to get this 8310 to auto update the time when I fly from one time zone to another. Can anyone help me with this? Thank you so much in advance!

    I'm sorry to inform you that the blackberry does not have a feature like this yet. You can read this FAQ and it will give you some tips though.
    Why doesn't my time update correctly when I change Time Zones? - BlackBerryFAQ.com
    You would need to set that manually and enter the meeting times in accordingly.
    Sorry!

  • Headphone sound only when changing level or balance

    Hi,
    I have a weird problem with my Logitech B530 USB headset.
    I have configured it as the main input and output device in system settings, but I only hear sounds when changing sound level or balance. So if I e.g. start some music in iTunes I hear nothing, if I then increase/decrease the volume I hear the song, but the sound quickly fades away and there is no sound again. The same thing happens if I change the device balance.
    Has anyone experienced anything similar and/or have any idea how to fix this?
    Thanks,
    Mads

    = Yes it came pre-installed,? it's an x-fi xtreme music, is there any other way to find the exact model? Im pretty sure my card is upside down so It would? be impossible to read the serial number which is on the bottom. It doesn't seem to be a hardware issue at all, it seems to be a software [email protected]

  • Update info record when changing units of measure in material master

    Hello,
    is there any possibility for an automatic change of info record when changing conversion factors in the material master ?
    We have 3 units of measure in our material master: the base unit and 2 alternative units. The first alternative unit is the order unit and the second alternative unit is the order price unit. So in our purchase info records we maintain an order unit, which differs from the base unit and we also maintain an order price unit, which differs from the base unit and the order unit.
    If we now change the conversion factors between the units in the material master, we would like to get an automatic change of the converions in the info record (to order unit and order price unit), which have the same previous conversions.
    For IS R it seems to be implemented (see OSS-Note 975954).
    Is there any solution for a "normal" industry system ?
    Thanks for answering
    Edited by: Britta Heinsen on Jul 23, 2009 1:52 PM

    I don't think such an auto update is available. Infact I came to know that such an update is available in IS-R after reading your query.
    Obviously you an always create a workflow based enhancement that can synchronize the Info-records and material master changes or sort of enhancement which regularly reads the material master change history for such changes and trigger a synchronization by executing change Info-record automatically.

  • Is there a setting where a text frame (border, color, etc) will be visible only when it has content?

    I use data merge a decent amount, often when I am quick prototyping decks of cards for games. (Talk about an awesome tool for quickly cranking out a hundred different cards). I was wondering if it possible to have a text frame style (say a 1pt solid black border, or a yellow background etc.) appear only when there is text inside that frame.
    For example the cards need to have different combinations of text on each one. The lower part of this particular card has 30 data field placeholders (15 text frames and 15 graphic frames) that are linked back to my .txt file with data merge. (In the first image below, all 30 data fields have data in them, the other images only have some data applied) The text frames hold the two letter code, the graphics frame is basically a .png of either a rectangle or oval which is on a layer behind the text frame.
    It would be awesome if a text frame border was only present when there was content in the text frame. That way I could eliminate all of the graphics frames in this particular case. Is this possible? I knid of don't want to ask this, but is it possible through scripting with some sort of conditional statement? (Iknow very little about scripting except that it exists to do certain tasks on a as needed basis)
    I'm using InDesign CC on Mac OSX 10.7.5
    Thanks!
    go-dog-go

    There's no one solution. Depends on the context.
    When we know what we have and where we want to go, everything becomes simple ...
    In your case, the solution I prefer is that with grep styles.
    Why? because it is truly magical.
    The beginning...
    All you finally have to do in the data file is inserting columns of calculation. We can talk later.
    This solution with grep style is very simple to define. In ID and Excel (for instance). Because I know how to do. I understand It could be not so simple for another person.

Maybe you are looking for

  • Can i swap out the SIM in an iPad 16G?

    way past the end of my 2 year contract with awful carrier 3, so i want to get a SIM only contract elsewhere and just flush the old one down the toilet.  can i do this?

  • Signing a PDF on the iPad, then adding a digital signature

    Hello, I'd like to create a form (in, say, Acrobat XI) and distribute it to salespeople travelling. I want them to fill out the fields, and have the customer sign on screen. This all works great -- question is, can they then digitally sign the docume

  • Effects in Motion..

    I have a question, I have two layers in motion, the top one has an image and the second has another reverse image of the same size. I tried to group the two layers and apply the "page curl" effect to it. But motion would not apply the effect to the e

  • I get unknown error when trying to set up iCloud on my PC

    WHen installing iCloud manager on my pc (Dell XPS 1330 laptop) everything seems to install ok untill I try to sync for the first time. IT looks like its working but then an "ICloud has experienced a problem" message appears. It seems like its an unkn

  • External HD connected to Airport Extreme only seen by one network computer

    I've connected a MyBook external HD ("HD") to an Airport Extreme base station and configured it using Airport Utility ("AU") from my new MacBook Pro ("Pro"). The Pro sees the HD but my other two networked computers do not. I've run AU on one of the o